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.

Show HN: Orbit – A harness that makes AI coding agents prove their work

https://github.com/human-again/orbit
1•varmahaj•29s ago•0 comments

VS Code: different themes for different filetypes

https://github.com/microsoft/vscode/issues/20652
1•tosh•1m ago•0 comments

Researchers attack AMD's Infinity Fabric to bypass hardware security protections

https://www.tomshardware.com/pc-components/researchers-attack-amds-infinity-fabric-to-bypass-hard...
1•Timofeibu•1m ago•0 comments

Caltrans explores 140mph 'bullet buses' between L.A. and San Francisco

https://secretlosangeles.com/california-140-mph-bullet-buses-la-sf/
1•voxadam•2m ago•0 comments

Kubernetes' Default CoreDNS Configuration Is *Insecure

https://blog.kammel.dev/post/kubernetes_coredns_insecure/
1•datosh•2m ago•0 comments

'It is incredible': How AI is transforming mathematics

https://www.nature.com/articles/d41586-026-01553-1
1•sbulaev•2m ago•0 comments

I built a market digest. Then I asked it about my own portfolio

https://bitinforming.com/blog/dogfooding
1•wombatclat•2m ago•0 comments

Climate report says world won't get as hot as feared but will pass warming limit

https://apnews.com/article/climate-change-future-worst-case-best-danger-cc7a20fba4f5b42ce33024e1b...
1•geox•3m ago•0 comments

Iran demands Big Tech pay fees for undersea Internet cables in Strait of Hormuz

https://arstechnica.com/tech-policy/2026/05/iran-demands-big-tech-pay-fees-for-undersea-internet-...
1•JeanKage•3m ago•0 comments

Show HN: Tribune's Last Stand, a browser-based Warhammer 40K vertical slice

https://tribuneslaststand.com/game/?invite=HACKER-PRIME-HN5
1•jrgrafton•3m ago•0 comments

Mental Models for Data Platform Engineers (Inspired by Poor Charlie's Almanack)

https://dagster.io/blog/the-dagster-almanack-from-complexity-to-composability
1•zazuke•4m ago•0 comments

How do you reduce LLM spam in PR reviews?

1•ImageXav•4m ago•0 comments

Reminiscences on the History of Time-Sharing (1983)

https://www-formal.stanford.edu/jmc/history/timesharing/timesharing.html
1•aragonite•5m ago•0 comments

VaultDeals – scores PC game deals A+ to C+ against all-time historical lows

https://vaultdeals.io
1•Karatekabrave•5m ago•0 comments

The Programming Language for Agents

https://zerolang.ai
1•Marius77•6m ago•0 comments

Going full AI engineer, not touching code anymore

https://max.gp/writing/going-full-ai-engineer-not-touching-code-anymore/
1•maxheyer•7m ago•0 comments

Show HN: Circuit Breaker – runtime cost ceilings for AI agents

https://github.com/MonetiseBG/circuit-breaker
1•joakimOslo•8m ago•0 comments

Type Out the Code

https://haskellforall.com/2026/05/type-out-the-code
1•theanonymousone•9m ago•0 comments

We Rebuilt the Mainframe

https://ethanplant.ca/writing/we-rebuilt-the-mainframe/
1•ethanplant•9m ago•0 comments

NonCam – iPhones Without Cameras

https://noncam.com/?v=0b3b97fa6688
2•davidhariri•10m ago•1 comments

The Palomar Lights

https://comics.phillyharper.com/
1•tardismechanic•10m ago•0 comments

Show HN: I made a 3D pose maker for artists

https://setpose.com/
7•augustvdv•12m ago•0 comments

AI Makes Adding Features Faster – So Why Not Add Just One More?

https://grith.ai/blog/just-one-more-feature
1•edf13•12m ago•0 comments

Biosciences is growing chickens in a 3D-printed container

https://www.technologyreview.com/2026/05/19/1137471/colossal-biosciences-is-growing-chickens-in-a...
1•Brajeshwar•13m ago•0 comments

Show HN: Burn – find where your Kubernetes cluster is burning money

https://github.com/tanrikuluozlem/burn
1•OzlemT•13m ago•0 comments

Ask HN: Go all in on startup idea, or stay W2

1•Mnexium•13m ago•0 comments

Show HN: - MagesticAI – Spec-driven development with AI agents

https://github.com/dataseeek/MagesticAI
1•dataseek•13m ago•0 comments

The Genesis of TerraMorphz

https://iryanbell.com/posts/2026-05-18-terramorphz-genesis
1•iryanbell•14m ago•0 comments

Show HN: FocusLive – Camera-free 3D body doubling using Supabase Realtime

https://www.focuslive.app/realtime
1•coder97•15m ago•0 comments

Tokenomics: The 62.5-minute rule for Claude's cache

https://skids.dev/blog/anthropic-cache-tokenomics/
1•gmays•15m ago•0 comments