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.

Xfinity: Sustained uploads corrupt (TLS bad record Mac) on AS7922 backbone path

https://forums.xfinity.com/conversations/your-home-network/sustained-uploads-corrupted-tls-bad-re...
1•petethomas•28s ago•0 comments

MicroStrategy Sells More Bitcoin to Fix STRC Stock: Will It Work?

https://finance.yahoo.com/markets/crypto/articles/microstrategy-sells-more-bitcoin-fix-125133681....
1•wslh•29s ago•0 comments

Show HN: EdgeSpeech; Voice I/O toolkit for your mobile app

https://github.com/switchboard-sdk/EdgeSpeech
1•trolleycrash•58s ago•0 comments

Stop Killing Games Joins Lawsuit over PlayStation's Digital "Monopoly"

https://www.gamesradar.com/games/its-time-to-sue-sony-stop-killing-games-joins-lawsuit-over-plays...
1•TheWiggles•1m ago•0 comments

Wine, beer, or spirits? Study finds a surprising health divide

https://www.sciencedaily.com/releases/2026/08/260808235008.htm
1•elo2000•2m ago•0 comments

Will Taiwan Fight China? Just Ask Its People

https://www.wsj.com/world/asia/will-taiwan-fight-china-just-ask-its-people-a6e358eb
2•root-parent•2m ago•0 comments

Show HN: Fun Web page 3D visualization of laundry room status

https://www.aisloperator.com/brickoven-estates-laundry-room/
2•aisloperator•6m ago•0 comments

A Deep Dive into Herdr

https://flaviocopes.com/herdr/
1•markgavalda•7m ago•0 comments

Font looks perfectly normal to humans but wreaks havoc on AI

https://www.fastcompany.com/91585494/this-font-looks-perfectly-normal-to-humans-but-confuses-ai
1•root-parent•11m ago•0 comments

The Great AI Illusion: Why Your Demo Works, but Your Enterprise Agent Fails

https://allcloud.io/blog/the-great-ai-illusion-why-your-demo-works-but-your-enterprise-agent-fails/
1•mooreds•11m ago•0 comments

Bevy's Sixth Birthday

https://bevy.org/news/bevys-sixth-birthday/
1•dabinat•12m ago•0 comments

Zuckerberg: The Future Is for Everyone

https://about.fb.com/news/2026/08/the-future-is-for-everyone/
2•jaredwiener•12m ago•0 comments

Travel Itinerary Template

https://travelitinerarytemplate.org/
1•SuxYu•13m ago•0 comments

New way of QA testing AI-written code

https://abloh.dev
3•ThomasL123•14m ago•2 comments

Executive order calls for fewer childhood vaccines, links shots to autism

https://www.cnbc.com/2026/08/10/trump-vaccine-executive-order-autism.html
2•pseudolus•15m ago•0 comments

Meta open-sources Muse Glimmer: 30B agent model runs locally under 20GB VRAM

https://ainexusdaily.vercel.app
1•qrify_app•15m ago•0 comments

Is This Man the Picasso of Pointe Shoes?

https://www.nytimes.com/2026/07/27/arts/dance/nyc-ballet-tim-foster-pointe-shoes.html
1•gmays•19m ago•0 comments

Fauci warned of miscarriage risk Covid vaccine while publicly claiming no issues

https://nypost.com/2026/08/10/us-news/fauci-warned-of-miscarriage-risk-linked-to-covid-vaccine-wh...
4•bilsbie•19m ago•0 comments

Letter from Iddin-Sin to Zinu

https://en.wikipedia.org/wiki/Letter_from_Iddin-Sin_to_Zinu
1•handfuloflight•19m ago•0 comments

Go 1.27's Keyed Fields

https://towardsdev.com/i-stopped-writing-verbose-struct-literals-go-1-27s-keyed-fields-530419e9e5...
2•cheikhdev•20m ago•0 comments

Confessions of a Long-Distance Sailor

https://arachnoid.com/lutusp/sailbook.html
1•AntiRush•20m ago•0 comments

Don't classify, hallucinate!

https://softwaredoug.com/blog/2026/08/10/hypothetical-classifications
2•softwaredoug•23m ago•0 comments

RSI, AGI, and ASI: The Explainer and the Reality Check

https://sanjeevganjihal.substack.com/p/rsi-agi-and-asi-the-explainer-and
2•sanjeevg89•23m ago•0 comments

AgentThread: Multiplayer Hosted Hermes, each chat channel is a full container

https://agentthread.ai/
1•runrunlobster•26m ago•2 comments

Stop Killing Games: It's time to sue Sony, join us

https://www.massaschadeconsument.nl/collectieve-acties/playstation/
2•EDM115•26m ago•1 comments

Free Ideas (to hopefully make the world more interesting)

https://freeideas.net/
2•blobcode•28m ago•0 comments

Chronexis – crash reports that include the root cause and a patch

https://chronexis-web.onrender.com
1•alraies_hayder•30m ago•0 comments

Git-knife – edit commit messages, authors, and dates like a spreadsheet

https://github.com/TheRealYT/git-knife
1•YonathanTesfaye•30m ago•0 comments

Defense-in-Depth Isn't Lego: A Study in Linux Capabilities and Seccomps Filters

https://huxleybarbee.substack.com/p/defense-in-depth-isnt-lego
1•barbee•31m ago•0 comments

A (Not So) Brief but (Very) Accurate History of Oracle PL/SQL (2020)

https://oracle-internals.com/blog/2020/04/29/a-not-so-brief-but-very-accurate-history-of-pl-sql/
1•stmw•32m ago•0 comments