frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

LLM functions in TypeScript: a composable pattern for prompt/LLM/parse/execute

https://medium.com/llm-exe
5•llm-exe•1y ago

Comments

llm-exe•1y ago
A few weeks ago I posted about llm-exe, a TypeScript library for structuring LLM calls with reusable components.

I just put together a Medium series that digs deeper into how it works. It breaks down the idea of an LLM function - an executor that wraps a prompt, a model, and a parser. Each part does one thing well, and together they give you a clean, well-typed, testable, and composable way to work with LLMs.

The posts walk through each layer: prompt, parser, LLM, executor. If you're building LLM features in production with TypeScript, I think you’ll find the structure helpful. I am interested in any feedback.

Medium series: https://medium.com/llm-exe

mrbashtech•1y ago
Great work! folks at llm-exe; As a TypeScript developer working with LLMs, llm-exe has been a game-changer for me. It abstracts away the boilerplate of prompt formatting, model integration, and response parsing, allowing me to focus on building features.

The modular design—separating prompts, parsers, and executors—makes my codebase cleaner and more maintainable. Plus, the ability to switch between different LLM providers with minimal code changes is incredibly convenient.

Google's Own AI Researchers Jockey for Access to Its Computing

https://www.bloomberg.com/news/articles/2026-05-18/google-s-own-ai-researchers-jockey-for-access-...
1•osnium123•4m ago•0 comments

Have I Been Pwned: Colombian fintech company leaks 34.5M accounts in March 2026

https://haveibeenpwned.com/Breach/ADDI
1•guessmyname•6m ago•0 comments

Do Androids Dream of Your Electric Life?

https://medium.com/@vektormemory/do-androids-dream-of-your-electric-life-4c2c439ab0aa
1•vektormemory•8m ago•0 comments

Language Registries Are Unstable by Default

https://nesbitt.io/2026/05/15/language-registries-are-unstable-by-default.html
1•pabs3•11m ago•0 comments

Retrospective on DDIA

https://www.khola.blog/p/designing-data-intensive-applications
1•bcapchickadee•11m ago•0 comments

The American Rebellion Against AI Is Gaining Steam

https://www.wsj.com/tech/ai/the-american-rebellion-against-ai-is-gaining-steam-94b72529
1•JaakkoP•13m ago•0 comments

New features in GCC 16: Improved error messages and SARIF output

https://developers.redhat.com/articles/2026/04/28/gcc-16-improved-error-messages-sarif-output
1•siteshwar•13m ago•0 comments

A shallow dive into formal verification

https://vitalik.eth.limo/general/2026/05/18/fv.html
1•wslh•15m ago•0 comments

Reverse Lookup and AI-Powered Osint

https://sherlockeye.io/
1•mrzenodd•23m ago•0 comments

The Coming Food Crisis in South Asia

https://thediplomat.com/2026/05/the-coming-food-crisis-in-south-asia/
2•panny•28m ago•0 comments

The last six months in LLMs in five minutes

https://simonwillison.net/2026/May/19/5-minute-llms/
5•yakkomajuri•34m ago•0 comments

Surface owner loses their limited 50th Anniversary edition after a repair swap

https://www.windowscentral.com/hardware/surface/this-surface-owner-lost-their-limited-50th-annive...
2•Oblivion8442•34m ago•0 comments

Nitsum: Serving Tiered LLM Requests with Adaptive Tensor Parallelism

https://mlsys.wuklab.io/posts/nitsum/
1•matt_d•40m ago•0 comments

SuperInfer: SLO-Aware Rotary Scheduling and Memory Management for LLM Inference

https://supercomputing-system-ai-lab.github.io/projects/superinfer/
1•matt_d•41m ago•0 comments

What can a local model do for you in early May 2026?

https://manichord.com/blog/posts/what-can-local-model-do-in-may-2026
2•mkss•44m ago•1 comments

Guess where someone works based on their profile picture

https://tools.crustdata.com/guessthecompany
1•mhi3•48m ago•0 comments

Sony Pulls Back from PlayStation Games on PC

https://www.bloomberg.com/news/articles/2026-03-04/sony-pulls-back-from-playstation-games-on-pc
1•embedding-shape•48m ago•1 comments

Museum of Innocence (Museum)

https://en.wikipedia.org/wiki/The_Museum_of_Innocence_(museum)
2•brudgers•50m ago•0 comments

Video GTP

https://www.neotube.ai/
1•walkervin•53m ago•0 comments

BudgetBites – AI meal planning app that helps you save money on groceries

https://budgetbites.website/login
1•ClarenceJackson•55m ago•0 comments

Make products AI agents want

https://anitakirkovska.com/blog/make-products-ai-agents-want/
1•anitakirkovska•57m ago•0 comments

Google, Blackstone plan AI cloud venture with $5B backing, WSJ reports

https://www.reuters.com/business/google-blackstone-create-new-ai-cloud-company-wsj-reports-2026-0...
1•ndesaulniers•58m ago•0 comments

We should stop using Agile and Waterfall as is

https://quantumentangled.dev/viewpost/12/we-should-stop-using-agile-and-waterfall-asis
1•rulyone•59m ago•0 comments

Feedback on my S&P 500 Search Tool (fast search by name, ticker, sector)

https://sp500-search.streamlit.app/
1•gilthor•1h ago•0 comments

Will the Indus Valley script ever be deciphered?

https://www.livescience.com/archaeology/will-the-indus-valley-script-ever-be-deciphered
1•redwood•1h ago•1 comments

May I recommend eww for Emacs's innovative UI?

https://www.matem.unam.mx/~omar/apropos-emacs.html#may-i-recommend-eww-for-emacs-innovative-ui
2•birdculture•1h ago•0 comments

Google and Blackstone to Create New AI Cloud Company

https://www.wsj.com/tech/ai/google-and-blackstone-to-create-new-ai-cloud-company-0e35b91f
5•frays•1h ago•0 comments

Self-Hosted Web Application for Displaying and Interacting with KiCad Projects

https://github.com/krishna-swaroop/KiCAD-Prism
1•djfergus•1h ago•0 comments

An Apple (II) for Teacher

https://technicshistory.com/2026/05/19/an-apple-ii-for-teacher/
2•cfmcdonald•1h ago•0 comments

Five months after switching Fluxzy from Electron to Tauri

https://www.fluxzy.io/resources/blogs/electron-to-tauri-migration-fluxzy-desktop
2•nreece•1h ago•0 comments