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.

UK pair aim to complete most complex board game

https://www.theguardian.com/lifeandstyle/2026/oct/31/uk-complete-worlds-most-complex-board-game-t...
1•tnorthcutt•1m ago•0 comments

What Rami Ismail learned with his return to game development

https://www.gamedeveloper.com/design/what-rami-ismail-learned-with-his-return-to-game-development
1•HelloUsername•2m ago•0 comments

At least 33 dead after Russia drops nine bombs on a Ukrainian school building

https://www.cnn.com/2026/11/03/europe/ukraine-russia-zaporiszhzha-school-strike-intl
1•consumer451•2m ago•0 comments

The Family Plan

https://magazine.atavist.com/2026/the-family-plan-c3g-disease-iowa
1•gmays•2m ago•0 comments

Panthera: Ampere's CPU Performance Model

https://github.com/AmpereComputing/panthera
1•mshockwave•2m ago•0 comments

Composing fraud rules faster with classical ML and AI-assisted review

https://tech.affirm.com/composing-fraud-rules-at-the-speed-of-the-attack-7f6e05edc2a5
1•alexanderstatni•2m ago•0 comments

Itch.io Deletes 'Terabytes' of AI Slop in to Counter Surge in Game Uploads

https://kotaku.com/itch-io-gen-ai-slop-terrabytes-deleted-claude-chagpt-steam-epic-2000752485
1•speckx•3m ago•0 comments

Show HN: Home Poker Ledger – settle a poker game, one HTML file, no server

https://homepokerledger.com/
1•calk•3m ago•0 comments

PixelLoupe 1.3 – free, open source Lightroom replacement for macOS

https://pixegen.net/pixelloupe/
1•sonicbluestrats•3m ago•0 comments

NYT demands Brave shut down its paywall blocker and end deals with AI firms

https://arstechnica.com/tech-policy/2026/11/nyt-demands-brave-shut-down-its-paywall-blocker-and-e...
1•samizdis•4m ago•0 comments

"Projects" is a new harness pattern, and it is effective

https://subjunct.bearblog.dev/projects-is-a-new-harness-pattern-and-it-is-very-effective/
1•alexh•6m ago•0 comments

ILC Dover, ILC Astrospace Agree to Pay $13M over Cybersecurity Fraud Claims

https://www.justice.gov/opa/pr/defense-and-aerospace-contractors-ilc-dover-and-ilc-astrospace-agr...
2•wmchen•7m ago•0 comments

Show HN: Scriptorium – Turning Lectures into Obsidian Notes and SR Flashcards

https://github.com/alessiocelentano/scriptorium
1•gbocs•7m ago•0 comments

Rambler – A journal for your train of thought

https://github.com/eoind08/Rambler
1•eoind08•7m ago•0 comments

The Ternus Doctrine

https://asymco.com/2026/11/03/the-ternus-doctrine/
1•zdw•10m ago•0 comments

Who broke CI this time?

https://yeet.cx/blog/who-broke-ci
2•zasc•11m ago•0 comments

278M PII detection model bests OpenAI, AWS and Microsoft

https://arxiv.org/abs/2610.30518
2•skjhn•11m ago•2 comments

Git commit based reproducible builds with Maven

https://blog.melnib.one/2026/11/01/git-commit-based-reproducible-builds-with-maven/
1•speckx•13m ago•0 comments

Apple Launches Beta Versions of Watch AI Listening Tools, New Health App

https://www.bloomberg.com/news/articles/2026-11-03/apple-releases-ios-27-3-beta-with-watch-ai-lis...
1•dadadavid•14m ago•0 comments

America's Cold War in Greenland

https://lflank.wordpress.com/2026/11/03/americas-cold-war-in-greenland/
1•dxs•15m ago•0 comments

How close does score-to-audio sync land? 16 piano recordings, measured

https://www.sheetvideo.com/research/sync-accuracy
1•draganzivkovic•16m ago•0 comments

How Software Engineering Is Changing

https://newsletter.pragmaticengineer.com/p/how-software-engineering-is-changing
2•neilkakkar•18m ago•0 comments

A free live outage feed for your agents

https://outages.live/
1•gneray•19m ago•0 comments

Dear 2040

https://whatthefuckjusthappenedtoday.com/dear-2040/
1•outofstep•20m ago•0 comments

Proving LLMs at Scale

https://attestable.com/blog/proving-llms-scale
1•ronfriedhaber•21m ago•0 comments

You're paying too much for code review

https://blog.brokk.ai/youre-paying-too-much-for-code-review/
2•jbellis•25m ago•1 comments

Show HN: Ideas for building better cross-platform apps

https://github.com/rkaehn/uniform
1•rkaehn•25m ago•0 comments

The Conversation Should End

https://andgodspeed.com/blog/the-conversation-should-end
1•domleca•26m ago•0 comments

Learn Lua with Datum and Hue

https://datumhue.app/?arg=learn
1•tripokey•26m ago•0 comments

September 2026 Jolts Eerily Quiet

https://hiringlab.indeed.com/2026/11/03/september-2026-jolts-report-eerily-quiet/
1•toomuchtodo•27m ago•0 comments