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.

How to Kill the Code Review

https://www.latent.space/p/reviews-dead
1•swyx•1m ago•0 comments

Yahoo Scout Beta

https://scout.yahoo.com
1•broabprobe•1m ago•0 comments

CreeperGIT

https://git.creepernet.qzz.io
1•heckersdata•3m ago•0 comments

The Remaking of Thomas Mann

https://www.commonwealmagazine.org/thomas-mann-magic-mountain-jensen
1•benbreen•3m ago•0 comments

Code Corners: A platform-agnostic alternative to GitHub Corners

https://codecorners.rknight.me
1•rknightuk•6m ago•0 comments

Show HN: M8tes.ai – AI teammates that do your work

https://www.m8tes.ai/
1•JacobCreator•6m ago•0 comments

Prolonged U.S.-Iran conflict could trigger major energy shock in eurozone

https://nltimes.nl/2026/03/02/ing-prolonged-us-iran-conflict-trigger-major-energy-shock-eurozone
1•TechTechTech•7m ago•0 comments

Does the war on Iran prove it's time to quit oil for good?

https://www.euronews.com/2026/03/02/a-world-chained-to-fossil-fuels-does-the-war-on-iran-prove-it...
1•doener•11m ago•0 comments

The 185-Microsecond Type Hint

https://blog.sturdystatistics.com/posts/type_hint/
3•kianN•14m ago•1 comments

Welcome to My Virtual Office

https://valerii15298.github.io/
1•mooreds•15m ago•0 comments

Will AI Replace You?

https://candidate.perfectly.so/roast
1•lopespm•15m ago•0 comments

Show HN: ThinkFirst – The Anti-ChatGPT for Students

https://apps.apple.com/us/app/thinkfirst-ai-homework-help/id6759180853
1•alibasharat5•15m ago•0 comments

What to know about the Strait of Hormuz

https://apnews.com/article/strait-hormuz-iran-energy-war-5b60e82ef2fc68e2b43aa570a32404dd
1•mooreds•15m ago•0 comments

ToolMisuseBench: A deterministic benchmark for tool-augmented Agents

https://huggingface.co/datasets/sigdelakshey/ToolMisuseBench
1•akgitrepos•16m ago•2 comments

Deception, Lies, and Valve [video]

https://www.youtube.com/watch?v=13eiDhuvM6Y
1•streetfighter64•17m ago•0 comments

Music Streaming Economics: 6.9M Streams and a Full Cross‑Platform Payout Dataset

https://www.lackluster.org/support/
1•conner_bw•18m ago•0 comments

8th Wall is now open source

https://8thwall.org/
1•2001zhaozhao•19m ago•0 comments

Show HN: Drawbridge – Drop-In SSRF Protection for Python

https://github.com/tachyon-oss/drawbridge
1•logicx24•19m ago•0 comments

Show HN: Veread – A minimal RSS reader for web. No sign ups. No downloads

https://veread.com/
1•vasanthv•19m ago•0 comments

1 Dataset 100 Visualizations

https://100.datavizproject.com/
1•bookofjoe•19m ago•0 comments

Building a Software Career in an LLM World

https://sumnerevans.com/posts/software-engineering/building-swe-career-in-llm-world/
1•chilipepperhott•20m ago•0 comments

Ask HN: How are you preventing runaway LLM workflows in production?

1•HenryM12•21m ago•0 comments

Associated Press Announces It's Teaming Up with Kalshi Ahead of the Midterms

https://www.mediaite.com/media/news/ap-announces-its-teaming-up-with-prediction-market-site-kalsh...
1•terminalbraid•24m ago•0 comments

Why (and how) we built 3 AI agents into our product

https://getlago.com/blog/building-ai-is-hard
2•FinnLobsien•26m ago•0 comments

February 2026: Bitcoin fell 24%. Nothing in crypto infrastructure broke

https://thefutureofmoney.substack.com/p/the-monetary-blueprint-6-cryptos
2•futureofmoney•26m ago•0 comments

YCombodogpatchrental

1•gekahng•29m ago•0 comments

Only 526 AI tools are in the topM most-visited websites

https://airankings.co
2•chadlad101•29m ago•1 comments

Ask HN: How do you get better at coding agents?

3•twitchard•29m ago•0 comments

This Month in Ladybird – February 2026: Adopting Rust for LibJS

https://ladybird.org/newsletter/2026-02-28/
1•exploraz•29m ago•0 comments

Show HN: Vanilla JavaScript refinery simulator built to explain job to my kids

1•fuelingcurious•30m ago•0 comments