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.

LLMs Can't Jump

https://philsci-archive.pitt.edu/28024/
1•kgwgk•26s ago•0 comments

'The Odyssey' Translator Emily Wilson Slams Nolan's 'Abysmal' Screenplay

https://variety.com/2026/film/news/odyssey-translator-emily-wilson-slams-christopher-nolan-bad-wr...
1•handfuloflight•1m ago•0 comments

Half-Life ported to Mac OS 9

https://mac-classic.com/news/half-life-ported-to-mac-os-9/
1•freediver•2m ago•0 comments

A Look Behind the Data: How Whoop Measures Heart Rate

https://www.whoop.com/us/en/thelocker/a-look-behind-the-data-how-whoop-measures-heart-rate/
1•brandonb•3m ago•0 comments

Show HN: Verifiable receipts for firmware CVE reproduction

https://github.com/prevotai/colmena
1•TheLuisBolivar•7m ago•0 comments

OpenAI just open-sourced Codex Security

https://github.com/openai/codex-security
4•bakigul•8m ago•0 comments

The Phone Scammers Next Door

https://torontolife.com/deep-dives/the-phone-scammers-next-door/
1•nianderwallace•9m ago•0 comments

Tailark

https://tailark.com
1•handfuloflight•10m ago•0 comments

Goodhart's Law Comes for Every Benchmark You Trust

https://cacm.acm.org/blogcacm/goodharts-law-comes-for-every-benchmark-you-trust/
2•alasr•14m ago•0 comments

I sent Claude Opus 5 '–-' and it wrote me 5k tokens about a cartographer

https://austinsnerdythings.com/2026/07/28/claude-opus-5-dangling-document-effect/
2•auspiv•15m ago•0 comments

China's AI weather warning system Mazu expanding across Global South

https://www.scmp.com/news/china/science/article/3361108/chinas-ai-weather-warning-system-mazu-exp...
3•vinnyglennon•16m ago•0 comments

ACP v2 is available in Draft

https://agentclientprotocol.com/announcements/acp-v2-draft
1•gmays•17m ago•0 comments

Issetugid() Sadness

https://gist.github.com/nicowilliams/4daf74a3a0c86848d3cbd9d0cdb5e26e
1•fanf2•19m ago•0 comments

Apple won't turn on any 'restricted mode' for missed lease payments

https://www.theverge.com/tech/972063/apple-upgrade-program-no-restricted-mode
3•speckx•20m ago•0 comments

eBay agreed to pay nearly $50M to couple sent cockroaches, bloody pig mask

https://apnews.com/article/ebay-settlement-d0886f1036e198f77669707db9fe1f2b
3•RankingMember•21m ago•0 comments

OpenReviewer: A Specialized LLM for Generating Critical Scientific Paper Reviews

https://aclanthology.org/2025.naacl-demo.44/
2•Anon84•22m ago•0 comments

What Is the Atmosphere?

https://lab.leaflet.pub/3mrq6ma5dgs2x
4•danabramov•23m ago•0 comments

Toolcraft

https://toolcraft.sh
2•handfuloflight•23m ago•0 comments

Spoke Head Identification Chart

http://www.mrrabbit.net/docs/spokeheads/main.html
1•bookstore-romeo•23m ago•0 comments

Radio Balkan – 500 Balkan radio stations in one HTML file

https://radiobalkan.net/
3•nebs21•26m ago•1 comments

We used to be able to buy things in this country

https://dannykatch.substack.com/p/we-used-to-be-able-to-buy-things
3•mikestew•27m ago•0 comments

Jacob Tsimerman on Competition, AI, and the Future of Mathematics [video]

https://www.youtube.com/watch?v=8DYF-ReeAtY
2•zaikunzhang•27m ago•0 comments

Azulejo

https://en.wikipedia.org/wiki/Azulejo
2•Amorymeltzer•32m ago•0 comments

Anatomy of a Frontier Lab Agent Intrusion: A Technical Timeline of the Incident

https://huggingface.co/blog/agent-intrusion-technical-timeline
6•artninja1988•32m ago•1 comments

I built a free, self-hosted CMMS called Workshop Control Center (WCC)

https://github.com/devdave-online/WCC_CMMS
2•davidedaviid•35m ago•0 comments

1 in 10 comments across 40 subreddits disappeared within 36 hours

https://growtika.com/blog/reddit-comment-removal-study
3•Growtika•36m ago•0 comments

China's reported chip breakthrough comes with some big caveats

https://www.cnbc.com/2026/07/28/china-chipmaking-duv-tool-asml-explained.html
1•giuliomagnifico•38m ago•0 comments

Beacon – an open-source platform for comparing NASA/JPL and ESA NEO data

https://github.com/NovaCoding-G/B.E.A.C.O.N
1•NovaCoding-G•39m ago•0 comments

Trump administration to ban new Chinese humanoid robots

https://www.reuters.com/world/trump-administration-ban-new-chinese-robots-inverters-protecting-us...
9•kaycebasques•39m ago•2 comments

Show HN: Learning Mode – Claude refuses to write code

https://github.com/melsayedx/learning-mode
1•melsayedx•39m ago•0 comments