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.

Jensen Huang Should Have Fought for AGI

https://blog.jtoy.net/jensen-huang-should-have-fought-for-agi/
1•toisanji•2m ago•0 comments

Should cities use automated license plate cameras like Flock?

https://www.reasond.de/topics/6af5f83784680f664a7da503
1•kolliden•3m ago•0 comments

The Year Math Changed Forever

https://www.newyorker.com/magazine/2026/11/09/the-year-math-changed-forever
1•njrc•3m ago•0 comments

Lara Mini tops 36 models with up to 2B active params on 26 benchmarks

https://huggingface.co/translated/Lara-4-Mini-Base
1•fabrizio_italia•4m ago•1 comments

Running 800B-parameter LLMs on consumer hardware with InferSSD

https://wici.ai/article/running-800b-models-with-inferssd
1•andyxukq•5m ago•0 comments

Quantum approximate optimization algorithm with cat qubits

https://www.nature.com/articles/s41598-026-77938-z
1•bookofjoe•6m ago•0 comments

ForgePtr: Unprivileged kernel write in Nvidia Linux GPU driver (CVE-2026-47501)

https://stealthium.io/blog/forgeptr
1•rafaeldavidtin•8m ago•0 comments

The cemeteries of the world are full of indispensable men

https://www.nytimes.com/2009/01/18/weekinreview/18lohr.html
1•whoisflavia•9m ago•2 comments

ParseBench-2: Severity-Aware Evaluation of Document Parsing

https://huggingface.co/datasets/llamaindex/ParseBench-2
2•cheesyFish•9m ago•0 comments

Improving the safety of timber buildings – by setting them on fire

https://news.uq.edu.au/2026-11-improving-safety-timber-buildings-setting-them-fire
1•PaulHoule•10m ago•0 comments

I'm genuinely disappointed in our most visible tech leadership

2•AnneTrotter•11m ago•0 comments

Make (no) mistakes: on Patrick Stewart, correctness, and life

https://minhanhday.substack.com/p/make-no-mistakes
1•mday404•11m ago•0 comments

Ratwires – The Graffiti Wall of the Internet

https://ratwire.space/
1•gfhfdgh•14m ago•0 comments

From 6 Hours to 1 Minute: Checkpointing Kubernetes-Style Controllers

https://developer.confluent.io/blog/controller-checkpointing/
2•hgh•15m ago•0 comments

AI Models Know What Women, Peace and Security Is. They Just Don't Bring It Up

https://blog.cip.org/p/ai-models-know-what-women-peace-and
3•frantj•15m ago•1 comments

Are children really more creative than adults?

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0346553
2•56dev_•16m ago•0 comments

Health Stack

https://github.com/maccman/awesome-health-stack
2•brandonb•18m ago•0 comments

Do We Still Have to Denormalize? Have Your Schema and Search It Too

https://www.paradedb.com/blog/joins
2•philippemnoel•19m ago•0 comments

How I optimized my library for coding agents

https://paolino.me/optimizing-rubyllm-for-coding-agents/
2•earcar•19m ago•0 comments

Helsing unveils Clarity, an EU sovereign platform for military intelligence

https://helsing.ai/newsroom/helsing-unveils-clarity-a-sovereign-software-platform-for-military-in...
2•giuliomagnifico•19m ago•0 comments

Brussels puts a price on Big Tech digital trickery

https://www.reuters.com/commentary/breakingviews/brussels-puts-price-big-tech-digital-trickery-20...
3•onemoresoop•20m ago•0 comments

Tailscale Without Tailscale, by Tailscale – TailscaleUp 2026 [video]

https://www.youtube.com/watch?v=QkmjKr2QXM8
2•wronglebowski•21m ago•0 comments

Hands-on fabrication of 2D material field-effect transistors for the classroom

https://iopscience.iop.org/article/10.1088/1361-6404/aeb51a
2•EvgeniyZh•21m ago•0 comments

Ask HN: How do you market your consumer product

2•mv4•25m ago•1 comments

Factory's New Cyber Defense Network Featuring Palo Alto Networks, Casco, & More

https://factory.com/news/cyber-defense-network
3•brene•25m ago•1 comments

Roe vs. Wade

https://en.wikipedia.org/wiki/Roe_v._Wade
2•chistev•26m ago•1 comments

JArray

https://github.com/AJ-1-code/JArray
2•fishybusinessde•27m ago•0 comments

Ask HN: What is your current AI stack looking like?

2•salleisha•28m ago•1 comments

Debt and Rust

https://federicopereiro.com/debt-rust/
2•swah•28m ago•0 comments

Paths in Pieces

https://stoppels.ch/2026/11/12/paths-in-pieces.html
6•acossta•28m ago•0 comments