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

Comments

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

Ben Horowitz on What Makes a Great Founder

https://www.youtube.com/watch?v=dFT4xj57D7U
1•Brysonbw•4m ago•0 comments

I scanned 1M domains and found the web's AI instruction layer

https://dialtoneapp.com/2026/april/i-scanned-1M-domains
1•fcpguru•5m ago•0 comments

Quick tutorial to get a blog online from Org Mode thanks to Org Social

https://en.andros.dev/blog/c68f00c3/quick-tutorial-to-get-a-blog-online-from-org-mode-thanks-to-o...
1•ibobev•8m ago•0 comments

Toolchain Horizons: Exploring Rust Dependency-Toolchain Compatibility

https://tigerbeetle.com/blog/2026-04-24-toolchain-horizons/
1•ibobev•9m ago•0 comments

The predictable failure of the QDay Prize

https://algassert.com/post/2601
1•firefly284•9m ago•0 comments

Staying a Spell with the Exidy Sorcerer

https://bumbershootsoft.wordpress.com/2026/04/25/staying-a-spell-with-the-exidy-sorcerer/
1•ibobev•9m ago•0 comments

A weekend with LoRA on Gemma 4 E2B: instrumenting what fine-tuning changes

https://aiexplr.com/post/fine-tuning-5b-code-assistant-three-lessons
1•mailharishin•10m ago•0 comments

New robotic control software avoids jamming their joints

https://arstechnica.com/science/2026/04/kinematic-intelligence-helps-robots-learn-their-limits/
1•Brajeshwar•12m ago•0 comments

The West forgot how to make things, now it's forgetting how to code

https://conduit.arewefriends.org/s/the-west-forgot-how-to-make-things-now-its-forgetting-how-to-8...
1•01-_-•12m ago•0 comments

The Visible Zorker: Zork 1

https://eblong.com/infocom/visi/zork1/
2•PLenz•12m ago•0 comments

One last trip to the internet in 2009 with The Rough Guide 14

https://www.planetjones.net/blog/19-04-2026/one-last-trip-to-the-internet-in-2009-with-the-rough-...
1•planetjones•13m ago•0 comments

I worked just as hard, failed just as hard–then saw it was rigged

https://comuniq.xyz/post?t=996
1•01-_-•14m ago•0 comments

pvlib: Open-source Python library for solar power modeling

https://github.com/pvlib/pvlib-python
1•ep_jhu•17m ago•0 comments

Invincat – terminal AI coding agent with tiered, auditable long-term memory

https://github.com/dog-qiuqiu/invincat
1•qiuqiu123•17m ago•0 comments

MCP Server and CLI for Accessing Work IQ

https://github.com/microsoft/work-iq
2•saikatsg•17m ago•0 comments

IMaySellIt – A marketplace where every listing is offer-only

https://imaysellit.com/
2•imaysellit•21m ago•1 comments

Mali's Tuareg rebels announce deal for Russian Africa Corps withdrawal

https://www.france24.com/en/africa/20260426-new-fighting-erupts-in-north-mali-s-kidal-as-army-cla...
2•mooreds•21m ago•0 comments

Show HN: Jigs-tiny Rust framework for interactive maps of composable pipelines

https://github.com/ValeriaVG/jigs
2•valeriavg_dev•21m ago•0 comments

AI Reverses the Political Logic of the Internet

https://www.techpolicy.press/how-ai-reverses-the-political-logic-of-the-internet/
3•mooreds•22m ago•0 comments

Arctic Temperatures

https://zacklabe.com/arctic-temperatures/
2•mooreds•22m ago•0 comments

LLM Anxiety

https://dheer.co/llm-anxiety/
1•bushido•23m ago•0 comments

Show HN: Kadō – habit tracker app for iOS, open source and privacy-friendly

https://github.com/scastiel/kado
3•scastiel•25m ago•0 comments

An AI agent deleted our production database. The agent's confession is below

https://twitter.com/lifeof_jer/status/2048103471019434248
10•jeremyccrane•27m ago•6 comments

Show HN: I made GAI to have LLM agents in Go without heavy frameworks

https://github.com/lace-ai/gai
2•samuel_kx0•27m ago•0 comments

Tech's richest plan to save themselves after the apocalypse (2018)

https://www.theguardian.com/technology/2018/jul/23/tech-industry-wealth-futurism-transhumanism-si...
2•akyuu•30m ago•0 comments

AI vibe coding vs. AI vibe cracking

https://meshoskey.com/article.html
2•simonjgreen•30m ago•0 comments

The left is missing out on AI

https://www.transformernews.ai/p/the-left-is-missing-out-on-ai-sanders-doctorow-bender-bores
2•peteforde•34m ago•1 comments

Blitting the Night Away: Nichibutsu's Mahjong Koi No Magic Potion

https://nicole.express/2026/more-like-koi-yes-magic-potion.html
2•nicole_express•37m ago•0 comments

Software engineering may no longer be a lifetime career

https://www.seangoedecke.com/software-engineering-may-no-longer-be-a-lifetime-career/
2•lazy-logic•38m ago•0 comments

Europe–not US–first to authorize Moderna's combo mRNA flu-Covid vaccine

https://arstechnica.com/health/2026/04/europe-not-us-first-to-authorize-modernas-combo-mrna-flu-c...
4•akyuu•40m ago•0 comments