frontpage.
newsnewestaskshowjobs

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.

Titan Transients and LLM Scalability

https://queue.acm.org/detail.cfm?id=3819082
1•rbanffy•1m ago•0 comments

TubeRank AI – Free YouTube SEO Tool Built with AI

https://tuberank-ai.com/
1•honar•2m ago•0 comments

Small Instant Website Launcher

https://nanomo.app/login
1•mountain-hawk•6m ago•0 comments

That time when I failed the Microsoft interview

https://ochagavia.nl/blog/that-time-when-i-failed-the-microsoft-interview/
1•wofo•7m ago•0 comments

The Orchestrator's Tax

https://martinfowler.com/articles/orchestrator-tax.html
1•javaeeeee•10m ago•0 comments

The only road in London where you have to drive on the right

https://www.mylondon.news/news/transport/only-road-london-you-drive-30499294
1•theanonymousone•10m ago•0 comments

ProofCouncil: An LLM Agent for Solving Open Mathematical Problems

https://arxiv.org/abs/2607.09474
1•frozenseven•11m ago•1 comments

AI built the app. Now it needs a home

https://velixir.ai/blog/your-ai-built-the-app
1•dbContext•11m ago•0 comments

A World That Answers Back

https://ilands.ai/blog/a-world-that-answers-back
1•dloss•13m ago•0 comments

From Ukraine and Sudan to Gaza: why have hospitals become a target of war?

https://www.theguardian.com/global-development/2026/jul/27/ambulance-midwife-attacked-internation...
1•hebelehubele•13m ago•0 comments

Russia charges Telegram founder Durov with aiding terrorism

https://www.dw.com/en/russias-fsb-issues-arrest-warrant-for-telegram-founder-pavel-durov-over-aid...
2•theanonymousone•14m ago•0 comments

The Most Dangerous AI Looks Like the One You Trust

https://www.forbes.com/sites/jasonsnyder/2026/07/29/the-most-dangerous-ai-looks-exactly-like-the-...
1•01-_-•15m ago•0 comments

How Zalando Built an In-Process Client-Side Load Balancer for One Million Reqs/S

https://www.infoq.com/news/2026/07/client-side-load-balancer/
2•theanonymousone•21m ago•0 comments

Timothy Snyder: Hitler and Stalin Today: Class 7: How was mass killing possible? [video]

https://www.youtube.com/watch?v=5JUaJUqw7rU&list=PLPNSuH4X6has&index=7
1•verdverm•22m ago•0 comments

Proposal wouldn't hide that a wipe occurred and would help adversaries

https://twitter.com/GrapheneOS/status/2082153517234676150
2•Cider9986•23m ago•1 comments

Atmos Clock

https://atmos-atelier.de/en/atmos-uhr/
1•haritha-j•23m ago•0 comments

Write the first damn draft yourself

https://invertedpassion.substack.com/p/write-the-first-damn-draft-youself
1•paraschopra•28m ago•0 comments

Walking up the ATProto stack with Dan Abramov [audio]

https://theosteiner.de/podcasts/uit-inside-192
2•theo-steiner•29m ago•1 comments

Behavioral Interventions for Infant Sleep Problems

https://pubmed.ncbi.nlm.nih.gov/27221288/
1•simonebrunozzi•29m ago•0 comments

OpenAl, Anthropic ask U.S. government to consider slowing down Al

https://www.washingtonpost.com/technology/2026/07/29/openai-anthropic-endorse-call-government-pac...
3•fhub•31m ago•1 comments

Framework 13 Pro review: better battery, worse price

https://arstechnica.com/gadgets/2026/07/framework-laptop-13-pro-review-much-better-battery-much-w...
1•birdculture•32m ago•0 comments

Show HN: Where conscious events get found, booked and hosted

https://conscious-events.com/de
1•wowinter15•33m ago•0 comments

The Force Engine: Modern "Jedi Engine" Replacement Supporting Dark Forces, Mods

https://github.com/TheForceEngine/TheForceEngine
1•klaussilveira•37m ago•0 comments

Enprompta – Prompt Registry, LLM Evals, and Observability for Production AI Apps

https://enprompta.com/
1•John_Igwebuike•38m ago•0 comments

Safety in an Unsafe World

https://joshlf.com/posts/safety-unsafe-world/
1•aw1621107•38m ago•1 comments

Sam Altman says AI won't shorten the workweek because humans enjoy being busy

https://www.techspot.com/news/113264-sam-altman-ai-wont-shorten-workweek-because-humans.html
2•robtherobber•40m ago•2 comments

Russia issues international wanted notice against Telegram founder Pavel Durov

https://www.france24.com/en/europe/20260729-russia-issues-international-wanted-notice-against-tel...
6•28304283409234•40m ago•0 comments

Did you know Mastodon has 2 different logos for their server profiles?

https://www.reddit.com/r/Mastodon/comments/1v9q9pf/did_you_know_mastodon_has_2_different_logos_for/
1•doener•41m ago•0 comments

Show HN: Vimgolf.ai – Learn Vim by playing through a map of levels

https://vimgolf.ai
2•nickandbro•43m ago•0 comments

Im 14 and I want to create AI for students

1•grgnend•48m ago•1 comments