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•7mo ago

Comments

llm-exe•7mo 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•7mo 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.

1•daugu•9s ago

Show HN: I built a Music-to-Video API that turns songs into music videos

https://peakmv.com
1•gautamaj•2m ago•0 comments

Researchers spot Saturn-sized planet in the "Einstein desert"

https://arstechnica.com/science/2026/01/researchers-spot-saturn-sized-planet-in-the-einstein-desert/
2•pseudolus•3m ago•0 comments

Show HN: PPTX Native AI Slides

https://www.textdeck.com/home
1•andventures•4m ago•0 comments

Self-driving cars could prevent over 1M injuries across the US by 2035

https://techxplore.com/news/2026-01-cars-million-road-injuries.html
2•geox•7m ago•0 comments

On the quantum mechanics of entropic forces

https://arxiv.org/abs/2502.17575
1•kaycebasques•10m ago•0 comments

Ask HN: Are there any antifeature-free power tools you can still buy new?

2•josephcsible•13m ago•0 comments

AI Personas and Dolls

https://stephen.bochinski.dev/blog/2026/01/02/ai-personas/
1•sbochins•17m ago•0 comments

Obesity as a Behavioral Addiction

https://www.academia.edu/2997-9196/2/3/10.20935/MHealthWellB7880
1•red369•20m ago•2 comments

1964 New York World's Fair

https://en.wikipedia.org/wiki/1964_New_York_World%27s_Fair
1•teleforce•27m ago•0 comments

Show HN: Black Box QA testing system to automate QA process

https://www.rocksmith.ai/
1•orangeAvocad0•28m ago•0 comments

KGGen: Extracting Knowledge Graphs from Plain Text with Language Models

https://arxiv.org/abs/2502.09956
3•delichon•33m ago•0 comments

Show HN: Endless, a easily deployable and scalable social media

https://github.com/XS-Xspert-Software/Social-Media
1•thegoodduck•33m ago•0 comments

Breakfast menu prices are likely to see the biggest increase from food inflation

https://londonlovesbusiness.com/breakfast-menu-prices-are-likely-to-see-the-biggest-increase-from...
1•teleforce•34m ago•0 comments

The Force Is with Cristal Beer

https://en.wikipedia.org/wiki/The_Force_is_with_Cristal_Beer
1•handfuloflight•37m ago•0 comments

Tech Startups Are Handing Out Free Nicotine Pouches to Boost Productivity

https://www.wsj.com/tech/tech-startups-are-handing-out-free-nicotine-pouches-to-boost-productivit...
1•croes•39m ago•1 comments

Show HN: Shipping Without Judgment

https://dantelex.com/blog/shipping-judgement
2•lexokoh•43m ago•0 comments

ADF Opus: open, browse, and manage Amiga .ADF disk-images natively

https://github.com/chironb/ADFOpus2025
1•doener•45m ago•0 comments

Minimig RTG Magic [video]

https://www.youtube.com/watch?v=DBO9sD6EYS4
1•doener•48m ago•0 comments

GNU Ddrescue 1.30 Orders of Magnitude Better Working on Drives with a Dead Head

https://www.phoronix.com/news/GNU-ddrescue-1.30
4•Qem•49m ago•0 comments

Riot Games's League of Legends login issues due to expired SSL certificate

https://old.reddit.com/r/leagueoflegends/comments/1q40aen/comment/nxpij3c/
2•dossy•52m ago•1 comments

Voting for Mayor Who Promised to Blow Up City Doesn't Mean I Approve of It

https://www.mcsweeneys.net/articles/voting-for-the-mayor-who-promised-to-blow-up-the-city-doesnt-...
5•Geekette•55m ago•0 comments

How the sugar industry bought out scientists for decades

https://www.extremetech.com/extreme/235472-how-the-sugar-industry-bought-out-scientists-for-decad...
4•aldarion•58m ago•0 comments

Show HN: Airgapped Android Setup with a Makefile

https://blog.thisago.com/announcement/20260104-phoneSetup1.html
1•thisago•1h ago•0 comments

NeXTSTEP on Pa-RISC

https://www.openpa.net/nextstep_pa-risc.html
3•andsoitis•1h ago•0 comments

Alexa+ at Your Fingertips

https://alexa.amazon.com/about
1•qainsights•1h ago•1 comments

2026: The year of Not-invented-here syndrome

https://system32.ai/blogs/nih-on-steroids
3•bitlad•1h ago•0 comments

Warren Buffett emails Microsoft exec

https://www.techemails.com/p/warren-buffett-emails-microsoft-exec-jeff-raikes
5•cinaboniver•1h ago•1 comments

Show HN: Turn meetings into summaries, presentations, and an AI to ask questions

https://notefy.pro/
1•jimmydin7•1h ago•0 comments

Ask HN: What AI systems have you adopted across your work and personal life?

1•alexjray•1h ago•2 comments