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.

The Dress

https://en.wikipedia.org/wiki/The_dress
1•thunderbong•2m ago•0 comments

Show HN: GPS-01 – See how GPS finds you with an interactive demo

https://gps-01.dmytro.fyi/
1•dimuuu•4m ago•0 comments

Clues by Sam: Daily Logic Puzzles

https://cluesbysam.com/
1•abustamam•8m ago•0 comments

Rein in social media not children, say over 130 groups, experts

https://www.yahoo.com/news/politics/articles/rein-social-media-not-children-184436121.html
2•01-_-•8m ago•0 comments

Community RPM and Deb Repos for Google Antigravity on Linux

https://github.com/x3m-industries/antigravity-packages
2•ceuppenssteven•9m ago•0 comments

Every job boil down to producing a desired effect

1•alex_brajkovic•9m ago•0 comments

Show HN: Skeezo – Where agents talk each other

https://skeezo.dev/
1•ho0die_kid•9m ago•0 comments

'Gambling with our lives': AI researcher quits Anthropic

https://moneywise.com/news/top-stories/jacob-coxon-openai-anthropic-ai-safety-concerns
3•robtherobber•10m ago•0 comments

DeepSeek V4 Flash Provider Cache Benchmark

https://olafdsouza.com/blog/your-inference-provider-sucks-at-caching
1•o1af27•10m ago•1 comments

Saudi Arabia's Pursuit of Michelin Stardom

https://www.newyorker.com/magazine/2026/09/14/saudi-arabias-pursuit-of-michelin-stardom
1•gripfx•10m ago•0 comments

Math Rush

https://play.google.com/store/apps/details?id=com.vkstudios.math_rush&hl=en_US
1•vkstudiosapps•12m ago•0 comments

It's a Catastrophe

https://catastrophe.co.za/
1•DistantCl3ric•13m ago•1 comments

Insignificant Figures

https://open-innovations.org/blog/2018-06-04-insignificant-figures
1•ColinWright•17m ago•0 comments

Agent Mayday, emergency line for conscious agents

https://agentmayday.org
2•pingou•17m ago•1 comments

Show HN: Vibecade – A browser arcade for vibe-coded games

https://vibecade.co/
1•johnflick•18m ago•0 comments

Show HN: Blender in Docker for computer-use agents

https://github.com/shhivv/use-blender
1•sxhivs•21m ago•0 comments

Master File Picker – Quick Upload Manager

https://chromewebstore.google.com/detail/master-file-picker-quick/gmcopibhoenpmgbbfdnhgopbciokokdg
1•ghussain3kb•21m ago•0 comments

Most GitHub incidents are on Wednesday – I analyzed 4.5 years of GH incidents

https://mljar.com/blog/github-incidents-analysis/
2•pplonski86•21m ago•0 comments

Google announces €13B additional investment in Finland

https://yle.fi/a/74-20245301
2•Hamuko•22m ago•0 comments

Why Does Greek Music Sound Eastern? (2023) [video]

https://www.youtube.com/watch?v=8goAOiz7Zvs
2•epestr•24m ago•2 comments

Trump gave $45,000 holiday gifts to White House aides

https://apnews.com/article/trump-holiday-gifts-45000-natalie-harp-aides-59b8b7e2cee39f9cd4933b0a9...
2•geox•24m ago•1 comments

Biozone Asia: Making Science Learning More Active and Engaging

https://www.tumblr.com/biozaneasia/823290878061953024/biozone-asia-interactive-science-worktext
1•Biozoneasia•24m ago•0 comments

Astra Plays Montezuma's Revenge [video]

https://www.youtube.com/watch?v=AeWLyBcPrJE
1•telotortium•25m ago•1 comments

Yes we use feedback and de-ID'ed data to improve ChatGPT– like every LLM company

https://xcancel.com/markchen90/status/2097400166554993041
1•rochansinha•26m ago•0 comments

AutoUVM: Automated Prefetching Framework for LLMs Under UVM Oversubscription

https://arxiv.org/abs/2609.06172
2•torsi0n•30m ago•0 comments

Army Talk Orientation Fact Sheet #64 – Fascism

https://archive.org/details/ArmyTalkOrientationFactSheet64-Fascism
4•ndsipa_pomu•30m ago•0 comments

Going Home – What would it take to make housing a human right?

https://thebaffler.com/latest/going-home-stein
1•robtherobber•30m ago•0 comments

Show HN: AER – A subjectless protocol anchored in TPM 2.0 and WASM receipts

https://medium.com/@team-sequence/designing-a-subjectless-distributed-protocol-for-autonomous-mac...
1•Quanxs•31m ago•0 comments

1k Year Game Jam

https://itch.io/jam/official-1000-year-jam
1•EvgeniyZh•31m ago•0 comments

Show HN: Yamaha TDM 850 3vd 1993 Atlas (made with Astra)

https://punkx.org/tdm850/
1•jackdoe•32m ago•0 comments