frontpage.
newsnewestaskshowjobs

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.

Controlling what information enters my mind

https://puffer.bearblog.dev/info-control/
1•Gecko4072•31s ago•0 comments

How I Find Problems to Solve as a Staff Engineer

https://lalitm.com/post/find-problems-staff-engineer/
1•vanpra•3m ago•0 comments

Claude limits used quickly then

1•gpt4o•3m ago•0 comments

Show HN: Cartopolis, 3D virtual world (Rust/Bevy/OSM)

1•jvanveen•4m ago•0 comments

Drydock – turn messy specifications into working software

https://webcloudstudio.com/
1•happyed•4m ago•1 comments

Israeli-Alloc

https://github.com/0xe7f79c/israeli-alloc
3•itsJustTrivial•5m ago•0 comments

British Kids Are Skipping Top Colleges for White-Collar Apprenticeships

https://www.wsj.com/lifestyle/careers/british-kids-are-skipping-top-colleges-for-white-collar-app...
2•bookofjoe•6m ago•1 comments

My experience as a first time speaker

https://blog.guillheu.dev/articles/first-time-speaker/
1•crowdhailer•9m ago•0 comments

Show HN: Doop – open-source live canvas for AI agents to design

https://github.com/kgoedecke/doop
1•kgoedecke•12m ago•0 comments

Study: Men and women who marry early are poorer [pdf]

https://link.springer.com/content/pdf/10.1007/s12546-026-09430-4.pdf
1•rustoo•12m ago•0 comments

Hot Chips 2026: Samsung and HBM Base Die Opportunities

https://chipsandcheese.com/p/hot-chips-2026-samsung-and-hbm-base
1•pella•17m ago•0 comments

Mystery AI Model Ox Alpha Draws Developers with Free Access

https://www.bloomberg.com/news/articles/2026-08-23/mystery-ai-model-ox-alpha-draws-developers-wit...
1•tosh•20m ago•1 comments

Fable and the End of the Free Lunch

https://www.dbreunig.com/2026/08/23/fable-the-end-of-moore-s-law.html
2•dbreunig•20m ago•0 comments

Show HN: NoteCount – Offline-first cash counter and digital ledger for Android

https://play.google.com/store/apps/details?id=com.dskysolution.notecount&hl=en_US
1•diptenusarkar•25m ago•0 comments

Show HN: ZMQ Arena – a benchmark harness for ZeroMQ/ZMTP implementations

https://vorjdux.github.io/zmq-arena/
1•vorjdux•25m ago•0 comments

Over 170k Nonprofits Lost All Their Data. Is Microsoft to Blame?

https://slate.com/technology/2026/08/microsoft-software-nonprofit-data-delete.html
18•tchalla•30m ago•3 comments

The Guile of the Data Center

https://deskofjim.com/blog/the-guile-of-the-data-center/
1•jamesbaker1•31m ago•0 comments

Harness Training

https://www.henrypan.com/blog/2026-07-18-harness-training/
2•contextweaver•35m ago•0 comments

Radio and Movies in the 1930s

https://arnoldkling.substack.com/p/radio-and-movies-in-the-1930s
1•paulpauper•36m ago•0 comments

Mill, Hayek, and Liberalism

https://casssunstein.substack.com/p/mill-hayek-and-liberalism
1•paulpauper•37m ago•0 comments

Economic Growth Makes Graceland Less Impressive

https://thedailyeconomy.org/article/economic-growth-makes-graceland-less-impressive/
1•paulpauper•40m ago•1 comments

Vast.ai Benchmarking – Detect/Log Garbage Servers

https://github.com/drivelineresearch/vast-benchmarking
1•icelancer•42m ago•0 comments

We're trying to get 1M people to pay $1 and it's working

https://wemillion.world
1•felixthiollier•43m ago•4 comments

The WWI Plan to Turn America's Trees into Telephones

https://www.atlasobscura.com/articles/the-world-war-i-plan-to-turn-americas-trees-into-telephones
2•ohjeez•44m ago•0 comments

Yahoo, the internet's 'OG', wants to win over Gen Z

https://www.ft.com/content/50c666af-1979-4411-9d62-34e18cc0ecc9
2•thm•45m ago•0 comments

Say It Four Times (In Your System Prompt)

https://www.khola.blog/p/say-it-four-times
2•nkhola•45m ago•0 comments

A Deep Dive into Hallucinated Citations: DeepMind Paper Edition

https://veruscite.com/blog/deepmind-hallucinated-citations
1•apwheele•46m ago•0 comments

The silence that reads as safety

https://zaferbalkan.com/silence/
1•feldrim•48m ago•0 comments

Cryptographic provenance for AI agents from action capture to audit reports

https://github.com/Providex-AI/rootsign
1•oabolade•50m ago•1 comments

Dinkus Markdown Studio

https://dinkus.textualize.io/
1•willm•53m ago•0 comments