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.

Google ordered to put clearer links in AI search and let UK publishers opt out

https://arstechnica.com/tech-policy/2026/06/google-ordered-to-put-clearer-links-in-ai-search-and-...
1•alexcason•1m ago•0 comments

Show HN: Switch skills between agents, locally manage multiple configs

https://github.com/tilework-tech/nori-skillsets
1•theahura•2m ago•0 comments

Casual experiment hint that models seem to search for different stuff

https://spock.is/writing/reverse-mullet
1•BenediktHolm•3m ago•0 comments

Big Tech's big flop on primary night

https://www.politico.com/news/2026/06/03/tech-favored-candidates-fell-short-on-californias-primar...
1•cdrnsf•4m ago•0 comments

In first, California city overwhelmingly votes to permanently ban datacenters

https://www.theguardian.com/us-news/2026/jun/03/california-monterey-park-datacenters-ban
1•cdrnsf•4m ago•0 comments

Ask HN: What are all the ways to punch through NAT?

1•jupr•5m ago•0 comments

BQN: Primitive Overloading

https://mlochbaum.github.io/BQN/commentary/overload.html
1•tosh•6m ago•0 comments

VoidZero Is Joining Cloudflare

https://voidzero.dev/posts/voidzero-cloudflare
6•patrikcsak•6m ago•0 comments

The Worst-Case Future for White-Collar Workers

https://www.theatlantic.com/ideas/2026/02/ai-white-collar-jobs/686031/
2•Michelangelo11•6m ago•0 comments

The Fullers of Ancient Rome

https://www.worldhistory.org/article/46/the-fullers-of-ancient-rome/
1•thunderbong•8m ago•0 comments

Show HN: Hydron – Hardware-aware coding agent

https://www.hydron.sh/
2•prashantsengar•8m ago•0 comments

'Bots have now passed human traffic online,' Cloudflare boss laments

https://www.tomshardware.com/tech-industry/artificial-intelligence/bots-have-now-passed-human-tra...
2•pseudolus•8m ago•0 comments

Nemotron 3 Ultra: Open Moe Hybrid Mamba-Transformer for Agentic Reasoning [pdf]

https://research.nvidia.com/labs/nemotron/files/NVIDIA-Nemotron-3-Ultra-Technical-Report.pdf
2•victormustar•8m ago•0 comments

Data Science Weekly – Issue 654

https://datascienceweekly.substack.com/p/data-science-weekly-issue-654
1•sebg•9m ago•0 comments

An Interview with Brian Daugherty (Of Google)

https://ciamweekly.substack.com/p/an-interview-with-brian-daugherty
1•mooreds•10m ago•0 comments

Enforcing the First as in BGP AS_PATHs

https://blog.cloudflare.com/enforce-first-as-bgp/
2•berlianta•10m ago•0 comments

Entanglement Builds Space-Time. Now "Magic" Gives It Gravity

https://www.quantamagazine.org/entanglement-builds-space-time-now-magic-gives-it-gravity-20260603/
1•pseudolus•10m ago•0 comments

The Miracle on Mount Everest – Hillary Dawa Sperpa Found Alive

https://mttv.substack.com/p/miracle-on-mount-everest
1•GDNews503AD•10m ago•0 comments

Truncated Photon

https://journals.aps.org/prl/accepted/10.1103/94pm-hp34
1•bookofjoe•10m ago•0 comments

Docs AI that routes context with a nano model instead of a vector DB

https://linkshift.app/docs
1•p-zielinski•10m ago•0 comments

Being a Human Engineer in the AI Era

https://jeanhsu.substack.com/p/being-a-human-engineer-in-the-ai
2•mooreds•10m ago•0 comments

Everything You Need to Know about the Tickler File

https://facilethings.com/blog/en/the-tickler-file
1•ankitg12•11m ago•0 comments

Bitcoin Has Longest Losing Streak Since August in Bruising Week

https://www.bloomberg.com/news/articles/2026-06-04/bitcoin-btc-falls-to-pre-iran-conflict-low-as-...
3•1vuio0pswjnm7•12m ago•0 comments

Researchers show how AI-powered worms could wreak havoc on the internet

https://www.engadget.com/2186363/researchers-show-how-ai-powered-worms-could-wreak-havoc-on-the-i...
1•mooreds•12m ago•0 comments

AI Info Remover for Images

https://wype.online/
1•minhazkhaled•12m ago•0 comments

PostgreSQL 19 Beta 1 Released

https://www.postgresql.org/about/news/postgresql-19-beta-1-released-3313/
3•jkatz05•12m ago•0 comments

Cadillac – a coding agent that runs the app and tests user flows b4 shipping

https://github.com/mtecnic/cadillac
1•mtecnic•13m ago•0 comments

Design from the Inside

https://mattstromawn.com/writing/design-from-the-inside/
1•speckx•13m ago•0 comments

VoidZero Is Joining Cloudflare

https://blog.cloudflare.com/voidzero-joins-cloudflare/
9•coloneltcb•14m ago•1 comments

It Was Never About Coding. It Was Always About Design Thinking

https://saigaddam.medium.com/it-was-never-about-coding-it-was-always-about-design-thinking-afb609...
1•ChaitanyaSai•14m ago•0 comments