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.

Those Who Removed Code Review Are Right

https://f2r.github.io/en/removed-code-review.html
1•speckx•1m ago•0 comments

AI Agent Governance – a free book on AI Agent evaluation and governance

https://www.proofagent.ai/book
1•fouadb66•1m ago•0 comments

Show HN: Building Table Canon, an AI Campaign Memory Engine for TTRPGs

https://tablecanon.app/
1•schillingderek•3m ago•0 comments

Webmux: Like Tmux, but for the Browser

https://github.com/jordanhubbard/webmux
1•luu•4m ago•0 comments

EMDR Bilateral Stimulation – Adjusted to You

https://medium.com/@chris.ahrweiler/emdr-bilateral-stimulation-adjusted-to-you-0ea7b1dcc4d1
1•docjojo•6m ago•0 comments

Ask HN: When AI models use harnesses who liable between model/harness/user?

1•spwa4•6m ago•0 comments

Agent Applications: A Reference Architecture for AI Agent Systems

https://agentapplication.io
2•amthewiz•7m ago•1 comments

Evals Are the Next Bottleneck

https://www.boolean.ai/blog/evals-are-the-next-bottleneck
3•ssatia•8m ago•0 comments

RNA droplets may have helped start life on Earth

https://www.buffalo.edu/alumni/at-buffalo.host.html/content/shared/university/news/news-center-re...
1•geox•8m ago•0 comments

Loose Navigation Grids

http://digestingduck.blogspot.com/2012/01/loose-navigation-grids.html
1•luu•8m ago•0 comments

LG Display Develops New OLED Panels with More Brightness and Longer Lifespans

https://www.forbes.com/sites/johnarcher/2026/08/19/lg-display-develops-new-oled-panels-with-more-...
2•ksec•9m ago•0 comments

Clicks Communicator: First Look [video]

https://www.youtube.com/watch?v=wMNdr8dV23A
1•hliyan•9m ago•0 comments

What breaks when you switch LLMs?

https://www.evalshift.dev/blog/what-breaks-when-you-switch-llms
1•babaliauskas•10m ago•0 comments

Show HN: The First 3D Map of North America's Underground Geology

https://drillerdb.com/underground
2•craig_vg•11m ago•0 comments

Bulgaria's Nuclear Plant Plans First Output Cut Due to Low Danube

https://www.bloomberg.com/news/articles/2026-08-20/bulgaria-s-nuclear-plant-plans-first-output-cu...
2•toomuchtodo•14m ago•2 comments

DuckDB v2.0: Your Database Deserves a Better Parser

https://duckdb.org/2026/08/20/duckdb-20-peg-parser
1•DanieltenW•15m ago•0 comments

Going Freestanding

https://antonz.org/going-freestanding/
1•matheusmoreira•17m ago•0 comments

Top Open Source MCP Gateways in 2026

https://www.getmaxim.ai/articles/top-5-open-source-mcp-gateways-in-2026/
1•aanthonymax•17m ago•0 comments

AI for science needs reasoning, not just data – Eric Schmidt and Suhas Mahesh

https://www.technologyreview.com/2026/08/10/1141384/ai-agents-for-science/
1•unprovable•17m ago•0 comments

Why can't you combine .tar.gz files with cat?

https://alexwlchan.net/2026/cat-confusion/
2•speckx•17m ago•1 comments

Same Tencent VPS plan in 8 regions: identical CPU different networks

https://webbynode.com/articles/tencent-same-vps-plan-8-regions-network-performance
1•gsgreen•18m ago•1 comments

Under Trump, Protected Wild Horses Are Going to Slaughter

https://www.nytimes.com/2026/08/20/us/trump-wild-horses-legal-loophole-slaughter.html
2•giwook•19m ago•0 comments

I'm done coding with AI [video]

https://www.youtube.com/watch?v=2ZU3j4GQ4K8
2•qwertox•20m ago•0 comments

Show HN: Pacer – Realtime Claude Code Usage Tracking / Pacing

https://github.com/EricAndrechek/Pacer
2•jwoodsworks•20m ago•1 comments

Everyone Says Assembly Is Untyped–Everyone Is Wrong

https://www.gingerbill.org/article/2026/08/20/designing-odins-inline-asm/
1•adamrezich•20m ago•0 comments

On Mount Etna, Lightning Has Claimed More Lives Than Eruptions Since 1980

https://www.discovermagazine.com/on-mount-etna-lightning-has-claimed-more-lives-than-eruptions-si...
2•bookofjoe•21m ago•0 comments

Show HN: RecoveryCodes – MFA inventory for auth outside IdPs

https://recoverycodes.eu/
2•CER10TY•23m ago•1 comments

We Ship Our Security Webhook Fail-Open

https://pandocore.io/blog/fail-open-webhook
2•eaferstl•24m ago•0 comments

Music Theory for Programmers

https://runjs.app/blog/music-theory-for-programmers
5•birdculture•26m ago•0 comments

Firefox Extensions Linked to Crypto Wallet and Credential Theft

https://socket.dev/blog/firefox-crypto-wallet-theft
2•speckx•26m ago•0 comments