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.

US Senate panel votes to hold Fauci in contempt of Congress over Covid hearing

https://www.theguardian.com/us-news/2026/aug/06/fauci-senate-contempt-vote-covid
1•wslh•57s ago•0 comments

The German Mittelstand – What I learned from factories across Germany

https://kieranvelasquez.substack.com/p/on-the-german-mittelstand
1•sebg•1m ago•0 comments

I'm Building a Software Factory That Turns My Issues into Merged Code

https://fatihkoc.net/posts/software-factory-side-projects/
1•fatihkocnet•2m ago•0 comments

Belfry – a TV episode tracker built around reminders, not logging

https://belfry.tv
1•Sedude•3m ago•0 comments

Show HN: Mnemosyne – Export AI chat to carry context from one tool into another

https://github.com/TheJoin95/mnemosyne/blob/main/README.md
1•thejoin95•4m ago•0 comments

GitHub Is Experiencing Difficulties

https://www.githubstatus.com/?d=2026/08/06
5•Jeaye•7m ago•0 comments

How Did Rogue Generate Its Random Dungeons?

https://howtomakeanrpg.com/r/a/rogue-dungeon-generation.html
1•danschuller•7m ago•0 comments

California Town Says Flock Cameras Misread License Plates 71% of the Time

https://www.techdirt.com/2026/08/06/california-town-says-flock-cameras-misread-license-plates-71-...
1•hn_acker•8m ago•0 comments

List of Trading Losses

https://en.wikipedia.org/wiki/List_of_trading_losses
1•_vaporwave_•8m ago•0 comments

Dress made of living mycelium can renew and repair itself

https://www.dezeen.com/2026/08/05/dress-living-mycelium-renew-repair/
1•speckx•10m ago•0 comments

API Is Not Your MCP Tool

https://ro14nd.de/mcp-tool-design-patterns/
2•DataOverload•12m ago•0 comments

Massachusetts prosecutors run their offices on software from the dial-up era

https://nasser.blog/dial-up-justice/
1•aragonite•13m ago•0 comments

Agent Plugins

https://twitter.com/OpenAIDevs/status/2085398373511918022
2•tosh•14m ago•1 comments

What's My Local AI?

https://whatsmylocal.ai/
3•chrismatic•15m ago•0 comments

JWT decoder with connect-src 'none', so it can't upload your token

https://jwt.jamuny.com/
2•pop3zxcv•19m ago•1 comments

Introducing: Cloudflare Agents

https://blog.cloudflare.com/agents-on-cloudflare/
3•zuckerborg0101•20m ago•0 comments

Export AI chat sessions to carry context from one tool into another

https://github.com/TheJoin95/mnemosyne
1•thejoin95•21m ago•0 comments

Open Questions on Open Weights

https://www.astralcodexten.com/p/open-questions-on-open-weights
1•reducesuffering•21m ago•0 comments

Microsoft filings suggest "around 70%" of its AI revenue is on OpenAI

https://www.windowscentral.com/artificial-intelligence/microsoft-filings-suggest-around-70-percen...
31•speckx•22m ago•4 comments

The Question Concerning Technology – Martin Heidegger (Wikipedia)

https://en.wikipedia.org/wiki/The_Question_Concerning_Technology
2•jonash54•23m ago•0 comments

Five Indie Platforms You Might Not Have Heard Of

https://brennan.day/five-interesting-indie-platforms-you-might-not-have-heard-of/
2•nate•24m ago•2 comments

Zapscape (CVE-2026-64561)

https://github.com/V4bel/Zapscape
2•john_strinlai•25m ago•0 comments

India's IT sector is surviving artificial intelligence

https://www.economist.com/finance-and-economics/2026/08/06/indias-it-sector-is-surviving-artifici...
4•alephnerd•29m ago•1 comments

How I became the villain of El Cerrito's Nextdoor

https://www.oaklandreviewofbooks.org/the-villain-of-el-cerrito-nextdoor/
1•bsimpson•33m ago•0 comments

LLMs and Programmatic Stagnation

https://systemist.net/changelog/letters/2026-07-31-programmatic-stagnation
1•tsraveling•33m ago•0 comments

Potions in Mageia. 01 – Pidgin and its accessories

https://blog.mageia.org/en/2026/08/05/potions-in-mageia-01-pidgin-and-its-accessories/
1•rw_grim•36m ago•0 comments

Maybe we just shouldn't build software with so many people

https://blog.nicoleta.cc/maybe-we-just-shouldnt-build-software-with-so-many-people/
2•speckx•36m ago•1 comments

A Subtle Web of Meaning

https://robertxworld.com/a-subtle-web-of-meaning/
1•devrob•37m ago•0 comments

Nashville uses eminent domain to block data center near zoo

https://nashvillebanner.com/2026/08/04/metro-council-data-center-eminent-domain-vote/
12•DeepLogin•37m ago•1 comments

A Pronoun for LLMs

https://blog.david.connol.ly/2026/08/lem.html
3•slartibardfast0•38m ago•1 comments