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.

Taco: The Tensor Algebra Compiler

http://tensor-compiler.org/
1•measurablefunc•1m ago•0 comments

Cat Wu, product lead for Claude Code, has left Anthropic

https://www.businessinsider.com/claude-code-leader-cat-wu-exits-anthropic-before-big-ipo-2026-11
1•aanet•1m ago•1 comments

SpaceX Will Be the Biggest AI Cloud

https://newsletter.semianalysis.com/p/elon-is-doing-it-again-spacex-will
1•nsoonhui•5m ago•1 comments

Nsw Health Breached

https://www.smh.com.au/national/nsw/100-000-documents-stolen-from-isolated-nsw-health-server-2026...
2•technion•8m ago•0 comments

Show HN: Retro: I rebuilt bomberman game, same gameplay, new interface

https://playbomber.com/
1•dutay05•9m ago•0 comments

Revolut switched to GLM. We found hidden risks

https://www.hirundo.io/blog/glm-revolut
1•mattifrank•10m ago•0 comments

Systemd Loves Rust

https://amutable.com/blog/systemd-loves-rust
1•jcgl•11m ago•0 comments

AI Can Read Neural Network Weights. I Wasn't Ready for That. – Arcturus Labs

https://arcturus-labs.com/blog/2026/11/03/ai-can-read-neural-network-weights-i-wasnt-ready-for-that/
1•JohnBerryman•14m ago•0 comments

French blood storage facilities targeted in cyberattack

https://www.aa.com.tr/en/science-technology/french-blood-storage-facilities-targeted-in-cyberatta...
2•Fe2O3•15m ago•0 comments

Ask HN: What is the best non mainstream programming language or stack in 2026?

2•kbrannigan•17m ago•0 comments

Show HN: HackerReels - Short Videos for viral HN posts

https://wile.ai/v/BPOH3BHCRWWCAKU4OVNOTEQ73A
1•alexandroskyr•17m ago•1 comments

Sad Nipple Syndrome

https://en.wikipedia.org/wiki/Sad_nipple_syndrome
2•modzu•20m ago•0 comments

Outer Products: The Dual View of Linear Algebra

https://freddy.us/blog/posts/outer-products/
1•senderista•24m ago•0 comments

Dev-Guard – Defend Against Supply Chain Malware

https://github.com/yeeth-security/dev-guard
1•somerandom1337•25m ago•0 comments

Postgres 19 Repack: Built-In Online Table Bloat Cleanup

https://www.snowflake.com/en/blog/engineering/postgres-19-repack-table-bloat/
1•craigkerstiens•30m ago•0 comments

Not Getting Paid

https://tomaszdziurko1.substack.com/p/not-getting-paid
12•madihaa•34m ago•0 comments

C++26 Disapproved

https://andreasfertig.com/blog/2026/11/cpp26-dis-failed-how-does-cpp-survive/
2•thatxliner•35m ago•0 comments

Recycler: Cost-Free Latent Reasoning via Hidden State Recycling [pdf]

https://lf3-static.bytednsdoc.com/obj/eden-cn/hyvsmeh7uhobf/recycler_arxiv%20%282%29.pdf
1•E-Reverance•36m ago•0 comments

IKEA Turned 8,500 Call Agents into Design Consultants

https://www.pymnts.com/news/artificial-intelligence/2026/ikea-turned-8500-call-agents-into-design...
3•duck•37m ago•0 comments

Caching at Scale in Django: Lessons from Production

https://johnnymetz.com/posts/caching-at-scale-in-django/
2•johnnymetz•37m ago•0 comments

Anti-Oligarchy Activists Plan to Dox Elon Musk and Billionaires

https://www.wired.com/story/anti-oligarchy-activists-plan-to-dox-elon-musk-and-hundreds-of-billio...
7•slowin•38m ago•1 comments

French blood storage facilities targeted in cyberattack

https://twitter.com/etnshow/status/2117728420477936043
3•pixel_popping•41m ago•0 comments

People Against Genocide Smash Military Satellites on Balfour Anniversary

https://aftershock.media/military-satellites-balfour/
3•slowin•43m ago•0 comments

Shay Locomotive

https://en.wikipedia.org/wiki/Shay_locomotive
1•thunderbong•44m ago•0 comments

Tesla allegedly misled South Korean customers about automated-driving tech

https://www.reuters.com/business/autos-transportation/tesla-misled-south-korean-customers-about-a...
5•EA-3167•48m ago•2 comments

Show HN: An interactive map of midterm ads

https://admap.org/
1•Eden09•51m ago•0 comments

Gist of Go: Concurrency

https://antonz.org/go-concurrency/
3•ibobev•51m ago•0 comments

Multi-Column Different-Speed Scrolling

https://blog.master.dev/multi-column-different-speed-scrolling/
1•ibobev•52m ago•0 comments

What Composing Music Could Look Like

https://reasonablypolymorphic.com/blog/musical-vision/index.html
1•ibobev•52m ago•0 comments

Warashi – a menu bar flight recorder for macOS

https://warashi.app/
2•Nintindo•53m ago•1 comments