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.

Just Let Agents Write Code

https://redo.com/eng-blog/just-let-agents-write-code/
1•joshmoody24•42s ago•0 comments

When Canceling Subscriptions Is Not Easy

https://www.mouseprint.org/2026/07/27/when-canceling-subscriptions-is-not-easy/
1•speckx•1m ago•0 comments

Try the Fast Models

https://www.natemeyvis.com/try-the-very-fast-models/
1•meetpateltech•3m ago•0 comments

MAI-Cyber 1

https://microsoft.ai/news/introducing-mai-cyber-1-flash-inside-mdash/
2•migmartri•3m ago•0 comments

Make AI stop hallucinating by changing system design, not the model

https://blazephoenix.xyz/learn/invariant-driven-design-ai-hallucination/
1•mitraxyz•5m ago•0 comments

Ford Motor Joins Race to Build Next U.S. Army Truck

https://www.wsj.com/business/autos/ford-motor-joins-race-to-build-next-u-s-army-truck-f8efa051
1•LostMyLogin•5m ago•0 comments

Blanche-led DOJ likely to derail Epstein survivors' pursuit of justice

https://www.theguardian.com/us-news/2026/jul/27/epstein-survivors-todd-blanche-justice
1•hn_acker•6m ago•1 comments

Decathlon Germany adds Wero payment option to decathlon.de website

https://www.sgieurope.com/e-commerce/decathlon-germany-launches-wero-payment-on-its-website/12239...
2•doener•7m ago•0 comments

A+

https://github.com/PlanetAPL/a-plus/tree/master
2•tosh•8m ago•0 comments

Round Rects Are Everywhere

https://www.folklore.org/Round_Rects_Are_Everywhere.html
1•mgranados•9m ago•0 comments

Production Multi-Party Computation Is Here

https://divviup.org/blog/pepr-26/
1•SGran•9m ago•0 comments

Show HN: Directed Memory Bank – Tool-agnostic project context for AI agents

https://github.com/pmikutel/directed-memory-bank
1•pmikutel•10m ago•0 comments

Writing Arenas in Rust from Scratch

https://rushter.com/blog/rust-memory-arenas/
1•arto•10m ago•0 comments

Japan Launches Domestically Produced Quantum Computer

https://quantumcomputingreport.com/japan-launches-fully-domestically-produced-quantum-computer-in...
1•Tomte•11m ago•0 comments

Origins of Precision(2017) [video]

https://www.youtube.com/watch?v=gNRnrn5DE58
1•pillars•11m ago•0 comments

Gene Therapy Helps Teen with Rare Form of Epilepsy Walk Independently

https://today.ucsd.edu/story/personalized-gene-therapy-helps-teen-with-rare-form-of-severe-epilep...
2•gmays•11m ago•0 comments

The Brain Needs Euphoric Fatigue

https://jrswab.com/blog/the-brain-needs-euphoric-fatigue/
2•speckx•12m ago•0 comments

The Library of Lives

https://foofaraw.press/the-library-of-lives/
1•JumpCrisscross•12m ago•0 comments

We write code by hand: We use Natural Intelligence to build software

https://handcraftedcode.org/
1•Tomte•13m ago•0 comments

I turned my email inbox into an invoicing tool

https://mailtoinvoice.com
1•zenacquire•14m ago•0 comments

Show HN: Darkslide – A keyboard-centric photo editor

1•roman-volkov•14m ago•0 comments

Show HN: KBlip – turns AI/LLM news across 100 sources into daily digest threads

https://kblip.com/releases
2•jonam21•15m ago•0 comments

A Proposal for a Universal Moral Core

https://continuations.com/a-proposal-for-a-universal-moral-core
2•gist•15m ago•1 comments

Interspecies Hybrids Play a Vital Role in Evolution (2017)

https://www.quantamagazine.org/interspecies-hybrids-play-a-vital-role-in-evolution-20170824/
1•eatonphil•18m ago•0 comments

Scientists Turn Plastic Waste into Clean Hydrogen Fuel

https://scitechdaily.com/scientists-turn-plastic-waste-into-clean-hydrogen-fuel/
2•ninjahawk1•20m ago•0 comments

Gordon – The Frontier Trading Agent

https://www.gordoncli.com/
1•ReverseZoom2151•21m ago•1 comments

Who should be responsible for OpenAI's hack of Hugging Face?

https://www.transformernews.ai/p/openai-hack-hugging-face-responsibility-strict-liability-rules
1•megamike•23m ago•1 comments

Show HN: Simulated 12-hue RYB color wheel

https://colorschemer.com/online
2•maxsavin•24m ago•0 comments

Show HN: Composer – A Markdown-driven automation engine for Apple Keynote

https://keynotepro.com/JSRequired.html
1•dotjaybee•24m ago•0 comments

Relationship Between Amp and Mono

https://morwenn.github.io//presortedness/2026/07/26/TSB012-relationship-between-amp-and-mono.html
1•ibobev•25m ago•0 comments