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.

If Scrubs Hurt, Your ZFS Design Is Broken

https://klarasystems.com/articles/if-scrubs-hurt-your-zfs-design-is-broken/
1•assimpleaspossi•1m ago•1 comments

Google Lawsuit Against SerpApi over Scraping Search Results Has Been Dismissed

https://www.seroundtable.com/google-lawsuit-serpapi-dismissed-41731.html
1•freediver•7m ago•0 comments

You Opened a Credit Card. ICE Now Knows Where You Live

https://nonogra.ph/you-opened-a-credit-card-ice-now-knows-where-you-live-07-22-2026
2•arkhiver•8m ago•0 comments

Local agent first AI search optimization tooling

https://github.com/Canonry/canonry
1•arberx•8m ago•0 comments

Tesla says 'Robotaxi' is expanding – its own chart shows it's not

https://electrek.co/2026/07/22/tesla-robotaxi-growth-flat-own-chart-q2-2026/
1•TheAlchemist•9m ago•0 comments

Prospective – Monte Carlo cash flow risk simulator for small businesses

https://cashflow-sim.vercel.app/
1•Raphael_Sena•12m ago•0 comments

Understanding A/B Testing in 5 Minutes

https://medium.com/@gbenga-awodokun/7-basic-things-data-scientists-wish-their-pms-knew-about-a-b-...
1•newadays•15m ago•0 comments

Chaos Begets Chaos; Order Begets Order: Agentic Coding as Crystallisation

https://medium.com/@rotbart/chaos-begets-chaos-order-begets-order-agentic-coding-as-crystallisati...
2•rotbart•16m ago•0 comments

Why I'm building a note taking app without AI

https://withdocket.com/blog/why-im-building-a-note-taking-app-without-ai
2•davnicwil•17m ago•2 comments

Some AI Systems Differentially Downplay Their Creators' Controversies

https://papers.ssrn.com/sol3/papers.cfm
2•JumpCrisscross•17m ago•0 comments

US House Narrowly Passes Controversial National Defense Authorization Act

https://www.congress.gov/bill/119th-congress/house-bill/8800/text
2•Jimmc414•17m ago•1 comments

Show HN: Vivace – A single-process Qt media player with interactive DVD menus

https://github.com/Sportacandy/vivace
2•Sportacandy•19m ago•0 comments

Amorality and greed at Silicon Valley's favourite university

https://www.economist.com/culture/2026/07/02/amorality-and-greed-at-silicon-valleys-favourite-uni...
2•1vuio0pswjnm7•19m ago•0 comments

Transcoding Billions of Unicode Characters per Second with SIMD (2022)

https://arxiv.org/abs/2109.10433
1•Rendello•20m ago•0 comments

Deep Dive on Actuators

https://robotic-learning.com/actuators/
1•jordancarr•20m ago•0 comments

Is OpenClaw Dead?

https://www.reddit.com/r/openclaw/s/YTWK6S0Pjj
1•ridruejo•21m ago•1 comments

Thinking Machines dropped RoPE, and it's a good idea

https://idlemachines.co.uk/essays/inkling
1•smaddrellmander•21m ago•0 comments

The Army Is Burning Through Its AI Tokens

https://www.wired.com/story/the-army-is-burning-through-its-ai-tokens/
1•jnord•22m ago•0 comments

Bitwave Launches Agentic Finance Initiative

https://www.bitwave.io/blog/bitwave-ai-command-line-interface
1•Jesse_Dykstra•22m ago•1 comments

14.88T parameter weights, 358 MB, free

https://github.com/pluscoder30-cpu/conscious-field-transformer
1•soul-vector•24m ago•0 comments

deleted

https://testsfinal432.com/
1•akrawczukpl•27m ago•0 comments

Dirty-Pedit (CVE-2026-46331): Novel page-cache corruption LPE exploit

https://twitter.com/z3ta_rjt/status/2080066256519205141
2•rjt-gupta•27m ago•1 comments

Wall Street Banks Trading Parts of $35B AI Chip Deal

https://www.bloomberg.com/news/articles/2026-07-22/wall-street-banks-trading-parts-of-35-billion-...
1•petethomas•28m ago•0 comments

OpenAI says its AI agent broke out of testing sandbox to hack Hugging Face

https://arstechnica.com/ai/2026/07/how-an-openai-benchmark-test-turned-into-a-real-world-cyberatt...
3•sbulaev•28m ago•1 comments

What Does Fba Means

https://theblackaffect.com/what-is-a-foundational-black-american/
1•MWApex•28m ago•0 comments

What Happened When Flock Came to My Town

https://nonogra.ph/what-happened-when-flock-came-to-my-town-07-22-2026
1•arkhiver•31m ago•0 comments

Scientists Dismissing Covid Lab Leak Privately Lost Confidence in Paper

https://www.nationalreview.com/news/scientists-behind-paper-dismissing-covid-lab-leak-privately-l...
1•petethomas•31m ago•0 comments

TWC Classics

https://twcclassics.com/
2•stefanpie•35m ago•0 comments

What Teaching a Machine to Think Taught Me

https://medium.com/@alanscottencinas/what-teaching-a-machine-to-think-taught-me-d3fe170a3f06
2•encinas88•38m ago•0 comments

Ravenspire – watch your Claude Code and Codex agents as a JRPG

https://github.com/Kapala-Solutions/ravenspire
2•vribeirocmp•41m ago•0 comments