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.

AI is everywhere. Deep study still worth it? No idea, but I will try

https://pynsights.vercel.app
1•MarinhoD•7m ago•0 comments

Nostalgic Electronics Kits Central

https://www.nostalgickitscentral.com/
2•cf100clunk•10m ago•1 comments

Human-Like Document AI

https://pageindex.ai/
1•DeathArrow•12m ago•0 comments

What AI Did to My College Class

https://www.nytimes.com/2026/05/17/opinion/chatgpt-ai-college-school-graduation.html
2•billyp-rva•12m ago•0 comments

The quiet grief of adult friendship

https://timesofindia.indiatimes.com/blogs/civil-irony/the-quiet-grief-of-adult-friendship/
2•luispa•13m ago•0 comments

Meta deletes popular 1M follower account after Kuwaiti request

https://twitter.com/ryangrim/status/2055992439031185782
3•bhouston•14m ago•0 comments

The occasional ECONNRESET

https://movq.de/blog/postings/2026-05-05/1/POSTING-en.html
1•zdw•15m ago•0 comments

Americans Are Smashing Flock Cameras

https://stateofsurveillance.org/news/flock-cameras-destroyed-nationwide-ice-backlash-2026/
32•rolph•15m ago•8 comments

The Protein Shortage Is Coming

https://www.theatlantic.com/culture/2026/05/protein-powder-shortage/687193/
2•paulpauper•16m ago•0 comments

A chat-less interface to collaborate with LLM agents directly from your files

https://github.com/piqoni/piqo-extension
1•lexoj•17m ago•0 comments

Is the Modern NBA Breaking Its Stars?

https://www.theringer.com/2026/05/14/nba/nba-injuries-leg-calf-hamstring-achilles-data
1•paulpauper•18m ago•0 comments

Reviewing so called Pull Requests at $dayjob

https://rkta.de/dayjob-pr-review.html
1•g0xA52A2A•19m ago•0 comments

Oto Smart Sprinkler Review (2026): Solar-Powered and Simple to Use

https://www.wired.com/review/oto-smart-sprinkler/
1•joozio•20m ago•0 comments

TinyStories-260K running locally on a stock Game Boy Color

https://github.com/maddiedreese/gbc-transformer
1•medbar•20m ago•0 comments

Google Maps Satellite Imagery of Palisades Fire Area Reverts

https://twitter.com/royolone/status/2055465365312815543
3•kingleopold•22m ago•1 comments

Engineering a Safer World: Risk Modelling – and Safety Engineering? – For AI Lo

https://www.lesswrong.com/posts/mL5asdegoa56CkqgJ/engineering-a-safer-world-risk-modelling-and-sa...
2•joozio•24m ago•0 comments

A Parliament of Owls and a Murder of Crows: How Groups of Birds Got Their Names

https://www.themarginalian.org/2024/01/04/brian-wildsmith-birds-company-terms/
3•bookofjoe•24m ago•0 comments

Getting Matured Through Learning

2•Shailendra_S•24m ago•0 comments

How Reese Witherspoon built $900M company from a problem Hollywood wouldn't fix

https://fortune.com/2026/05/17/reese-witherspoon-hello-sunshine-900-million-sale-founder-mindset/
3•happy-go-lucky•26m ago•0 comments

Rethinking the Luddites in the Age of AI

https://www.newyorker.com/books/page-turner/rethinking-the-luddites-in-the-age-of-ai
3•simonebrunozzi•30m ago•0 comments

A Gentle Introduction to World Models

https://neurallens.substack.com/p/a-gentle-introduction-to-world-models
2•dokdev•36m ago•0 comments

Where Have All the Cycles Gone? [video]

https://www.youtube.com/watch?v=B-aDBB34o6Y
1•tosh•41m ago•0 comments

Show HN: Typeset sitelen pona and copy a PNG (for toki pona speakers)

https://sitelen.vercel.app/
1•vitaly-pavlenko•43m ago•0 comments

Scaffold a complete 1990s Geocities-themed static website in seconds

https://gitea.com/sugardaddyapp/geocities-boilerplate
3•hankerapp•46m ago•0 comments

Age Assurance on the Internet: Identity, Privacy, and the Limits of Verification

https://sphericalcowconsulting.com/2026/04/14/age-assurance/
6•mooreds•47m ago•1 comments

Bun's problem may be developing in the open

https://00f.net/2026/05/17/developping-in-the-open/
1•avinassh•47m ago•0 comments

Polylux: Open-source replacement for Asus Armoury Crate that saves 470MB RAM

https://github.com/vladulus/polylux
1•polylux•48m ago•0 comments

U.K. Economy Accelerates to Outpace U.S. as War Headwinds Loom

https://www.wsj.com/economy/u-k-economy-accelerated-at-start-of-year-7c70878b
4•mmarian•52m ago•2 comments

Analysis of X algorithm

https://twitter.com/javilopen/status/2055681064085938429
1•guiambros•53m ago•0 comments

Show HN: Agnt – Free open-source CLI to run any public or MIT-licensed AI agent

1•meajsinghk22•56m ago•0 comments