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.

Ubuntu 26.04 Showing Nice Gains over Ubuntu 25.10 on AMD Ryzen 9000 Series

https://www.phoronix.com/review/ubuntu-2510-2604-zen5
1•teleforce•46s ago•0 comments

Pi: Another AI agent toolkit, but this one is interesting

https://github.com/badlogic/pi-mono
1•modinfo•1m ago•0 comments

There may be 10 times as many citizen scientists in Australia as we thought

https://theconversation.com/there-may-be-10-times-as-many-citizen-scientists-in-australia-as-we-t...
2•defrost•2m ago•0 comments

Polymarket

https://en.wikipedia.org/wiki/Polymarket
1•DyslexicAtheist•6m ago•0 comments

Ask HN: Does anyone else notice that gas runs out faster than usual

1•cat-turner•7m ago•0 comments

The Texas Lawyer and Part-Time Pastor Who Beat Meta and Google

https://www.wsj.com/us-news/law/the-texas-lawyer-and-part-time-pastor-who-beat-meta-and-google-82...
1•tolerance•12m ago•0 comments

ASML plans 1,700 job cuts as it restructures teams

https://www.techinasia.com/news/asml-plans-1700-job-cuts-as-it-restructures-teams
1•markus_zhang•13m ago•0 comments

The Blackwall Between Your AI Agent and Your Filesystem

https://www.wshoffner.dev/blog/greywall
1•ticktockbent•14m ago•0 comments

Boltcli – Bolt Food orders from the terminal (reverse-engineered API)

https://github.com/Lukynnnn/boltcli
1•Lukynnnn•17m ago•0 comments

PostMac – AI-native development, trunk-based Git, 12-factor philosophy

https://github.com/tdsanchez/PostMac
1•tdsanchez•19m ago•1 comments

Bob Dylan's AI "Lectures from the Grave" Review: An Accidental Warning

https://consequence.net/2026/03/bob-dylan-ai-lectures-from-the-grave-review/
1•coloneltcb•25m ago•0 comments

Error messages are an underrated part of agent experience

https://www.knut.fyi/blog/2026-03-30/agentic-developer-experience-starts-with-your-system
2•jeffinpdx•25m ago•1 comments

Ask HN: Anyone getting random quotes from U-Haul while their website is down?

1•phyzix5761•25m ago•0 comments

iOS 26.4 Autocorrect Updates

https://www.wsj.com/tech/apple-iphone-autocorrect-update-7659d618
2•daviesgeek•28m ago•0 comments

Show HN: HackerOne Silent-Patched My Critical BOLA and Banned Me

https://github.com/guardiankali/HackerOne-Silent-Patch-Exposed/blob/main/Critical.README.md
2•Salamalto•29m ago•0 comments

The Nginx default page hides 5 clues that lead to same 24-word BIP39 mnemonic

https://bip39-recast.pages.dev/wwwroot/
2•imcotton•30m ago•0 comments

Anarchist Calisthenics

https://harpers.org/archive/2012/12/anarchist-calisthenics/
2•theopsimist•32m ago•0 comments

They Believed They Found $500M in Civil War Gold. Then the FBI Swooped In(2025)

https://www.popularmechanics.com/adventure/a69762000/treasure-hunters-find-gold-fbi/
2•Jimmc414•33m ago•0 comments

Sedan (Nuclear Test)

https://en.wikipedia.org/wiki/Sedan_(nuclear_test)
2•JumpCrisscross•34m ago•0 comments

California Counties and Cities Comparison

https://trekhleb.dev/cali-vibe/
2•okso_app•35m ago•0 comments

Books and Screens

https://aeon.co/essays/what-we-think-is-a-decline-in-literacy-is-a-design-problem
3•bookofjoe•37m ago•0 comments

PocketMage PDA CrowdSupply

https://www.crowdsupply.com/talisman-design/pocketmage
2•caminanteblanco•37m ago•0 comments

StarRocks Is Not Enterprise Ready

https://dataengineeringguide.substack.com/p/starrocks-celerdata-not-enterprise-ready-2026
3•amandagerdes•38m ago•0 comments

Show HN: Codemaxxing – Maximize your slop abilities

https://github.com/jshchnz/codemaxxing
4•jshchnz•39m ago•0 comments

Long-Context Isn't the Answer

https://www.humanlayer.dev/blog/long-context-isnt-the-answer
2•arbayi•44m ago•0 comments

Wisp: WebAssembly Lisp

https://github.com/DavidLiedle/WISP
3•DavidCanHelp•44m ago•0 comments

Apollo's impatient old-timers are rooting for NASA's return to the moon

https://apnews.com/article/apollo-artemis-nasa-moon-6fd9cb210d40c59a729d5103c0994351
6•devonnull•44m ago•0 comments

FreeBSD Forums Hacked

https://mastodon.social/@nixCraft/116319158100665914
4•PortableCode•45m ago•0 comments

AI's capability improvements haven't come from it getting less affordable

https://www.lesswrong.com/posts/E6ELHguZFNF3Czp55/ai-s-capability-improvements-haven-t-come-from-...
2•gmays•48m ago•0 comments

OpenAI introduces a Codex plugin for Claude Code

https://twitter.com/reach_vb/status/2038670509768839458
4•adamfeldman•55m ago•1 comments