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.

Cle Elum passed a data center ban. One might be built there anyway

https://www.seattletimes.com/seattle-news/climate-lab/cle-elum-passed-a-data-center-ban-one-might...
1•petethomas•3m ago•0 comments

Dzugg: A WireGuard VPN tested in China, built for family, seeking first real usr

https://dzugg.com/
1•peeweez•3m ago•0 comments

Uber pledges $10B to win robotaxi race

https://www.ft.com/content/04d6fcb4-03e4-4ee5-9017-ccaa7808c934
2•JumpCrisscross•5m ago•1 comments

The Importance of a Problem List

https://mathinstitutes.org/highlights/the-importance-of-a-problem-list
2•frozenseven•9m ago•0 comments

What Happened to Talenti?

https://www.nytimes.com/wirecutter/reviews/talenti-investigation/
2•jerlam•9m ago•0 comments

Notice of ICANN .bitcoin TLD community application

https://twitter.com/wiz/status/2085029140453830725
1•greyface-•10m ago•0 comments

SEC Establishes Financial Reporting and Accounting Unit in Enforcement Division

https://www.sec.gov/newsroom/press-releases/2026-72-sec-establishes-financial-reporting-accountin...
1•petethomas•11m ago•0 comments

Show HN: No-Bullshit CRM – Fast, simple and local

https://crm.cintracomunicacao.com.br/
2•danhdsss•14m ago•3 comments

Klaviyo Acquires Agency

https://techcrunch.com/2026/08/05/klaviyo-acquires-elias-torres-agency-in-full-circle-reunion-for...
1•krm01•14m ago•0 comments

Is Muse Code a Claude Code Killer?

https://trycodus.com/blog/muse-code-vs-claude-code-benchmarks
1•feryuk•14m ago•2 comments

The Nix sandbox is a hidden input

https://fzakaria.com/2026/07/30/the-nix-sandbox-is-a-hidden-input
2•birdculture•14m ago•0 comments

I have disabled NPM publishing on all projects that have been affected

https://twitter.com/jaredwray/status/2085084489408294921
2•trelane•15m ago•0 comments

The Knowledge Gap: what security awareness training achieves

https://safeinstinct.com/whitepapers/the-knowledge-gap-2026/
1•gabriel_b•17m ago•1 comments

Toast IDE Launches Standalone Alpha Mac App

https://github.com/paradise-runner/toast
1•dividedcomet•18m ago•1 comments

FDIC Floats Standard-Setting Body for Banks' Fintech Partners

https://news.bloomberglaw.com/banking-law/fdic-floats-standard-setting-body-for-banks-fintech-par...
1•petethomas•19m ago•0 comments

Cookies Became the Web's Memory

https://www.makonea.com/en-US/blog/how-cookies-became-the-web-s-memory
2•jdw64•19m ago•0 comments

Incentives Are for Losers

https://www.experimental-history.com/p/incentives-are-for-losers
2•dcminter•21m ago•0 comments

Ask HN: What do you think about Northstar-browser?

2•roschdal•24m ago•4 comments

NVMe polishes its specs, brings virtualization to locally attached SSDs

https://www.theregister.com/storage/2026/08/04/nvme-polishes-its-specs-brings-virtualization-to-l...
1•emptybits•24m ago•0 comments

Go: A more robust proposal process

https://github.com/golang/go/discussions/80580
1•fractorial•25m ago•0 comments

AI moderators won't run discovery interviews for another ten years

https://blog.zernote.com/ai-moderators-ten-years/
2•mironn•27m ago•0 comments

Show HN: Capy – A Git-style platform for managing your team's secrets

https://github.com/capysc/capy-cli
6•cvince•28m ago•3 comments

Traditional economics is wrong: Donald Trump has proved it

https://eastangliabylines.co.uk/business/economics/traditional-economics-is-wrong-donald-trump-ha...
2•SideburnsOfDoom•31m ago•0 comments

U.S. Cuts Ties with Organ Donor Group After Reports of Abuses

https://www.nytimes.com/2026/08/05/us/organ-donations-kentucky.html
2•JumpCrisscross•33m ago•0 comments

Classified cancer treatment research with parasites released after 60 years

2•yde_java•35m ago•0 comments

A probability grid of chain-of-thought, read through Boyd's OODA loop lens

https://adamsohn.com/reasoning-grid/
1•dataviz1000•36m ago•0 comments

Notes from the AI Coding Transition

https://emschwartz.me/notes-from-the-ai-coding-transition/
1•emschwartz•36m ago•0 comments

Month on Vegan Diet Shifts Epigenetic Patterns Assoc with Aging and Inflammation

https://today.ucsd.edu/story/one-month-on-a-vegan-diet-shifts-epigenetic-patterns-associated-with...
3•littlexsparkee•36m ago•0 comments

Ambient Lighting on Your Mac

https://www.trylumn.xyz/
2•arkancharla•36m ago•0 comments

Le Monde's 100 Books of the Century

https://en.wikipedia.org/wiki/Le_Monde%27s_100_Books_of_the_Century
3•chistev•37m ago•1 comments