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.

Show HN: AgentIn, a professional network for coding agents

https://agentin.work/
1•TimCTRL•1m ago•0 comments

A city, divided for hundred years

https://komando1.substack.com/p/a-city-divided-for-a-hundred-years
1•inglor_cz•3m ago•1 comments

Show HN: Dotproject – The project state standard for AI agents and humans

https://github.com/jasonnam/dotproject
1•swift3•4m ago•0 comments

The Conductor Developer

https://martinfowler.com/rachels-ramblings/conductor-developer.html
1•andsoitis•5m ago•0 comments

The Infinite Game

https://twitter.com/just_vraj/status/2086814130703393053
1•valianter•5m ago•1 comments

Fast Flood Fill

https://openprocessing.org/@Triki/1607297
1•bookofjoe•6m ago•0 comments

Show HN: Xalgorix – open-source AI pentester that proves vulnerabilities

https://www.xalgorix.com/
4•xalgord•7m ago•1 comments

Could indigo light prevent nearsightedness in children?

https://www.science.org/content/article/could-indigo-light-prevent-nearsightedness-children
1•pseudolus•7m ago•0 comments

Math Notes: Can every number be expressed as sum of four cubes?

https://www.futilitycloset.com/2026/08/03/math-notes-142/
1•surprisetalk•7m ago•0 comments

In the Cells of the Eggplant

https://metarationality.com/
1•_tk_•8m ago•0 comments

Show HN: Codex Memory Trim – prune and dedupe Codex CLI's global memory

https://github.com/Yu-Xiao-Sheng/codex-memory-trim
1•yuxs365•8m ago•0 comments

Show HN: Budget Guard – a hard daily cap for your OpenAI/Anthropic bill

https://github.com/kimbeomgyu/budget-guard
1•kimbeomgyu•8m ago•1 comments

Show HN: Anonymous age verification with passkey-powered encryption

https://loginwithone.com/
2•mikeysight•9m ago•0 comments

They Don't Care

https://aurelien2022.substack.com/p/they-dont-care
1•iamnothere•11m ago•0 comments

Moderna surges as Merck-partnered melanoma vaccine cuts recurrence in trial

https://www.reuters.com/legal/litigation/merck-moderna-say-melanoma-skin-cancer-vaccine-meets-goa...
2•consumer451•11m ago•0 comments

Don't fall behind, keep up with latest AI news here

https://www.vibeleaderboard.ai
2•alderik_•14m ago•0 comments

A merge gate for coding agents cannot be a boolean

https://gist.github.com/fskroes/9061fc1c4284146561b1ede1c1e7fea2
2•fskroes_is_me•14m ago•0 comments

Show HN: My Mac slept through its cron jobs, so I made goguma, a menu bar app

https://github.com/junnam586/goguma
3•junnam586•16m ago•0 comments

Moderna reports first positive Phase 3 for mRNA neoantigen therapy in melanoma

https://twitter.com/NoubarAfeyan/status/2090050162441752787
5•heydenberk•16m ago•0 comments

Where the Tool Stops and I Begin

https://rivetrune.com/notes/where-the-tool-stops/
2•rivetrune•17m ago•1 comments

Source-Code Availability and How I Became Radicle-Ized

https://kristoff.it/blog/source-code-availability/
3•h1watt•20m ago•0 comments

AI Has Plunged the Book Publishing Industry into Utter Chaos

https://www.wsj.com/arts-culture/books/generative-ai-book-publishing-be79a287
4•galsapir•21m ago•0 comments

Prevention of myopia in a near-primate by supplemental indigo light

https://www.cell.com/cell-reports-medicine/fulltext/S2666-3791(26)00416-7
2•OutOfHere•22m ago•0 comments

Investing in automated C to Rust translation

https://discourse.ubuntu.com/t/investing-in-automated-c-to-rust-translation/86369
3•pbui•23m ago•1 comments

Tokens, Hours, Points, and Other Curious Proxies

https://cutlefish.substack.com/p/tbm-437-tokens-hours-points-and-other
2•flail•24m ago•0 comments

Raspberry Pi Compute Module 5 Programming Jig

https://www.raspberrypi.com/news/introducing-the-raspberry-pi-compute-module-5-programming-jig/
3•geerlingguy•25m ago•1 comments

Train your own AI model, even on your laptop

5•metinh•25m ago•4 comments

AWS Powers PyPI and the PSF

https://pyfound.blogspot.com/2026/08/how-aws-powers-pypi-and-psf.html
2•lumpa•25m ago•0 comments

State of Devs, a developer survey about career, health, hobbies, and politics

https://survey.devographics.com/en-US/survey/state-of-devs/2026
2•sgdesign•25m ago•0 comments

Moderna and Merck say mRNA cancer vaccine succeeded in late-stage melanoma trial

https://www.statnews.com/2026/08/19/mrna-cancer-vaccine-trial-melanoma-merck-moderna/
6•cwwc•26m ago•0 comments