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.

I think AI is pushing me toward the AGPL – by Julio Merino

https://blogsystem5.substack.com/p/ai-and-agpl-licensing
1•rbanffy•1m ago•0 comments

UK abandons police database cloud move after £35M transformation stalls

https://www.theregister.com/public-sector/2026/05/08/uk-abandons-police-database-cloud-move-after...
2•latein•4m ago•0 comments

ActCam: Zero-Shot Joint Camera and 3D Motion Control for Video Generation

https://arxiv.org/abs/2605.06667
1•danborn26•5m ago•0 comments

Media over QUIC Demo

https://hang.live/
1•simonpure•6m ago•0 comments

Sketchpad

https://en.wikipedia.org/wiki/Sketchpad
1•tosh•7m ago•0 comments

Here's why all flyers should be worried if Spirit Airlines goes away (2025)

https://www.cnn.com/2025/08/17/business/spirit-airlines-air-fare-impact
2•thunderbong•16m ago•0 comments

Show HN: CADBench – every AI CAD tool I tested fails on basic mechanical parts

https://evals-for-ai-cads.vercel.app/
1•ryanrana•16m ago•0 comments

Show HN: Local AI search for your video library (Lifetime license)

https://edit-mind.com
1•iliashad•19m ago•1 comments

Kill your onboarding: selling to 10k new users a day

https://twitter.com/Railway/status/2052522801693958460
1•yakkomajuri•20m ago•0 comments

Shadowrun Boston Unlocked

https://hooby.blog/posts/shadowrun-boston-unlocked/
2•hooby•23m ago•1 comments

Occupations with the Highest Divorce Rates

https://flowingdata.com/2026/05/07/divorce-and-occupation-2026/
2•Willingham•25m ago•0 comments

devrage: Count how many times you swear at coding agents

https://www.npmjs.com/package/devrage
2•yakkomajuri•27m ago•0 comments

Show HN: Cable Detective

https://apps.apple.com/at/app/cable-detective/id6765963737?mt=12
1•franze•30m ago•0 comments

Record Handling (1966) [pdf]

https://archive.computerhistory.org/resources/text/Knuth_Don_X4100/PDF_index/k-9-pdf/k-9-u2293-Re...
1•tosh•33m ago•0 comments

Internet Archive Switzerland

https://internetarchive.ch/
25•hggh•36m ago•8 comments

20 years after the BBC mix-Up, Guy Goma's story becomes a book

https://www.youtube.com/watch?v=VO0kaSHAOSE
1•heldrida•36m ago•0 comments

The Atari 800 – By Paul Lefebvre

https://www.goto10retro.com/p/inside-the-atari-800
3•rbanffy•37m ago•0 comments

No Dumb Questions: What is an MCP server and why do I care?

https://stackoverflow.blog/2026/05/08/no-dumb-questions-mcp/
2•mc-serious•39m ago•0 comments

Mouse Wheel Tweaks

https://mcpedl.com/mouse-wheel-tweaks/
1•davimedeiros•40m ago•0 comments

What if there was no BASIC in EndBASIC? – by Julio Merino

https://blogsystem5.substack.com/p/no-basic-in-endbasic
3•rbanffy•41m ago•0 comments

Evaluating Geekbench 6 – By Chester Lam

https://chipsandcheese.com/p/evaluating-geekbench-6
1•rbanffy•41m ago•0 comments

Breaking Jolt's Verifier with an Unbound Uni-Skip Claim

https://blog.zksecurity.xyz/posts/jolt-uniskip-bug/
1•baby•42m ago•0 comments

Ask HN: What is the underlying stack behind multi-agent platforms?

2•throwaw12•47m ago•0 comments

Show HN: nocal is a calendar that turns your week into a workspace

https://nocal.app/
1•bcmuse•48m ago•0 comments

Simplex Algorithm

https://en.wikipedia.org/wiki/Simplex_algorithm
1•tosh•48m ago•0 comments

Capacity

https://dahl.dev/capacity
2•aleda145•51m ago•0 comments

Another Israeli terrorist attacking a school

https://twitter.com/swilkinsonbc/status/2052752104817603002
6•juliusceasar•56m ago•3 comments

Forking the Web

https://dillo-browser.org/lab/web-fork/
9•wrxd•1h ago•2 comments

The Rebels Who Fought Enterprise Java – Spring: The Documentary [video]

https://www.youtube.com/watch?v=0Gb1z-2SjHY
1•arbayi•1h ago•0 comments

Show HN: Anycrap – REST API for 35k absurdist AI-generated products

https://anycrap.shop/developers
3•astrokaf•1h ago•0 comments