frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

10x More Selective (2013)

https://yosefk.com/blog/10x-more-selective.html
1•tosh•4m ago•0 comments

Superficie – Surface Syntax for Clojure to Help Exposition/Onboarding

https://github.com/replikativ/superficie
1•TheWiggles•4m ago•0 comments

Mistral AI Acquires EU Physics AI Startup Emmi AI

https://www.reuters.com/business/autos-transportation/mistral-ai-buys-austrian-physics-ai-startup...
1•ottomengis•8m ago•0 comments

Claude Code in a Loop

https://github.com/quazardous/aiball
1•quazarzero•11m ago•0 comments

Portability Is a Myth: Why the Best AI Stacks Will Never Be Hardware-Agnostic

https://twitter.com/PatrickToulme/status/2055709800986780028
2•pretext•12m ago•0 comments

Show HN: Viberia – Civ/Polytopia-like command center for AI agents (BYOK/BYOS)

https://getviberia.com/
1•bhu8•13m ago•0 comments

Pizza Hut's AI system caused 'cascading' problems and $100M in damages

https://www.businessinsider.com/pizza-hut-ai-system-dragontail-lawsuit-franchisee-2026-5
1•kombookcha•17m ago•2 comments

Free crypto toolbox with 900 online tools

https://sevendiv.com/
1•m_mgkh•19m ago•0 comments

The Definitive Guide to Helping People Trapped in a Cult

https://www.psychologytoday.com/us/blog/freedom-mind/202104/the-definitive-guide-helping-people-t...
1•jacquesm•20m ago•0 comments

The cut in the Mixture of Experts compute graph

https://idlemachines.co.uk/essays/mixture-of-experts
1•smaddrellmander•26m ago•0 comments

State of AI 2026 survey results

https://2026.stateofai.dev/en-US
1•mycroft_4221•26m ago•0 comments

Evolving specs (2025)

https://github.com/github/spec-kit/discussions/152
1•pramodbiligiri•28m ago•0 comments

CISA Admin Leaked AWS GovCloud Keys on GitHub

https://krebsonsecurity.com/2026/05/cisa-admin-leaked-aws-govcloud-keys-on-github/
2•LelouBil•30m ago•0 comments

Hyperpolyglot ML Dialects and Haskell: SML, OCaml, F#, Haskell

https://hyperpolyglot.org/ml
1•lambertsimnel•34m ago•0 comments

AI agents for regulatory use cases: competition on the EU AI Act

https://regenold.com/landing/ai/eu-ai-act-competition
1•marco_virgolin•35m ago•2 comments

The just-say-no engineer was a ZIRP phenomenon

https://www.seangoedecke.com/the-just-say-no-engineer-was-a-zirp-phenomenon/
2•theanonymousone•42m ago•0 comments

Governments are ruining the internet to protect kids

https://www.neowin.net/editorials/governments-are-ruining-the-internet-to-protect-kids-but-there-...
3•bundie•42m ago•0 comments

Mounting Git commits as folders with NFS

https://jvns.ca/blog/2023/12/04/mounting-git-commits-as-folders-with-nfs/
2•pvtmert•43m ago•1 comments

Korean bill seeks strict watermark mandate on AI-generated content

https://www.koreatimes.co.kr/business/tech-science/20260517/korean-bill-seeks-strict-watermark-ma...
3•01-_-•45m ago•0 comments

A new EDIT tool for LLM agents

https://antirez.com/news/166
4•surprisetalk•45m ago•1 comments

Darwin Family: MRI-Trust-Weighted Evolutionary Merging

https://arxiv.org/abs/2605.14386
1•cheuv•46m ago•0 comments

Brain "Bypass" Technology Could Transform Treatment for Neurological Disorders

https://scitechdaily.com/new-brain-bypass-technology-could-transform-treatment-for-neurological-d...
2•01-_-•47m ago•0 comments

My domain got abused on GitHub Pages

https://meertens.dev/blog/github-enables-domain-abuse/
4•rmeertens•47m ago•0 comments

How We Hacked Our Way to Free 4.0s and Took Over a uWaterloo & UofT Grading Tool

https://xtra.sh/blog/markus/
1•xtra1•48m ago•0 comments

How to Select a Mobile OS

https://blog.gridranger.dev/mobile-oses-featuring-fairphone-5/
1•vinhnx•49m ago•0 comments

Why Elon Musk lost his suit against OpenAI

https://www.technologyreview.com/2026/05/18/1137488/elon-musk-suit-openai-verdict/
3•joozio•50m ago•0 comments

Topological Relativity Theory: A Quantum Gauge Field Framework

https://zenodo.org/records/20262720
1•kisnorbert•51m ago•0 comments

Meta lays out details of May 20 restructuring in internal document

https://www.reuters.com/world/meta-lays-out-plans-may-20-layoffs-restructuring-internal-document-...
3•theonionspeaks•52m ago•0 comments

My 40-liter backpack travel guide

https://vitalik.eth.limo/general/2022/06/20/backpack.html
2•bushwart•56m ago•2 comments

Kerf (Kerf1)

https://github.com/kevinlawler/kerf1
1•tosh•57m ago•0 comments