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 Next China Shock Is Here

https://www.nytimes.com/2026/08/21/opinion/ezra-klein-podcast-brad-setser.html
1•rafaelc•57s ago•0 comments

Kindle raises US prices by $40-$50

https://www.reddit.com/r/kindle/comments/1vujton/price_increase_on_kindles/
1•seam_carver•1m ago•0 comments

The Creation of Abulafia

https://blog.veitheller.de/abulafia.html
1•saulpw•3m ago•0 comments

The OpenAI–Hugging Face Incident in Plain English

https://philippdubach.com/posts/openai-hugging-face-incident-plain-english/
1•7777777phil•3m ago•0 comments

UseWok

1•UseWok•6m ago•0 comments

Think you can trust Google reviews in Germany? Think again

https://www.fastcompany.com/91420303/google-review-germany-takedown-europe
1•nixass•6m ago•0 comments

Show HN: Groovebox – self-hosted music library integrated with Discogs and Tidal

https://github.com/danielfalbo/groovebox/
1•danielfalbo•7m ago•0 comments

The Fastest Star in the Milky Way Will Test Relativity

https://www.universetoday.com/articles/the-fastest-star-in-the-milky-way-will-test-relativity
1•consumer451•8m ago•0 comments

Making Audio Stories Interactive with AI: The Story of Schmaudio

http://www.dennisweyland.net/blog/?p=175
1•skchang•9m ago•0 comments

Ask HN: How do you host your vibe coded tools/sites?

1•sakuraiben•9m ago•1 comments

Zero-Knowledge Proofs Aren't Age Verification Silver Bullets

https://www.eff.org/deeplinks/2026/08/zkps-arent-age-verification-silver-bullets
2•birdculture•9m ago•0 comments

Reachpad – make applications you can share instantly

https://reachpad.dev
1•sakuraiben•11m ago•0 comments

Amsterdam, 13 March 1996//Knuth meets NTG members [pdf]

https://tug.org/TUGboat/tb17-4/tb53knun.pdf
1•jruohonen•16m ago•0 comments

Higher Regional Court curbs Amazon: reporting button and algorithms violate DSA

https://www.heise.de/en/news/Higher-Regional-Court-curbs-Amazon-reporting-button-and-algorithms-v...
3•layer8•18m ago•0 comments

Agentic AI overwhelmed CI, and test selection cut queueing from hours to minutes

https://humansystems.dudzik.co/p/when-agents-make-ci-the-bottleneck
1•dudzik•20m ago•0 comments

Why Your Next Long-Haul Layover May Be in Seoul, Not Dubai

https://www.nytimes.com/2026/08/20/world/asia/iran-war-asia-airports-dubai.html
1•bookofjoe•21m ago•1 comments

We replaced our Grafana stack with a single Claude Code skill

https://frigade.com/blog/we-replaced-grafana-with-a-claude-code-skill
1•pancomplex•21m ago•0 comments

AgentCheck – regression testing for AI agents, with diff-aware CI reports

https://github.com/rez-99/agentcheck
1•zz99•24m ago•0 comments

Cynefin and the Greek Square

https://www.asym.dk/index.php/2018/01/
2•jruohonen•25m ago•0 comments

Show HN: Zroar – Serialized Roaring Bitmaps in Zig

https://github.com/manishrjain/zroar
1•mrjn•27m ago•0 comments

If You Build It, Will They Come? On the Sperm Racing World Cup

https://www.theparisreview.org/blog/2026/08/21/if-you-build-it-will-they-come-on-the-sperm-racing...
2•cocacola1•27m ago•0 comments

Most of Your Architecture Was Just Expensive Code

https://aicoding.leaflet.pub/3mtmk6ot6oc2i
1•chadfowler•27m ago•0 comments

Rise of the Software Factory

https://www.terezatizkova.com/blog/rise-of-the-software-factory
1•starlightttt•28m ago•0 comments

Fortunate Sons: Elite Political Selection in American History

https://www.nber.org/papers/w35569
2•neehao•28m ago•0 comments

Automated Readability Index

https://en.wikipedia.org/wiki/Automated_readability_index
1•Bluestein•30m ago•0 comments

Step 1: Build Everything

https://www.insideainative.com/p/step-1-build-everything
2•mmayernick•32m ago•0 comments

Trump Threatens Suit Against Think Tank over Report He Doesn't Like

https://www.nytimes.com/2026/08/21/us/politics/trump-lawsuit-liberal-think-tank.html
3•duxup•34m ago•1 comments

Motorola's GrapheneOS phones will launch in 2027 priced higher than Pixels

https://arstechnica.com/gadgets/2026/08/motorolas-grapheneos-phones-will-launch-in-2027-priced-hi...
4•speckx•34m ago•2 comments

How to Share a Screenshot as a Link on Mac

https://medium.com/@chris.ahrweiler/how-to-share-a-screenshot-as-a-link-on-mac-9b9cd5da80bb
2•docjojo•34m ago•0 comments

Walmart finally says yes to Apple Pay and Google Pay

https://www.neowin.net/news/walmart-finally-says-yes-to-apple-pay-and-google-pay/
3•bundie•36m ago•0 comments