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.

NASA's new Moon plans have a problem: Orion wasn't designed to fly this way

https://arstechnica.com/space/2026/11/to-make-moon-landings-easier-nasa-is-making-life-harder-for...
1•rbanffy•1m ago•0 comments

Show HN: Synapse Shield (v0.11) – Self-hosted behavioral alternative to CAPTCHAs

https://github.com/0xStoic-bit/Synapse_Shield
1•0xStoic_bit•4m ago•0 comments

Microsoft's outage should terrify every enterprise – InfoWorld

https://www.infoworld.com/article/4249394/microsofts-outage-should-terrify-every-enterprise.html
1•rbanffy•5m ago•0 comments

Almost all of Anthropic's employees are now millionaires

https://www.cnn.com/2026/11/19/tech/anthropic-employees-now-millionaires
1•andsoitis•9m ago•2 comments

Database Consistency Models

https://jepsen.io/consistency/models
1•gurjeet•11m ago•0 comments

V2: Quantum information spreading via higher-order operator correlators

https://arxiv.org/abs/2609.05472
2•northlondoner•18m ago•2 comments

The U.S. Army is about to blow up a cache of dangerous lead azide in Iowa–here's

https://www.scientificamerican.com/article/the-u-s-army-is-about-to-blow-up-a-cache-of-dangerous-...
2•bookmtn•18m ago•2 comments

AlphaXiv opens a public preprint server for AI-authored research papers

https://www.alphaxiv.org/
1•pirafrank•20m ago•0 comments

"I can tell you wrote this yourself"

https://em-online.bearblog.dev/i-can-tell-you-wrote-this-yourself/
1•BrunoBernardino•22m ago•1 comments

Testing an AM/FM radio PCB designed by Claude [video]

https://www.youtube.com/watch?v=vyClHoyzAL8
1•ez_mmk•23m ago•2 comments

Show HN: Linear Algebra in a Week

https://linear-algebra-in-a-week.vercel.app/#m1
1•tamnd•26m ago•0 comments

US Approved AI Chip Sales to China's Tencent, Alibaba, Data Show

https://www.bloomberg.com/news/articles/2026-11-19/us-approved-ai-chip-sales-to-china-s-tencent-a...
2•Teever•27m ago•0 comments

Hardcoded Ignorance

https://notes.erlend.sh/3n2ojo3n5yc2m
1•erlend_sh•29m ago•0 comments

Show HN: Bulchimbeon, night watch that keeps your Mac awake while AI agents work

https://github.com/s3onghyun/bulchimbeon
1•s3onghyun•33m ago•0 comments

How Many Books Will You Read Before You Die?

https://lithub.com/how-many-books-will-you-read-before-you-die/
1•austinallegro•37m ago•1 comments

Show HN: Vemlora – Edit text in images while preserving the original design

https://vemlora.io
1•abelce•39m ago•0 comments

Nudeps: Bundler-like imports, none of the baggage

https://lea.verou.me/blog/2026/nudeps/
1•codedrift_•39m ago•0 comments

Is Building in Public Dead?

https://pudlog.substack.com/p/is-building-in-public-dead
4•sarreph•47m ago•1 comments

How the Measles Virus Erases Immunity to Other Diseases

https://www.nytimes.com/2026/11/17/science/measles-virus-immune-system.html
2•ryan_j_naughton•48m ago•2 comments

Show HN: Isu-bench – coding agents tune an unseen web service with 11 load tests

https://isu-bench.trasta.dev/
1•trasta298•49m ago•0 comments

Views of the Same Thing

https://jonathannen.com/views-of-the-same-thing/
1•kqr•50m ago•0 comments

Navigating Excel files, emails and screenshots with agents

https://anaivebidder.com/posts/llm-reconciliation-benchmark/
1•rbnafo•52m ago•1 comments

Former YC President: "Stop!”

https://geoffralston.substack.com/p/stop
7•reducesuffering•52m ago•0 comments

Ask HN: Do you use computer-use heavily?

1•alexandroskyr•52m ago•0 comments

Clojure: Deserialization of Untrusted Data Allows Remote Code Execution

https://github.com/clojure/clojure/security/advisories/GHSA-x4c4-68gp-vrhc
2•andros•53m ago•0 comments

Google Meet Implements Audio Using Mix-Minus with WebRTC

https://www.red5.net/blog/how-google-meet-implements-audio-using-mix-minus-with-webrtc/
1•mondainx•56m ago•0 comments

Gopurs – A Super-Optimized PureScript-to-Go Compiler

https://github.com/0x000000000000000000001/gopurs
1•TheWiggles•57m ago•0 comments

No spy. No temptress. The Nvidia love affair is called RICO

https://www.gregpalast.com/the-so-called-affair-between-the-nvidia-chief-and-the-chinese-spy/
4•MilnerRoute•1h ago•1 comments

How should we evaluate image memory in AI agents?

https://twitter.com/AgentMemoryL/status/2123418533950591252
1•IreneAI•1h ago•0 comments

Design for Understandability

https://jschuster.org/blog/2026/11/19/design-for-understandability/
2•signa11•1h ago•1 comments