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.

I built Aulo to answer just one question: What should I learn next?

https://auloapp.com/
1•tidderjail2•1m ago•0 comments

Data-Centric AI Manifesto: How Data Quality Drives Modern AI

https://www.mdpi.com/2079-9292/15/9/1913
1•donato_malerba•2m ago•0 comments

Some tools I made for public_html

https://wonger.dev/posts/html-tools
1•wonger_•3m ago•0 comments

Toward individualistic reproduction: Solving the fertility crisis could require

https://www.scilit.com/publications/60117189b430a3a76783c5a605c1c7d8
1•throwaway2037•4m ago•1 comments

How a Pro Gambler&Secret Database Turned a 150-1 Long Shot into a Soccer Miracle

https://www.wsj.com/sports/soccer/heart-of-midlothian-tony-bloom-scotland-ac7aa933
1•bookofjoe•4m ago•1 comments

Voice parsing using AI for calender app

https://apps.apple.com/us/app/voxplan/id6761635850
1•suvirb•6m ago•1 comments

Unix keygen similar to 90s keygen

https://github.com/sbz/keygen
1•hggh•7m ago•0 comments

Lawful access bill could lead to exit from Canada, major VPN provider says

https://globalnews.ca/news/11851363/lawful-access-nordvpn-canada/
1•rolph•7m ago•0 comments

72934

1•Neoprimus•8m ago•0 comments

Built an OSINT tool for email and phone numbers – what should I improve next?

https://tracefind.info/
1•codinglive•9m ago•0 comments

Smalltalk: The Software Industry's Greatest Failure

http://richardkulisz.blogspot.com/2011/02/smalltalk-software-industrys-greatest.html
1•theanonymousone•9m ago•0 comments

Why Block Handed Goose to the Linux Foundation

https://thenewstack.io/block-goose-agentic-foundation/
1•Brajeshwar•9m ago•0 comments

Congrats on the Gig, Kevin Warsh. You're Cooked

https://www.thebulwark.com/p/congrats-on-the-gig-kevin-warsh-youre-cooked
1•mooreds•10m ago•0 comments

What Parameter Golf taught us

https://openai.com/index/what-parameter-golf-taught-us/
1•gmays•11m ago•0 comments

Init Hello: A New Apple II Conference (Scope Creep Done Right) – Byte Cellar

https://bytecellar.com/2026/05/10/init-hello-a-new-apple-ii-conference-scope-creep-done-right/
1•rbanffy•11m ago•0 comments

We Ignore Advice

https://yusufaytas.com/why-we-ignore-advice
4•npcwithwifi•15m ago•0 comments

PyTrace - Time Travel Debugger for Python

https://pytrace.com/
1•ravenical•18m ago•1 comments

Ofcom and the Fantasy of Global Speech Control

https://reclaimthenet.org/ofcom-and-the-fantasy-of-global-speech-control
1•delichon•18m ago•1 comments

Research develops a redistricting model that optimizes political fairness (2022)

https://www.eurekalert.org/news-releases/973433
1•r721•20m ago•0 comments

World models, AGI and the hard problems of life–mind continuity

https://royalsocietypublishing.org/rsta/article/384/2320/20240533/481677/World-models-artificial-...
1•Anon84•20m ago•0 comments

Under Trump, Chinese Firms Have Abandoned Billions in US Clean Energy Projects

https://gizmodo.com/under-trump-chinese-firms-have-abandoned-billions-in-us-clean-energy-projects...
1•rbanffy•21m ago•0 comments

Eric Church knocks it out of the park with his UNC Commencement Speech

https://www.c-span.org/program/public-affairs-event/eric-church-commencement-address-at-universit...
1•martinbfine•23m ago•0 comments

With Its IPO Done, Cerebras Can Get Back to Pushing the AI Envelope

https://www.nextplatform.com/compute/2026/05/15/with-its-ipo-done-cerebras-can-get-back-to-pushin...
1•rbanffy•25m ago•0 comments

North America's largest commuter rail system shuts down as workers strike

https://apnews.com/article/lirr-new-york-commuter-rail-strike-union-a9b20b5de53a944c9da4263d289a845f
2•SilverElfin•28m ago•1 comments

You're Coming Back with Me

https://lucent.substack.com/p/youre-coming-back-with-me
2•Lucent•29m ago•0 comments

Meta to cut 8000 employees despite $26B Q1 net income

https://moneywise.com/news/top-stories/meta-layoffs-8000-workers-zuckerberg-ai-spending
8•stackghost•30m ago•1 comments

A primer on how large language model works

https://mayijie.substack.com/p/how-large-language-models-work
2•rswcf•30m ago•0 comments

Tab Mix Plus Now Requires Monthly Payment for New Versions (Firefox-TabMixPlus)

https://onemen.github.io/tabmixplus-docs/update/
2•Baljhin•30m ago•1 comments

AI Sends a Grades into Overdrive

https://www.axios.com/2026/05/16/ai-grade-inflation-college-classes
3•Brajeshwar•32m ago•0 comments

Is AI putting graduates out of work already?

https://www.economist.com/finance-and-economics/2026/05/13/is-ai-putting-graduates-out-of-work-al...
3•Anon84•36m ago•0 comments