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.

Midjourney's First Acquisition

https://updates.midjourney.com/midjourneys-first-acquisition/
1•swyx•2m ago•0 comments

Secret-scan: find leaked secrets in your repo – one zero-dependency Python file

https://github.com/ninthlife-tools/secret-scan
1•ninthlife•5m ago•0 comments

America really might restore democracy to Venezuela

https://economist.com/leaders/2026/08/12/america-really-might-restore-democracy-to-venezuela
2•andsoitis•7m ago•0 comments

Aperture – Proxy Auto-Tracking

https://www.npmjs.com/package/aperture-store
2•oyeappu•8m ago•0 comments

Pixel 11, Pixel 11 Pro and Pixel 11 Pro XL

https://blog.google/products-and-platforms/devices/pixel/google-pixel-11-pro-xl/
2•tosh•8m ago•0 comments

Clojure's Deadly Sin

https://clojure-goes-fast.com/blog/clojures-deadly-sin/
3•xylon•9m ago•0 comments

Apple in Talks to Pay Publishers for News Content to Power Siri AI

https://www.macrumors.com/2026/08/12/apple-siri-ai-publisher-talks/
2•mgh2•13m ago•0 comments

Silurian Hypothesis

https://en.wikipedia.org/wiki/Silurian_hypothesis
3•evo_9•14m ago•0 comments

The Appwrite CLI is now written in Go

https://appwrite.io/blog/post/rewriting-the-appwrite-cli-in-go
4•chiragagg5k•18m ago•0 comments

Watermarks-remover: Strip multi-vendor AI provenance marks

https://github.com/guillaumemeyer/watermarks-remover
3•thunderbong•19m ago•0 comments

Astronomers discover a new kind of cosmic object – a black hole 'star'

https://www.theguardian.com/science/2026/aug/12/astronomy-discovery-new-cosmic-object-black-hole-...
2•sandebert•20m ago•0 comments

Show HN: Fab Friends a crowdfunding site for Rwandan college students

https://www.joinfabfriends.org/donate
1•muramira•21m ago•1 comments

New Study Shows Hiking with an Engineer Has No Effect on Daily Enjoyment

https://thetrek.co/pacific-crest-trail/new-study-shows-hiking-with-an-engineer-has-no-effect-on-d...
1•theanonymousone•22m ago•0 comments

Made by Google 2026

https://blog.google/products-and-platforms/devices/pixel/made-by-google-2026/
1•saikatsg•27m ago•0 comments

Did poop enable the evolution of complex animals?

https://arstechnica.com/science/2026/08/feces-fueled-a-flurry-of-evolution-during-the-cambrian-st...
2•jnord•31m ago•0 comments

DeepMind Models

https://deepmind.google/models/
1•nimsarajay•31m ago•0 comments

How do I self-host a good-looking AI generated website

1•pcblues•32m ago•0 comments

How much memory is needed to render a TrueType font to bitmap

https://nothings.org/gamedev/font_rendering_malloc.txt
1•anitil•34m ago•1 comments

The Strongest El Niño Ever Forecast and the Hunger It Will Leave Behind

https://www.4hunger.org/p/scorched-harvest-the-strongest-el
5•fredski42•35m ago•0 comments

Show HN: LinkShip – Turn any file into a trackable, shareable link

https://linkship.net
1•sunpy•37m ago•0 comments

Show HN: Find the jobs that fit your resume in 60 seconds

https://www.seekerscore.com
3•not_wowinter14•43m ago•0 comments

ChatGPT Desktop (Codex Desktop) for Linux

https://openai.com/codex/
5•allanrbo•47m ago•0 comments

Size and Lifespan

https://xkcd.com/3283/
4•dgudkov•48m ago•0 comments

Vibe Coding Interview

http://funcall.blogspot.com/2026/08/vibe-coding-interview.html
5•zombot•49m ago•2 comments

Ratings Firm Accused of Grade Inflation Vouched for $40B of Insurer Debt

https://www.wsj.com/finance/ratings-firm-accused-of-grade-inflation-vouched-for-40-billion-of-ins...
5•petethomas•57m ago•0 comments

Patterns and problems in emerging multiagent systems

https://www.anthropic.com/research/multiagent-systems
4•ledoge•1h ago•0 comments

BrowserMesh – isolated Playwright sessions for MCP clients

https://github.com/scrollDynasty/multi-agent-browser-mcp
4•scroll11•1h ago•0 comments

Celld: Self-hosted, distributed Durable Objects

https://celld.dev/
5•godisdad•1h ago•0 comments

CFTC Advisory on Self-Certification of Incentive Programs for Prediction Markets

https://www.cftc.gov/PressRoom/PressReleases/9282-26
5•petethomas•1h ago•0 comments

Living with Depression: The Part I Never Say Out Loud

https://medium.com/freedomofthought/living-with-depression-the-part-i-never-say-out-loud-3e9c218b...
7•raynchad•1h ago•0 comments