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.

Google claims to have all the answers for enterprise AI agent sprawl

https://www.theregister.com/2026/04/22/google_enterprise/
1•Brajeshwar•1m ago•0 comments

The SPLC indictment, the Klan history behind it, and ignominy of Todd Blanche

https://www.lawdork.com/p/splc-indictment-united-klans-of-america
1•bryanrasmussen•3m ago•0 comments

A $440k Breast Reduction: How Doctors Cashed in on a Consumer Protection Law

https://www.nytimes.com/2026/04/22/us/politics/doctors-insurers-arbitration.html
1•kevinwang•4m ago•0 comments

Ask HN: Find a Claude skill is so hard

1•chunpaiyang•6m ago•1 comments

Proofs Are Programs: A Few Examples of the Curry-Howard Correspondence

https://adueck.github.io/blog/curry-howard-proofs-are-programs/
1•birdculture•6m ago•0 comments

Tailwind CSS v4: A Complete Migration Guide

https://news.ycombinator.com/submit
1•Craftly•11m ago•1 comments

Jeffrey Epstein's name appears twice on a 2015 Silicon Valley dinner invite

https://hebrewhorror.substack.com/p/the-eternal-jew-the-eternal-jeff
1•meandthemajor•14m ago•0 comments

My extension got crickets here, but just got Google's Featured badge

https://chromewebstore.google.com/detail/nexopad-expansor-de-texto/jjjmhgbdbepmledkcoalkfhnnnoignca
1•rychzx•14m ago•1 comments

New Gas-Powered Data Centers Could Emit More Greenhouse Gas Than Nations

https://www.wired.com/story/new-gas-powered-data-centers-could-emit-more-greenhouse-gases-than-en...
3•voxadam•18m ago•0 comments

Ask iFixit: How Do I Fix Sticky Plastics?

https://www.ifixit.com/News/93833/ask-ifixit-how-do-i-fix-sticky-plastics
2•yladiz•18m ago•0 comments

France's 'Secure' ID agency probes breach as crooks claim 19M records

https://www.theregister.com/2026/04/22/frances_secure_id_agency_probes/
2•Brajeshwar•18m ago•0 comments

Tesla lithium refinery discharge contains toxic metals, district demands halt

https://electrek.co/2026/04/21/tesla-lithium-refinery-toxic-metals-wastewater-texas/
3•breve•21m ago•0 comments

Show HN: Sift – save AI tokens in Codex/Claude by summarizing command output

https://github.com/panpeter/sift-skill
1•piotrwilczek•22m ago•1 comments

Alby AI Transport

https://ably.com/ai-transport
1•handfuloflight•22m ago•0 comments

Chat-py: A Python port of Vercel's chat SDK

https://github.com/desplega-ai/chat-py
1•tarasyarema•22m ago•1 comments

Scientists build 'gas battery' that turns noxious pollutants into electricity

https://www.the-independent.com/tech/battery-breakthrough-current-air-pollution-b2961684.html
1•giuliomagnifico•24m ago•0 comments

Show HN: Galen – a structured layer between humans and AI

https://galenvoice.com/
1•drgeorgealex•25m ago•0 comments

Spaced Repetition: Beginner Guide/FAQ

https://entropicthoughts.com/spaced-repetition-beginner-guide-faq
2•ibobev•25m ago•0 comments

A WebGPU Implementation of Surfel-Based Global Illumination

https://juretriglav.si/surfel-based-global-illumination-on-the-web/
3•juretriglav•25m ago•0 comments

X402-Powered X API

https://twit.sh/
2•mempirate•26m ago•1 comments

Symposium: Community-Oriented Agentic Development

https://smallcultfollowing.com/babysteps/blog/2026/04/21/symposium/
1•ibobev•26m ago•0 comments

Columnar Storage Is Normalization

https://buttondown.com/jaffray/archive/columnar-storage-is-normalization/
1•ibobev•26m ago•0 comments

Show HN: Postchi, An ide like api client, clean and local

https://getpostchi.com
1•hamedmonji30•26m ago•0 comments

Spectrum-Ts

https://github.com/photon-hq/spectrum-ts
1•handfuloflight•27m ago•0 comments

The eighth-generation TPU: An architecture deep dive

https://cloud.google.com/blog/products/compute/tpu-8t-and-tpu-8i-technical-deep-dive
2•meetpateltech•28m ago•0 comments

Show HN: Every 4s, Familiar OCRs my screen into Markdown (open source, local)

https://github.com/familiar-software/familiar
1•talsraviv•28m ago•3 comments

Gecko: A fast GLR parser with automatic syntax error recovery

https://vnmakarov.github.io/parsing/compilers/c/open-source/2026/04/22/gecko-glr.html
1•compilersfun•29m ago•0 comments

Russia's funeral industry booms amid record losses in Ukraine

https://finance.yahoo.com/economy/articles/russias-funeral-industry-booms-amid-102400132.html
2•jonnybgood•29m ago•0 comments

Ask HN: Why don’t laptops beep loudly like cars when locking and unlocking?

1•amichail•31m ago•3 comments

Show HN: Rapunzel – a tree-style terminal for AI agents

https://github.com/salmanjavaid/rapunzel/tree/main
1•WasimBhai•32m ago•1 comments