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

Comments

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

Meta planning layoffs as AI costs mount

https://www.reuters.com/business/world-at-work/meta-planning-sweeping-layoffs-ai-costs-mount-2026...
1•Aboutplants•1m ago•0 comments

Adobe's Statement Regarding the Department of Justice Settlement

https://news.adobe.com/news/2026/03/adobe-statement
1•coolandsmartrr•1m ago•0 comments

Institutional AI vs. Individual AI

https://www.a16z.news/p/institutional-ai-vs-individual-ai
1•gmays•9m ago•0 comments

Volkswagen's first tailored EV rolls out as it retakes the top spot in China

https://electrek.co/2026/03/13/volkswagens-first-custom-ev-rolls-out-after-taking-top-spot-in-china/
1•breve•13m ago•0 comments

AutoContext: closed-loop system for improving agent behavior over repeated runs

https://github.com/greyhaven-ai/autocontext
1•frozenseven•18m ago•0 comments

Autoresearch Home

https://ensue-network.ai/autoresearch
1•vinhnx•19m ago•0 comments

BYD's 5 min fast charging, 500 mile range luxury EV is headed overseas

https://electrek.co/2026/03/13/byd-ev-with-5-min-charging-500-miles-range-heads-overseas/
2•breve•19m ago•0 comments

Show HN: A Claude Skill that teaches Rails conventions for LLM calls

https://github.com/rubyonai/rails-llm-integration
1•nagstler•23m ago•0 comments

(Media over QUIC) on a Boat

https://moq.dev/blog/on-a-boat/
1•mmcclure•24m ago•0 comments

Monty Python Got It Wrong About Medieval Disease

https://www.sciencedaily.com/releases/2026/03/260313002645.htm
2•bookmtn•25m ago•0 comments

Mega-OS – 38-agent operating system that runs inside Claude Code

https://github.com/sly-the-fox/mega-os-public
1•slythefox•27m ago•1 comments

$2B nonprofit grants traced to find who's behind age verification bills

https://old.reddit.com/r/linux/comments/1rshc1f/i_traced_2_billion_in_nonprofit_grants_and_45/
3•spaghetdefects•29m ago•0 comments

Elon Musk's Ketamine Use Can't Be Probed in OpenAI Fraud Trial

https://www.bloomberg.com/news/articles/2026-03-13/elon-musk-s-ketamine-use-can-t-be-probed-in-op...
1•caaqil•30m ago•0 comments

Show HN: SupplementDEX – The Evidence-Based Supplement Database

https://supplementdex.com/
1•richarlidad•30m ago•0 comments

Show HN: I built an interactive 3D three-body problem simulator in the browser

https://structuredlabs.github.io/threebodyproblem/
1•amrutha_•31m ago•1 comments

The Egg (2009)

https://www.galactanet.com/oneoff/theegg_mod.html
1•basilikum•31m ago•0 comments

What happens when an autonomous robotaxi gets into an accident?

https://twitter.com/seventensuited/status/2032134435924295805
1•paulnpace•32m ago•0 comments

The Collapse of the Incentive to Make

https://www.carlos-menezes.com/posts/collapse-of-the-incentive-to-make
1•carlos-menezes•34m ago•0 comments

Spotify Silently Updates Itself (and How to Stop It)

https://duckass.bearblog.dev/how-spotify-silently-updates-itself-and-how-to-stop-it/
1•lschueller•36m ago•1 comments

Let the Code Do the Talking

https://sunilpai.dev/posts/after-wimp/
1•aratahikaru5•37m ago•0 comments

RAM: WTF? (2025)

https://gamersnexus.net/news/ram-wtf
1•pabs3•39m ago•0 comments

Sniffer dogs can detect wildlife trafficking via shipping container air samples

https://phys.org/news/2026-02-sniffer-dogs-wildlife-trafficking-shipping.html
1•PaulHoule•40m ago•0 comments

Instagram to discontinue end-to-end encryption for DMs

https://www.androidpolice.com/instagram-is-getting-rid-of-end-to-end-encryption-for-dms/
2•zugi•41m ago•0 comments

Gallo-Roman dodecahedron: twelve faces, zero answers?

https://nunc.ch/en/gallo-roman-dodecahedron-twelve-faces-zero-answers/
1•az09mugen•43m ago•0 comments

What Does Extreme Wealth Do to the Brain?

https://nymag.com/intelligencer/article/what-does-extreme-wealth-do-to-the-brain.html
1•pseudolus•44m ago•1 comments

Microplastics that accumulate in the body may 'clog up' immune cells

https://www.livescience.com/health/microplastics-that-accumulate-in-the-body-may-clog-up-immune-c...
1•jhncls•45m ago•0 comments

Our Experience with I-Ready

https://moultano.wordpress.com/2026/03/12/our-experience-with-i-ready/
6•barry-cotter•45m ago•1 comments

New gel-based system allows bacteria to act as bioelectrical sensors

https://news.rice.edu/news/2026/new-gel-based-system-allows-bacteria-act-bioelectrical-sensors
1•geox•45m ago•0 comments

Prairieland 19 Case Update

https://www.wewillfreeus.org/prairieland-19-case-update/
1•pabs3•46m ago•0 comments

AMD: WTF? [video]

https://www.youtube.com/watch?v=uJcf2UGCH1w
2•pabs3•48m ago•0 comments