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.

Successful first‑stage recovery of the Zhuque‑3 rocket

https://www.reddit.com/r/SpaceXLounge/comments/1vs6mqr/successful_firststage_recovery_of_the_zhuq...
1•pinewurst•2m ago•0 comments

Building high-performance flat 2D arrays in Rust (SIMD, L1 Cache)

https://developerlife.com/2026/07/14/build-high-performance-flat-2d-arrays-in-rust/
1•nazmulidris•3m ago•0 comments

Market Close data in an easy to read email

https://www.theclose.email/
2•mattmerrick•6m ago•1 comments

Show HN: MatrAIx – simulate users before reality (Survey/Chat/Web/App)

https://github.com/MatrAIx-ai/MatrAIx-Persona-8B
2•YuexingHao•7m ago•0 comments

Whistleblower Arturo Béjar leads testimony in landmark trial against Meta

https://www.npr.org/2026/08/19/nx-s1-5936648/meta-trial-arturo-bejar-whistleblower-testimony
1•newsomix9xl•8m ago•0 comments

Zuckerberg encouraged growth over child safety, ex-Meta executive testifies

https://www.reuters.com/legal/litigation/former-meta-engineer-resumes-testimony-landmark-trial-ov...
2•thm•10m ago•0 comments

Micron and the Myth of American Memory

https://www.culpium.com/p/micron-and-the-myth-of-american-memory
1•gmays•15m ago•0 comments

Do We Still Need Database Management Tools When AI Can Write SQL?

http://johnli.work/posts/do-we-still-need-database-management-tools-when-ai-can-write-sql/
1•cloudcanalx•18m ago•0 comments

Editing Text with a MIDI Controller

https://www.sharpoblunto.com/News/2026/08/19/tuning-text
1•mrsharpoblunto•18m ago•1 comments

Evaluating DeepSeek V4 Pro 0813 on Hack the Box Challenges

https://theaq.blog/2026/08/18/evaluating-deepseek-deepseek-v4-pro-0813-on-hack-the-box-challenges...
1•indigodaddy•21m ago•0 comments

The box that built globalisation

https://www.ft.com/content/b88c3466-4525-4e16-b3fe-e10e713a2025
1•thm•23m ago•0 comments

California lawmakers call for crackdown on wildfire betting

https://ktla.com/news/california/california-lawmakers-crackdown-on-wildfire-betting
2•madihaa•24m ago•0 comments

Show HN: AI agents can now safely write to your CRMs

https://www.archron.app/
1•rjimena•25m ago•0 comments

Show HN: Tempo Checker – Real-time disposable email detection API

https://tempo-checker.rami-dev.com/
1•rami-dev•28m ago•0 comments

Ask HN: How do I get Fable to acknowledge me?

2•bridgettegraham•31m ago•3 comments

How Claude's Watermark Works

https://instavm.io/blog/how-claudes-watermark-works
3•mkagenius•31m ago•0 comments

Show HN: HN Notify

https://hnnotify.org
2•jermaustin1•42m ago•0 comments

Copycat

https://en.wikipedia.org/wiki/Copycat_(software)
2•m-hodges•43m ago•0 comments

Microdramas boom in a shrinking Hollywood as studios chase a TikTok audience

https://www.reuters.com/business/media-telecom/microdramas-boom-shrinking-hollywood-studios-chase...
2•petethomas•50m ago•3 comments

Serum 2 Synthesizer plugin gets Linux support

https://synthanatomy.com/2026/08/xfer-records-serum-2-super-popular-wavetable-synth-gets-massive-...
2•thm•52m ago•0 comments

The Life and Times of Maxis, Part 3: The Sims

https://www.filfre.net/2026/08/the-life-and-times-of-maxis-part-3-the-sims/
1•doppp•54m ago•0 comments

Comparing Qwen3.8 Max and Fable 5 on UI

https://blog.kilo.ai/p/qwen38-max-just-passed-claude-fable
1•iamcoder18•55m ago•1 comments

T-Mobile 'chopped a cable' to expel Chinese hackers from its network

https://techcrunch.com/2026/08/19/t-mobile-chopped-a-cable-to-expel-chinese-hackers-from-its-netw...
2•TMWNN•57m ago•0 comments

Bongard Problems

https://matthodges.com/posts/2026-08-19-bongard-problems/
2•m-hodges•1h ago•0 comments

The Sun Never Sets on the Ant Empire (2019)

https://sqonline.ucsd.edu/2019/05/the-sun-never-sets-on-the-ant-empire/
1•thunderbong•1h ago•0 comments

I wanted to talk to a turbine, so I spent 18 years building NthDimension

https://syscon.gr/blog/20260820.html
2•ariadnep•1h ago•0 comments

The Rats Terrorizing Everyone in Gaza

https://www.thenation.com/article/world/rats-gaza-vermin-crisis/
3•petethomas•1h ago•0 comments

Ask HN: What are folks using as the storage engine for their context graphs?

1•mercurialsolo•1h ago•1 comments

Why Outdoor EV Charger Displays Are More Complicated Than They Look

https://duobond-display.com/news/display-interfaces-system-integration/521.html
2•Todorov•1h ago•0 comments

Bill Ackman: Why We're Donating $400M to Brain Research

https://twitter.com/BillAckman/status/2090190151083532583
2•iamronaldo•1h ago•0 comments