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•9mo ago

Comments

llm-exe•9mo 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•9mo 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.

The Found Report: A Look Inside America's Lost Luggage

https://www.unclaimedbaggage.com/pages/2026-found-report
1•SeanLang•21s ago•0 comments

Load-Bearing Walls

https://brianschrader.com/archive/load-bearing-walls/
1•sonicrocketman•27s ago•0 comments

Maybe All You Need Is the Friends You Made Along the Way

https://oooooooo.my/ayn.html
1•hpwfranks•30s ago•0 comments

Formalizing Data Structures and Algorithms with Agents

https://risemsr.github.io/blog/2026-03-06-autoclrs/
1•matt_d•57s ago•0 comments

Civic.games – Browser playable governance simulations

https://abeer1904.github.io/ai-race/
1•jimsojim•1m ago•0 comments

Ask HN: What Happened to xAI?

1•zof3•1m ago•0 comments

An OpenClaw skill for think-tank style analysis of crises like the Iran war

https://github.com/vassiliylakhonin/global-think-tank-analyst
1•vassilbek•2m ago•1 comments

Longest snake ever measured is over 23.5 feet long

https://www.popsci.com/environment/longest-snake-in-the-world/
1•bookofjoe•2m ago•0 comments

Six Selfish Reasons to Have Kids

https://kevinkelly.substack.com/p/six-selfish-reasons-to-have-kids
1•surprisetalk•5m ago•0 comments

The MIT Flea Swapfest 2026 Dates

https://web.mit.edu/w1mx/www/swapfest/flyer-2026.txt
1•oldnetguy•6m ago•0 comments

Ask HN: Optimizing Claude Code Workflow: Subscription or API Billing?

1•robeym•6m ago•0 comments

N times faster than C, Arm edition (2023)

https://blog.xoria.org/n-times-faster/
1•surprisetalk•6m ago•0 comments

Trapped in MS Office

https://ia.net/topics/trapped-in-ms-office
1•surprisetalk•6m ago•0 comments

Why haven't π±e, 2^e, π^e, or π^(√2) been shown to be irrational?

https://old.reddit.com/r/math/comments/d6xvk/why_havent_%CF%80e_2e_%CF%80e_or_%CF%802_been_shown_...
1•surprisetalk•6m ago•0 comments

We Tried Sitting on the Floor for 5 Years and Here's What Happened [video]

https://www.youtube.com/watch?v=L_9oU88UH_I
1•airstrike•6m ago•0 comments

Show HN: Gui.new – The Visual Layer for AI

https://gui.new
3•mynameisntbob•7m ago•1 comments

Ask HN: What is your current Agentic and/or Vibe coding setup?

1•sschueller•7m ago•0 comments

Black vs. White Gloss Chest: Pick a Tone to Match Your Style

https://dreamhomestore.co.uk/collections/chest-of-drawers
1•kevinwalton•8m ago•1 comments

Click-to-Release Strategy to Control Bond Cleavage and Prodrug Activation

https://onlinelibrary.wiley.com/doi/10.1002/anie.202515594
1•PaulHoule•9m ago•0 comments

Forge – OpenClaw for Enterprise

https://github.com/initializ/forge
1•ibreakthecloud•10m ago•0 comments

Sutton and Barto, Ch. 11: Off-Policy Methods with Approximation (Personal Notes)

https://chizkidd.github.io//2026/03/09/rl-sutton-barto-notes-ch011/
1•ibobev•12m ago•0 comments

Rebasing in Magit

https://entropicthoughts.com/rebasing-in-magit
6•ibobev•13m ago•0 comments

Vibe Coding: Build Fast, Think Slow

https://www.ssp.sh/brain/vibe-coding/
2•articsputnik•16m ago•0 comments

BullshitBench: Models Answering Nonsense Questions

https://petergpt.github.io/bullshit-benchmark/viewer/index.html
1•cebert•16m ago•0 comments

What happens when AI mediates everything?

1•spamsch•16m ago•1 comments

Stop Prompting. Start Approving

https://www.sustn.app/
2•mooreds•18m ago•0 comments

Show HN: Üben – Free offline app for drilling German noun articles (der/die/das)

https://uben.westmorelandcreative.com
1•richard_w•19m ago•0 comments

Is iCloud's Free tier still 5GB since 2011?

https://www.isicloud5gb.lol/
1•vashchylau•19m ago•0 comments

Self-hosted TTS proxy and voice manager

https://github.com/celanthe/clarion
1•mooreds•19m ago•0 comments

Germany's Solar Boom Eases Power Costs as Gas Price Jumps

https://www.bloomberg.com/news/articles/2026-03-06/germany-s-solar-boom-eases-power-costs-as-gas-...
12•toomuchtodo•20m ago•5 comments