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.

Mineral Water Atlas of the World

https://mineralwaters.geo.uu.nl/world.php
1•coinfused•30s ago•0 comments

Show HN: Smolvm – MicroVMs with CRIU Functionality

https://smolmachines.com/engineering/branching-and-checkpoint-lineage
1•binsquare•1m ago•0 comments

Udon – Remote management for macOS home servers

https://udon.sh
1•oliexe•1m ago•0 comments

Show HN: Live carbon intensity and power prices for 15 European grids

https://scienceshot.com/live-grid
1•major_stef•2m ago•0 comments

Control other Windows computers with an MCP

https://phaze.app/blog/phaze-mcp-computer-use-it-support/
1•boxerbk•2m ago•1 comments

The Old Personal Web Is Going Quiet

https://widdershins.verja.net/the-old-personal-web-is-going-quiet/
1•speckx•3m ago•0 comments

Show HN: Spectra-FFT – Cutting AdamW VRAM Usage by 50% for LLMs

https://www.spectralabs.si/
1•KanishkIndia•4m ago•0 comments

After bankruptcy, he was banned from sports betting sites. Then he found Kalshi

https://www.npr.org/2026/10/02/nx-s1-5981420/kalshi-betting-prediction-markets-gambling-addiction
1•momentmaker•5m ago•0 comments

AI Companies Are Parasites

https://www.coryd.dev/posts/2026/ai-companies-are-parasites
2•cdrnsf•5m ago•0 comments

Show HN: A simple script to stop all cold sales emails from reaching your inbox

https://github.com/christianmat/cold-email-killer
1•pancomplex•6m ago•0 comments

OpenSSH Ships on Every Mac, Linux Server and Windows. Its Creator Trusts No One

https://zbruceli.org/blog/the-man-who-trusts-no-one/
2•zbruceli•10m ago•0 comments

Googlebook

https://googlebook.google/shop/
1•pelagicAustral•11m ago•0 comments

I built a Chrome extension that brings TikTok-style video browsing to desktop

https://chromewebstore.google.com/detail/empty-title/peejbgcjjdmgladmjmhccglgefmlckjm
1•DevFunny•12m ago•0 comments

The Future of Mathematics

https://terrytao.wordpress.com/2026/10/05/the-future-of-mathematics/
1•smilelamp•12m ago•0 comments

Countries Have the Same Name

https://signoregalilei.com/2026/10/04/these-6-countries-secretly-have-the-same-name/
1•speckx•13m ago•0 comments

Show HN: OneTUI 0.2.x k9s for your databases and message queues

https://github.com/syndbg/onetui
2•syndbg•15m ago•0 comments

Was award winning novel written with AI?

https://ca.news.yahoo.com/award-winning-book-written-ai-204926033.html
1•nephihaha•17m ago•1 comments

I conceived a clever musical instrument which runs in the browser

https://souffle.live/
1•ycosynot•18m ago•1 comments

Tokyo Transit Gate Evolution: Why tap latency dictates gate throughput (2019)

https://atadistance.net/2019/08/13/transit-gate-evolution-do-qr-codes-suck-for-transit/
1•utiiiD•18m ago•0 comments

Beam: Reflection's 501B open-weight model

https://reflection.ai/blog/introducing-beam
24•Philpax•18m ago•6 comments

Tell HN: 2026 is the year of the Linux desktop, agent-adjusted

1•dvrp•18m ago•2 comments

Invoce Generator

https://moneylab-djib.github.io/free-invoice-generator/
1•CLoied•19m ago•0 comments

PostHog MCP Analytics: an 8bit tale

https://lucasheriques.github.io/mcp-analytics/
7•lucasheriques•22m ago•0 comments

What Happened to Shareware?

https://deadparrotbbs.com/what-happened-to-shareware/
3•Tomte•22m ago•0 comments

Googlebooks Support Unlocking the Bootloader

https://discuss.grapheneos.org/d/42581-googlebooks-support-unlocking-the-bootloader
4•Cider9986•23m ago•0 comments

Toshiba plans to double HDD capacity for AI data centers by FY2027

https://asia.nikkei.com/business/electronics/toshiba-to-double-hard-disk-drive-supply-to-fill-ai-...
1•utiiiD•24m ago•0 comments

Meditation Improves Intelligence

https://mkolodny.substack.com/p/meditation-improves-intelligence
1•mkolodny•24m ago•0 comments

Germany and France Are Proposing a New Weapon to Counter Flood of Chinese Goods

https://www.wsj.com/world/europe/germany-and-france-are-proposing-a-new-weapon-to-counter-flood-o...
3•ericmay•26m ago•0 comments

In Utah, AI Can Help You Zap Your Zits

https://www.bloomberg.com/news/articles/2026-10-05/nolla-health-ai-can-now-prescribe-acne-drugs-i...
2•brandonb•28m ago•0 comments

How did Rosalind Franklin miss the helix in her iconic DNA image? She didn't

https://www.science.org/content/article/how-did-rosalind-franklin-miss-helix-her-iconic-dna-image...
2•pavel_lishin•28m ago•0 comments