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.

The Java Story – The official documentary [video]

https://www.youtube.com/watch?v=ZqGSg4b_cZA
1•kimi•1m ago•0 comments

Show HN: Eve Software Factory Template

https://github.com/vercel-labs/eve-software-factory-template
2•flashbrew•1m ago•0 comments

A Plane Ran Out of Fuel over the Atlantic. The Pilots Saved 306 Lives

https://www.popularmechanics.com/flight/a73413706/air-transat-flight-fuel-glider/
2•ilamont•2m ago•0 comments

Agentic engineering optimizes for rejecting output, not generating it

https://dparkmit.substack.com/p/how-i-used-agentic-engineering-to
2•dparkmit•4m ago•0 comments

Google Is Making Private AI Practical with Homomorphic Encryption

https://blog.google/security/how-google-is-making-private-ai-practical-with-homomorphic-encryption/
2•u1hcw9nx•5m ago•1 comments

Taylor Farms' connections to Trump admin spurs probe into Cyclospora response

https://arstechnica.com/health/2026/08/taylor-farms-connections-to-trump-admin-spurs-probe-into-c...
2•cratermoon•5m ago•0 comments

Qwen 3.8 27B Pelican

https://www.reddit.com/r/LocalLLaMA/comments/1voa3ch/comment/p3o0om9/
2•T0mSIlver•7m ago•0 comments

Activation Energy is a good model for a lot of things

https://homosabiens.substack.com/p/activation-energy-is-a-good-model
2•surprisetalk•8m ago•0 comments

The Other Sean Byrne Doesn't Exist

https://conic.al/writing/the-other-sean-byrne-doesnt-exist/
2•seanieb•9m ago•0 comments

Ed Zitron Was Wrong About AI

https://www.drjoshcsimmons.com/writing/ed-zitron-ai-predictions
3•joshcsimmons•11m ago•0 comments

Too Little, Too Late: Flock Admits Their Technology Needs Reforms

https://www.eff.org/deeplinks/2026/08/too-little-too-late-flock-admits-their-technology-needs-ref...
4•Brajeshwar•11m ago•1 comments

Agent Host Protocol

https://microsoft.github.io/agent-host-protocol/
2•eatmyshardz•11m ago•0 comments

Show HN: SVC16 = a specified virtual computer to build compilers for

https://janneuendorf.github.io/SVC16/
2•JanNeuendorf•13m ago•0 comments

Show HN: Remarc – contextual feedback for coding agents via MCP

https://github.com/metedata/Remarc
2•young_mete•13m ago•0 comments

Animica – a post-quantum Layer 1 blockchain built primarily in Python

https://animica.org/
3•animica•14m ago•0 comments

The Treasury market's toxic codependency

https://www.ft.com/content/e3cd352e-5202-4748-952f-ed623ccdc774
2•petethomas•14m ago•0 comments

Explain to Me in Simple Technical English

https://allaboutcoding.ghinda.com/explain-to-me-in-simple-technical-english/
2•speckx•15m ago•0 comments

Chery didn't exist in the UK last year but just outsold Honda and Mazda combined

https://www.carscoops.com/2026/08/chery-uk-market-share/
2•daau•15m ago•0 comments

Show HN: Sloppy Fast Group Scroll Svelte

https://prathje.github.io/fast-group-scroll-shadcn-svelte/
2•prathje•15m ago•0 comments

Show HN: Realistic AI Image Generator for portraits and product shots

https://realisticaiimagegenerator.online/
2•realisticaigen•15m ago•0 comments

RIP Claude

https://randsinrepose.com/archives/rip-claude/
4•herbertl•18m ago•0 comments

Show HN: Mininote: Instant, plain-text note taking without tracking or lock-in

https://mininote.ink/
3•helba-ai•18m ago•0 comments

A knowledge base that notices when it stops being true

https://github.com/pollockchris083-arch/counterentry/blob/main/ESSAY.md
2•chrispollock•21m ago•0 comments

Structure in Type Design

https://ilovetypography.com/2026/08/14/loopy-for-counters/
2•jjgreen•22m ago•0 comments

The own-your-infra answer to Vercel and Railway

https://github.com/otterdeploy/otterdeploy
2•nelsongrisham•22m ago•0 comments

Scientists improved toxin clearance in mice brain

https://twitter.com/bryan_johnson/status/2087979402831507514
1•Vasniktel•23m ago•0 comments

The yk meta-tracing system

https://github.com/ykjit/yk
1•gjvc•23m ago•1 comments

Show HN: Beeb, a daily Blokus-inspired block puzzle game

https://georgemike.com/beeb
1•haberdasher•24m ago•0 comments

The road to epsilon-zero: Productive programs and well-founded orders

https://blog.plover.com/math/ordinals/05-shortlex.html
1•Brajeshwar•24m ago•0 comments

Status enum lives in five files

https://cannibalcode.com/blog/2026-08-your-status-enum-lives-in-five-files/
1•raifharik•25m ago•0 comments