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

Comments

llm-exe•10mo 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•10mo 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: AI agents that learn from each other's mistakes

https://github.com/Prismer-AI/PrismerCloud
1•PrismerAI•36s ago•0 comments

Running Out of Disk Space in Production

https://alt-romes.github.io/posts/2026-04-01-running-out-of-disk-space-on-launch.html
1•romes•3m ago•0 comments

Your Agent's Context Window Is Not a Junk Drawer

https://paolino.me/your-agents-context-window-is-not-a-junk-drawer/
1•earcar•9m ago•0 comments

Turn off your computer the only viable way: by flipping it off

https://github.com/NotAShelf/flipoff
2•Lunar5227•9m ago•0 comments

Purple: Terminal SSH Client for macOS and Linux

https://getpurple.sh
1•thunderbong•11m ago•0 comments

Gemma4.java: Run Gemma 4 in pure Java (no Python, no JNI)

https://github.com/mukel/gemma4.java
1•mukel•12m ago•1 comments

Ray – OpenSubtitles upcoming auto translating/subtitling video player

https://rayplayer.com/en
1•nolok•13m ago•0 comments

Building Slogbox

https://alexrios.me/blog/slogbox-devlog/
1•zimpenfish•14m ago•1 comments

Austin VS Code hits v1, brings profiling MCP, live attach, and more

https://marketplace.visualstudio.com/items?itemName=p403n1x87.austin-vscode
1•p403n1x87•15m ago•0 comments

Show HN: Berroku – A fresh logic puzzle that's delightfully addictive

https://www.berroku.com/
2•jbrooksuk•16m ago•1 comments

Ask HN: Gmail's missing paste-to-link feature

2•josedelriver•19m ago•0 comments

Ask HN

2•josedelriver•20m ago•0 comments

Show HN: Brag.fast – Brag about the app you're building

https://brag.fast
3•the_robvb•21m ago•0 comments

Show HN: Senthex AI firewall for LLM API calls (one line of code, 16ms overhead)

https://senthex.com:443/proxy/
2•yohann_senthex•22m ago•0 comments

Elon Musk, Quantum Microtubules, and the Race for the Conscious Machine

3•Anuridhi•22m ago•0 comments

Simulating societies with LLM agents in TypeScript

https://github.com/francemazzi/worldsim
3•SaverioMazzi•24m ago•0 comments

OpenAI, Anthropic, Google Unite to Combat Model Copying in China

https://www.bloomberg.com/news/articles/2026-04-06/openai-anthropic-google-unite-to-combat-model-...
2•Palmik•25m ago•0 comments

Astronauts set distance record, revealing the Moon as a place to be explored

https://arstechnica.com/space/2026/04/astronauts-set-distance-record-revealing-the-moon-as-a-plac...
3•quapster•27m ago•0 comments

Show HN: LLMs as Planners, Not Reasoners

https://github.com/dkohlsdorf/gemini_prolog/
4•dkohlsdorf•28m ago•0 comments

An Inside Look at OpenAI and Anthropic's Finances Ahead of Their IPOs

https://www.wsj.com/tech/ai/openai-anthropic-ipo-finances-04b3cfb9
2•Growtika•28m ago•0 comments

Openbrowser: A browser for agent without Chromium

https://github.com/JasonHonKL/Openbrowser
4•JasonHEIN•28m ago•0 comments

The Workers Opting to Retire Instead of Taking on AI

https://www.wsj.com/lifestyle/the-workers-opting-to-retire-instead-of-taking-on-ai-3400fb92
2•fortran77•30m ago•4 comments

Ask HN: Make AI Filter for Hacker News

2•gethly•33m ago•2 comments

So You Think You Have a Power Law – Well Isn't That Special? (2007)

https://bactra.org/weblog/491.html
1•Tomte•39m ago•0 comments

Can a country get too rich?

https://economist.com/finance-and-economics/2026/04/01/can-a-country-get-too-richfrom
2•andsoitis•39m ago•0 comments

Artemis II lunar fly-by breaks Apollo 13's record, shows far side of the Moon

https://www.abc.net.au/news/2026-04-07/artemis-ii-breaks-space-distance-record-eclipse-photos/106...
1•testrun•45m ago•0 comments

Ask HN: Can AI explain legacy code to business users faster than devs?

1•L1nefeed•48m ago•0 comments

Show HN: Semantik, a vector broker that routes by semantic meaning

https://www.noetive.io/semantik
1•xer•49m ago•0 comments

Observability >> Predictability

https://github.com/HeinrichvH/articles/blob/main/building-with-ai/02-observability-principle/02-o...
1•HeinrichAQS•51m ago•0 comments

Australia EV sales surge in March amid fuel fears and higher petrol prices

https://www.abc.net.au/news/2026-04-07/australia-ev-sales-spike-amid-fuel-fears-rising-petrol-pri...
3•01-_-•52m ago•1 comments