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•1y ago

Comments

llm-exe•1y 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•1y 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.

DHS Quits Granting Green Cards–Almost

https://www.cato.org/blog/dhs-quits-granting-green-cards-almost-entirely
1•malshe•47s ago•0 comments

How to make a mint off the coming higher ed contraction

https://hollisrobbinsanecdotal.substack.com/p/how-to-make-a-mint-off-the-coming
1•HR01•1m ago•0 comments

Ccost – a Rust TUI to browse Claude Code logs and track API costs Body

https://github.com/peterxcli/ccost
1•peterxcli•3m ago•0 comments

Scaling Creativity in the Age of AI

https://www.technologyreview.com/2026/05/21/1137613/scaling-creativity-in-the-age-of-ai/
1•joozio•3m ago•0 comments

„Rust is gonna save the Linux kernel." – GKH

https://corrode.dev/podcast/s06e04-rust4linux/
1•MrBuddyCasino•4m ago•0 comments

Zero – Programming Language for Agents

https://github.com/vercel-labs/zerolang
1•xendo•5m ago•0 comments

SSCV Sleipnir

https://en.wikipedia.org/wiki/SSCV_Sleipnir
1•vintagedave•6m ago•0 comments

The Enhanced Games fit right in with the rest of 2026's longevity vibes

https://www.technologyreview.com/2026/05/22/1137753/the-enhanced-games-fit-right-in-with-the-rest...
1•joozio•7m ago•0 comments

NASA to Compete Contract for Jet Propulsion Laboratory Management

https://www.nasa.gov/news-release/nasa-to-compete-contract-for-jet-propulsion-laboratory-management/
1•geox•12m ago•0 comments

Show HN: I built a powerful RAG and knowledge graph agent that runs locally

1•GabrielBlessed•13m ago•1 comments

The Technological Republic, in Brief

https://twitter.com/PalantirTech/status/2045574398573453312
1•ColinWright•14m ago•0 comments

First, Do No Harm

https://netwars.pelicancrossing.net/2026/05/22/first-do-no-harm/
1•ColinWright•15m ago•0 comments

What Is the Thread Reaper?

https://devblogs.microsoft.com/oldnewthing/20231031-00/?p=108944
1•vintagedave•15m ago•0 comments

The Download: coding's future, the 'Steroid Olympics,' and AI-driven science

https://www.technologyreview.com/2026/05/22/1137845/the-download-coding-future-steroid-olympics-a...
1•joozio•17m ago•0 comments

"Plaything of the Gods"

https://publicdomainreview.org/collection/pushball/
2•jruohonen•21m ago•0 comments

US tech firms share Dutch regulator officials' names with Senate

https://www.dutchnews.nl/2026/05/us-tech-firms-share-dutch-regulator-officials-names-with-senate/
8•zqna•21m ago•0 comments

Edge-native news platform with a JWT paywall running Fastly's edge stack

https://www.the-daily-edge.com/
1•saschanowak•23m ago•0 comments

Vibe Infrastructure will not cut it – we need proof based platform engineering

https://ingresslabs.github.io/torque/blog-agentic-proof-gated-change-control.html
1•acarlini•23m ago•0 comments

Claude Mythos Preview Uncovers 10k High-Risk Software Vulnerabilities

https://www.ibtimes.sg/anthropics-claude-mythos-preview-uncovers-10000-high-risk-software-vulnera...
1•bhartipoddar•29m ago•0 comments

Funding the Web: From Cartel to Covenant

https://ftw.fund/report.html
1•rapnie•31m ago•0 comments

Stephen Hawking's father worried his son 'does not study much', diaries reveal

https://www.theguardian.com/science/2026/may/23/stephen-hawking-father-worried-son-does-not-study...
2•pieterr•33m ago•0 comments

Bun in Rust is better than the original

https://twitter.com/jarredsumner/status/2058117201400562152
2•tosh•34m ago•1 comments

AI doesn't divide developers – it just reveals them

https://overco.de/posts/ai-doesnt-divide-developers-it-just-reveals-them/
1•fred1268•36m ago•0 comments

Fast, portable, non-Turing complete expression evaluation with gradual typing

https://github.com/google/cel-go
1•tjek•38m ago•0 comments

Quicksand

https://en.wikipedia.org/wiki/Quicksand
2•cl3misch•43m ago•0 comments

Most people seeking green cards must now apply from outside US

https://www.bbc.com/news/articles/cgrpz4l1klgo
3•Lyngbakr•48m ago•0 comments

COMP 115: Databases

https://geophile.com/115/
1•tosh•52m ago•0 comments

Prompt engineering is dead, but Claude still tries

https://blog.exe.dev/prompt-engineering-is-dead
2•helloplanets•52m ago•0 comments

Human factors comparison of a procedural and nonprocedural query language (1981)

https://dl.acm.org/doi/10.1145/319628.319656
1•tosh•57m ago•0 comments

Cool New AI Meetup

https://greenvilleAI.coffee/
1•andytratt•1h ago•0 comments