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.

Show HN: I asked Claude to turn 20 years of my research into a game

https://playhyperbubble.com/
1•2020science•40s ago•0 comments

Show HN: WeaveScope – Elixir native observability for AI agents

https://weavescope.com/
1•caudena•3m ago•0 comments

Randomness Is a Tax – Until It Isn't

https://www.sidhantbansal.com/2026/When-is-randomness-an-asset-vs-a-tax/
1•sidhantbansal•3m ago•0 comments

'Platformicide' of Palestine: Activists struggle to be heard on Meta

https://www.aljazeera.com/news/2026/8/12/platformicide-of-palestine-activists-struggle-to-be-hear...
2•slowin•4m ago•0 comments

GitHub Stacks in Jujutsu

https://alan.norbauer.com/articles/github-stacks-with-jujutsu/
1•birdculture•8m ago•0 comments

Show HN: Conjecscore

https://conjecscore.org/
1•thyrgle•8m ago•1 comments

Man attempts to prompt-inject court, fails

https://arstechnica.com/tech-policy/2026/08/suspecting-court-of-using-ai-man-injected-prompts-in-...
1•madaxe_again•9m ago•0 comments

OKLCH in CSS: why we moved from RGB and HSL

https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl
2•Trattue•10m ago•0 comments

Elon Musk mocks locals concerned about data center water use

https://twitter.com/essenviews/status/2088217508725559402
3•grandpajoey•11m ago•0 comments

Porkbun Forces ID Verification

https://www.reddit.com/r/selfhosted/comments/1rblh8n/porkbun_forces_id_verification/
4•trinsic2•12m ago•1 comments

Wikipedia: List of predictions for autonomous Tesla vehicles by Elon Musk

3•glaslong•13m ago•0 comments

Show HN: Embassia – LLM Search Console – Web crawlers talk to your site's agent

https://embassia.com
1•ramazanaliakdas•13m ago•0 comments

America's largest home lender falls out of the hamster wheel

https://www.ft.com/content/0a4794fa-7112-436f-a311-9077fcba14b8
1•petethomas•18m ago•0 comments

Show HN: Open-Source Paper

https://github.com/caffeinum/tracepaper
1•bykhun•22m ago•0 comments

Show HN: A sandbox for AI agents using nothing but Go's standard library

https://towardsdev.com/i-built-an-ai-agent-sandbox-from-the-go-standard-library-350ecac5d578?sk=f...
1•cheikhdev•25m ago•0 comments

Bill Gates' daughter Phoebe accused of 'cookie stuffing' scheme

https://nypost.com/2026/08/12/business/bill-gates-daughter-phoebe-accused-of-cookie-stuffing-sche...
6•randycupertino•26m ago•2 comments

Pikuma: SIMD in the 90s: Programming Intel's Pentium MMX

https://pikuma.com/blog/programming-intel-pentium-mmx-simd
1•rbanffy•27m ago•0 comments

Compilable Wishes

https://opentheory.substack.com/p/compilable-wishes
1•eatitraw•27m ago•0 comments

Vesta, adaptive ontology for Claude Code

https://github.com/kanjani-ai-research/Vesta
1•aug2uag•28m ago•1 comments

AI runs here. Not out there

https://osaurus.ai
1•ALLTaken•29m ago•0 comments

Ukrainian drones wipe out US tank brigade in live war game

https://arstechnica.com/gadgets/2026/08/ukrainian-drones-wipe-out-entire-us-tank-brigade-in-live-...
2•rbanffy•29m ago•0 comments

Show HN: AlmondLab – Virtual lab and Stage 1 report for salt-tolerant crops

https://consigcody94.github.io/saltwater-mini-almond/
1•sentinelowl•33m ago•0 comments

Are You a Human?

https://www.newyorker.com/magazine/2026/08/17/are-you-a-human
1•petethomas•34m ago•0 comments

Qwen 3.8 27B vs. Nemotron 3.5 vs. Muse Glimmer on an RTX 5090

https://kgptalkie.com/tutorials/generative-ai/qwen-3-8-27b-vs-nemotron-3-5-vs-muse-glimmer
1•2a0c40•36m ago•0 comments

Talking with Synopsys about the Physics of Chip Design at DAC 2026

https://chipsandcheese.com/p/talking-with-synopsys-about-the-physics
2•rbanffy•38m ago•0 comments

Lightweight Task agent – checkable receipts

https://github.com/GCLprimary/PAT
1•wwes369•40m ago•1 comments

Luigi Mangione pleads guilty to federal stalking charges in killing of UHC CEO

https://apnews.com/article/luigi-mangione-plea-unitedhealthcare-ceo-3b8a5bb41589c9f5f4775dba2beea66f
2•cagey•40m ago•0 comments

The online shopping trend where you buy nothing

https://restofworld.org/2026/south-korea-shopping-trend/
2•herbertl•45m ago•0 comments

YeshiAI – AI for spiritual practice across five religious paths

https://yeshi.ai/
1•eli_genc•46m ago•0 comments

R-rated director's cut of X-Files movie released

https://arstechnica.com/culture/2026/08/r-rated-directors-cut-of-x-files-film-restores-chris-cart...
3•nate•46m ago•0 comments