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.

Framework for building agent-friendly CLIs

https://github.com/tokyo-corp/tokyo
1•misterchocolat•48s ago•0 comments

The secret Trump administration battle to fight Chinese AI

https://www.axios.com/2026/07/20/ai-us-china-open-source-kimi
1•koolhead17•1m ago•0 comments

AI Consensus circulates your prompt thru Claude, GPT and Gemini until consensus

https://shipdiary.dev/t/8a9c9114bac40fa8f1ec6cf7
1•AIConsensus•2m ago•0 comments

Show HN: Language Model Builder (an app to learn about and build models)

https://languagemodelbuilder.com/
1•felixrieseberg•2m ago•0 comments

The fastest coding agent for offline usage?

https://github.com/gni/maquis
1•opensecurity•5m ago•1 comments

Against Claudefishing – AI detection feature on Substack

https://post.substack.com/p/against-claudefishing
1•pixelesque•5m ago•0 comments

Separating Description from Interpretation to Preserve Theoretical Reusability

https://zenodo.org/records/21362371
1•ErystelaThevale•6m ago•0 comments

Fly Up the Delaware

https://www.inquirer.com/news/inq2/delaware-river-islands-pennsylvania-new-jersey-20260721.html
1•caditinpiscinam•7m ago•0 comments

Kubernetes won the container decade. Google's Agent Substrate wants the next one

https://thenewstack.io/kubernetes-ai-agent-runtime/
2•ryan_j_naughton•8m ago•0 comments

The Floating Piers

https://en.wikipedia.org/wiki/The_Floating_Piers
1•simonebrunozzi•11m ago•0 comments

Peekinduck: AI voice agents that run B2B SaaS demos, onboarding, and support

https://peekinduck.ai/
1•cgchen•11m ago•0 comments

J-Space Oddity: Do VLMs Dream of Text Tokens?

https://ykumar.me/blog/j-space-oddity/
1•ykumards•11m ago•0 comments

Pixar Bears Brunt of Disney Studio Layoffs as Company Axes Several Hundred

https://variety.com/2026/film/news/pixar-layoffs-disney-studios-several-hundred-employees-1236817...
1•ourmandave•14m ago•0 comments

Ask HN: What's your experience with GPT-Live been like?

1•caveman23•14m ago•0 comments

The Sandboxing Manifesto for Agentic Execution

https://www.nofire.ai/blog/the-sandboxing-manifesto
8•spirosoik•14m ago•0 comments

Show HN: A game to get people out in nature and appreciating wild animals

https://playanimalis.com/
2•robert-whiteley•16m ago•0 comments

Show HN: DocCharm – The help center that keeps itself up to date

https://doccharm.com/
1•yakshaving_jgt•16m ago•0 comments

Jack Mallers leaves Twenty One as Strike exits Tether's three-way Bitcoin merger

https://www.theblock.co/post/409075/jack-mallers-leaves-twenty-one-as-strike-exits-tethers-three-...
1•washedup•16m ago•0 comments

Odyssey – A Text Based Adventure

https://odyssey.learntosolveit.com/
1•orsenthil•17m ago•1 comments

Show HN: In Meeting – A native macOS Mic/Cam observer for home automation

https://github.com/fellowgeek/in-meeting
2•pcbmaker20•18m ago•0 comments

Building Service Topology at Scale: Architecture, Challenges, Lessons Learned

https://netflixtechblog.com/building-service-topology-at-scale-architecture-challenges-and-lesson...
1•jjtang1•19m ago•0 comments

Hugging Face discloses breach linked to autonomous AI agent

https://www.bleepingcomputer.com/news/security/hugging-face-breach-autonomous-ai-agent-system-int...
2•Brajeshwar•20m ago•0 comments

Show HN: Imagin Raw – A 9MB Open-Source Alternative to Adobe Bridge for Mac

https://github.com/cristibaluta/Imagin-Raw
5•cristi_baluta•21m ago•0 comments

Augustus raises $180M to build a clearing bank for the AI and stablecoin era

https://www.coindesk.com/business/2026/07/21/augustus-raises-usd180-million-to-build-a-clearing-b...
1•AnhTho_FR•22m ago•0 comments

Google vs. SerpApi: The Court Granted Our Motion to Dismiss

https://serpapi.com/blog/google-v-serpapi-the-court-granted-our-motion-to-dismiss/
2•SerpApi•23m ago•0 comments

Firefox Containers Preview

https://blog.mozilla.org/en/firefox/firefox-containers-preview/
9•twapi•23m ago•0 comments

Show HN: Quartz – A (much) better Voice Memos app (iPhone)

https://www.madebywindmill.com/quartz/
4•jscalo•26m ago•1 comments

Guard-AI – A security linter for AI-generated code

https://github.com/Karthikvk1899/guard-ai
1•karthikvk1899•27m ago•0 comments

Apple to launch 'upgrade' device leasing program with Klarna to spur sales

https://www.bloomberg.com/news/articles/2026-07-21/apple-to-launch-upgrade-device-leasing-program...
6•anigbrowl•27m ago•0 comments

Show HN: I built a command palette for the terminal – 6.2MB, pure Go, no fzf

https://github.com/matheuzgomes/decoreba
12•MarinhoD•28m ago•2 comments