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.

AfterVibe: What Remains When the Conversation Ends

https://arxiv.org/abs/2607.09900
1•mooreds•2m ago•0 comments

My Dumbphone Made My Life Better. It Made Everyone Else's Worse

https://www.nytimes.com/2026/09/16/opinion/dumbphone-smartphone-friendship.html
1•Wowfunhappy•3m ago•0 comments

PaperPull – Download years of statements and receipts locally

https://paperpull.net/
1•rheeloaded•9m ago•0 comments

Solving Factorio Quality

https://exyr.org/2026/solving-factorio-quality/
1•laurenth•14m ago•0 comments

Every 4-piece checkers endgame, solved (6.4M positions, 1.8MB) url

https://github.com/Pixel4youcorp/checkers-endgame-tablebase
1•Heidi_70•14m ago•0 comments

U.S. Strategic Petroleum Reserve Falls to Lowest Level Since 1982

https://oilprice.com/Latest-Energy-News/World-News/US-Strategic-Petroleum-Reserve-Falls-to-Lowest...
2•thelastgallon•15m ago•0 comments

AI Agents Are About to Flood the Workforce. No One's Ready for It

https://www.wired.com/story/ai-agents-are-about-to-flood-the-workforce-no-ones-ready-for-it/
1•ent101•16m ago•1 comments

Bleci – Automate repetitive Bluetooth LE debugging

https://apps.apple.com/us/app/bluetooth-ci-tracker/id6451366993
1•ianhwu•17m ago•0 comments

Einsum Trees: An Abstraction for Optimizing the Execution of Tensor Expressions [video]

https://www.youtube.com/watch?v=zPd1wWLJFq8
1•matt_d•18m ago•0 comments

Senate Resoundingly Approves College Sports Measure

https://www.nytimes.com/2026/09/28/us/politics/senate-college-sports.html
1•ChrisArchitect•19m ago•1 comments

Intellign Tools – browser-first utilities you can also embed or install

https://tools.intellign.us/
2•letscreateish•25m ago•0 comments

About the security content of macOS Sequoia 15.8.1

https://support.apple.com/en-us/149229
1•soheilpro•29m ago•0 comments

The 'Colossal Headache' of Building a Made-in-America Monopoly Game

https://www.wsj.com/business/american-made-monopoly-game-tariffs-china-e9a06e68
3•fortran77•33m ago•2 comments

Choices – Enterprise System-1 Router

https://mahabodi.github.io/
1•prabhatkr•36m ago•0 comments

Meta's New Muse AI Agent Read My Private Messages. I Never Asked It To

https://www.inc.com/jason-aten/metas-new-muse-ai-agent-read-my-private-messages-i-never-asked-it-...
1•eloisius•38m ago•0 comments

Base31.org -best Site Award

https://www.base31.org/
1•notam•39m ago•0 comments

Classify 6700 pages for $1 with a Jev-compatible VLM API

https://twitter.com/spillai/status/2104652597248561477
1•fzysingularity•40m ago•0 comments

Show HN: Talktome - let your AI Agent call you

https://github.com/rohanprichard/talktome
2•rohanprichard•40m ago•1 comments

Muse gives user's home address without permission, sending buyer to his house

https://www.theguardian.com/technology/2026/sep/28/metas-ai-agent-muse-home-address
2•spopejoy•41m ago•1 comments

The Second Life of Autoconf for MS-DOS

https://code.dblock.org/2026/09/27/the-second-life-of-autoconf-for-ms-dos.html
1•dblock•42m ago•0 comments

Firebase reporting crashes due to Firebase

https://github.com/firebase/firebase-ios-sdk/issues/16728
1•Eclyps•42m ago•1 comments

Anthropic warns of 'existential risks to humanity' in IPO prospectus

https://www.ft.com/content/c7685a7e-7745-4cbc-8053-4958d0ea449b
2•burntcaramel•43m ago•1 comments

Claude Code's Next Era

https://www.latent.space/p/thariq
1•swyx•47m ago•0 comments

The machine layer under Nvidia OpenShell: why containment is not safety

https://endstop.systems/blog/nvidia-openshell-machine-layer
2•osidorkin•50m ago•0 comments

Training NanoGPT in 39.9 Seconds

https://github.com/KellerJordan/modded-nanogpt/pull/360
1•simonpure•54m ago•0 comments

Show HN: Interactive Diesel Price Forecaster

https://sightspinner.ai/blog/diesel-prices-are-high-here-s-why-they-might-go-higher-2026-09-29.html
3•sightspinner•55m ago•0 comments

What I Learned About Asset Pricing

https://pedrosantaclara.substack.com/p/what-i-learned-about-asset-pricing
1•yarapavan•58m ago•0 comments

AI agent memory can be poisoned – and later treated as the user's own past

https://www.astraobscura.net/2026/09/28/the-memory-that-wasnt-yours/
2•rodicarsone•58m ago•0 comments

Managing access to catalogs in ScalarDB Analytics

https://medium.com/scalar-engineering/managing-access-to-catalogs-in-scalardb-analytics-a5f95e1a2872
1•josh-scalar•59m ago•0 comments

Supporting native Rust in Workers with the Emscripten target for WASM-bindgen

https://blog.cloudflare.com/rust-workers-emscripten-target/
2•CoderLim110•1h ago•0 comments