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.

.genome: a genome file format designed for AI (Apache-2.0)

https://genome.computer/research/introducing-dot-genome
1•superficialdave•27s ago•1 comments

If America's So Rich, How'd It Get So Sad?

https://www.derekthompson.org/p/if-americas-so-rich-howd-it-get-so
1•momentmaker•1m ago•0 comments

Why prediction markets are a sure sign that our civilisation is in decay

https://www.joanwestenberg.com/why-prediction-markets-are-a-sure-sign-that-our-civilisation-is-in...
1•alcazar•3m ago•0 comments

Zork-bench: An LLM reasoning eval based on text adventure games

https://www.lowimpactfruit.com/p/zork-bench-an-llm-reasoning-eval
1•mnky9800n•4m ago•0 comments

Unkey raised $4.5M to ship APIs, not infrastructure

https://www.unkey.com/blog/unkey-raises-seed
2•jamesperkins•6m ago•0 comments

France confirms data breach at government agency that manages citizens' IDs

https://techcrunch.com/2026/04/22/france-confirms-data-breach-at-government-agency-that-manages-c...
2•robtherobber•7m ago•0 comments

#008: Design Is a Generous Gift

https://metedata.substack.com/p/008-design-is-a-generous-gift
1•young_mete•7m ago•0 comments

Context Engineering and the Limits of Agentic Coding

https://stephenfritz.dev/blog/context-engineering/
1•conner_bw•7m ago•0 comments

Why Onboarding Flow Is the New Signup Form

https://uxmovement.substack.com/p/why-onboarding-flow-is-the-new-signup
1•antux•8m ago•0 comments

Johny Srouji Named Apple's Chief Hardware Officer

https://www.apple.com/newsroom/2026/04/johny-srouji-named-apples-chief-hardware-officer/
1•wslh•9m ago•0 comments

NY sues Coinbase and Gemini to halt unlicensed prediction market businesses

https://apnews.com/article/prediction-markets-coinbase-gemini-lawsuit-new-york-25fa0db90266f4ecf9...
3•1vuio0pswjnm7•10m ago•0 comments

Texas a&M's H-1B Spending Sparks Debate over Jobs and Transparency

https://dallasexpress.com/education/texas-ams-h-1b-spending-sparks-debate-over-jobs-and-transpare...
2•rawgabbit•10m ago•1 comments

Finra Adopts New Standards to Replace the Day Trading Margin Requirements

https://www.finra.org/rules-guidance/notices/26-10
1•hentrep•10m ago•0 comments

Desktop Powered by Hashing

https://starlight-ai.freemyip.com/sandbox/4c91530a5083a463798865d9f357d473d5318fe683784a390a48a2d...
2•macroadster•11m ago•0 comments

Developer Builds Script That Calls Back Spam Callers in Endless Loop [video]

https://www.youtube.com/shorts/3zyng3lqNAs
1•thunderbong•11m ago•0 comments

Show HN: Interactive knowledge graph for the AAuth (Agent Auth) protocol

https://mcp-shark.github.io/aauth-explorer/
1•0xchamin•13m ago•0 comments

I spent 6 years building my Kanban as I hated how managers run the boards

https://www.npmjs.com/package/ooko
2•okovooo•13m ago•1 comments

The unflattering secrets revealed so far in Elon Musk's latest legal feud

https://web.archive.org/web/20260423124533/https://www.washingtonpost.com/technology/2026/04/23/m...
1•1vuio0pswjnm7•16m ago•0 comments

AWS/Azure IAM Audit Automation – Lessons from the ShinyHunters Breach

https://cyberalert.com.pl/articles/iam-audit-multicloud-shinyhunters-2026-en.html
1•D__S•19m ago•0 comments

Train separately, merge together: Modular post-training with mixture-of-experts

https://allenai.org/blog/bar
1•gmays•19m ago•0 comments

Breathing in nanoparticles could enable a 10-minute pneumonia check

https://phys.org/news/2026-03-nanoparticles-enable-minute-pneumonia.html
1•PaulHoule•19m ago•0 comments

Atlassian Expands Partnership with Google Cloud to Power Agentic AI

https://www.googlecloudpresscorner.com/2026-04-22-Atlassian-Expands-Partnership-with-Google-Cloud...
2•marcosscriven•20m ago•0 comments

Microsoft plans first voluntary employee buyout in company's 51-year history

https://www.cnbc.com/2026/04/23/microsoft-plans-first-voluntary-retirement-program-for-us-employe...
2•1vuio0pswjnm7•20m ago•2 comments

How to Grep Video

https://blog.cloudglue.dev/how-to-grep-video/
5•mrmarket•20m ago•0 comments

Ask HN: How to reduce human bottle neck in solo game dev

1•pennystudio-li•21m ago•0 comments

We rebuilt our Electron recording engine in Swift

https://circleback.ai/blog/how-we-rebuilt-our-electron-recording-engine-in-swift
1•arguiot•21m ago•0 comments

AI Model and 'MAGA' Influencer Emily Hart Unmasked as Indian Man

https://www.mandatory.com/news/1761666-maga-influencer-ai-model-emily-hart-unmasked-indian-man
3•CharlesW•22m ago•0 comments

What you can do in a decade

https://www.swyx.io/decade
1•AnhTho_FR•23m ago•0 comments

Google's opt-out cookies still ignored, 15 years later

https://jackyan.com/blog/2026/04/googles-opt-out-cookies-still-ignored-15-years-later/
4•speckx•24m ago•0 comments

LLM users mistake AI output for their own real skill

https://arxiv.org/abs/2604.14807
1•linkregister•24m ago•0 comments