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.

I'm working on a realistic lunar foundry simulation: Smelting, Casting, Power

https://www.youtube.com/watch?v=rpMQyxIV-i4
1•shroom1•47s ago•0 comments

Category Theory Illustrated – Sets

https://abuseofnotation.github.io/category-theory-illustrated/01_set/
1•frenchie_sans•2m ago•0 comments

Humans cause most accidents. Is Grand Theft Auto the key to safer roads?

https://www.bbc.com/future/article/20261110-grand-theft-auto-video-games-are-being-harnessed-to-m...
1•CaptainZapp•3m ago•0 comments

Scotland created Grand Theft Auto – is its video game industry still thriving?

https://www.bbc.co.uk/news/articles/c60qkn5gz392o
1•Kaibeezy•5m ago•0 comments

Ask HN: How much more productive you were today with Outlook offline?

1•jimnotgym•7m ago•1 comments

Jensen Huang Admitted He Was Facing an "Avalanche" of Excess Wafers and Memory

https://respawnfirst.com/before-resigning-jensen-huang-admitted-he-was-facing-an-avalanche-of-exc...
3•oscarfr•7m ago•0 comments

Tentative Advice on Building with AI

https://oath.tech/pub/2026/08/tentative-advice-building-with-ai/
1•MrBuddyCasino•7m ago•0 comments

AI Mixing and Mastering Services Compared

https://moozix.com/compare
1•fenderdude•8m ago•0 comments

CrawlX – Map the attack surface that only exists after JavaScript runs

https://crawlx.dev/
1•kaankeskin•9m ago•0 comments

A Bettercap Tutorial – From Installation to Mischief

https://danielmiessler.com/blog/bettercap
1•rumpleforeskin•11m ago•0 comments

'I'm a piece of sh–': Jensen Huang's last hours as Nvidia CEO

https://sg.news.yahoo.com/im-a-piece-of-sh---jensen-huangs-last-hours-as-nvidia-ceo-054123426.html
2•FartyMcFarter•11m ago•2 comments

Bandits on Movie Ratings

https://stochastic.blog/bandits-on-movie-ratings/
1•Anon84•13m ago•0 comments

How Strata Fits a 125B AI Model into Consumer Hardware

https://www.youtube.com/watch?v=u-yf-HlKhxU
1•lroe•13m ago•0 comments

ASDEX Upgrade – The hottest place to be in research

https://www.mpg.de/my-science-and-me-gallery
1•Bluestein•13m ago•0 comments

Show HN: Pcap Packet Analyzer – Inspect .pcap Files in the Browser

https://quickfit.iuschro.com/calc/pcap-packet-analyzer/
2•IUSCHRO•15m ago•0 comments

Ask HN: How do you upgrade the models you run in production?

1•amirbraham•17m ago•0 comments

Tech Job Market 2026, Where Is AI's VisiCalc? – Food for Agile Thought #570

https://age-of-product.com/food-agile-thought-570-tech-job-market-2026/
3•swolpers•19m ago•0 comments

Training a 1T-Parameter MoE on EU public infrastructure

https://pytorch.org/blog/training-a-1t-parameter-moe-on-eu-public-infrastructure-with-pytorch-and...
3•amunozo•20m ago•0 comments

Terminal borders that don't cost a cell

https://www.joshka.net/cell-borders/
3•frostbyte7•24m ago•0 comments

Fastcord: A Native Client for Discord

https://creikey.com/fastcord/
4•samhsmith•27m ago•0 comments

Osmosis Restarts After Halt; Upbit Pauses Transfers

https://thedefiant.io/news/infrastructure/osmosis-restarts-after-halt-upbit-pauses-transfers
3•cmb24k•27m ago•0 comments

A Catio Can Just Be a Box - Here's How to Build One

https://www.nytimes.com/2026/11/13/realestate/a-catio-can-just-be-a-box-heres-how-to-build-one.html
4•wainstead•31m ago•0 comments

Show HN: I'm putting Sentrint up for acquisition, bidding starting at $5,102 USD

https://sentrint.com/
6•heythere47•31m ago•0 comments

A DrRacket style editor for Clojure with some Lisp Machine inspired features

https://jonquil.b12n.app/
2•yogthos•33m ago•0 comments

Show HN: quint-audit - deterministic spec-quality auditor for Quint (OCaml)

https://github.com/Mimosa-Grove/quint-audit
2•phillc73•33m ago•0 comments

A Conditional Proof of the Goldbach Conjecture

https://mrc.sdu.edu.cn/english/info/1018/1514.htm
4•decompwlj•34m ago•0 comments

Tests as data: Ensuring AI-generated code does what we want

https://martinfowler.com/articles/tests-as-data.html
1•BerislavLopac•34m ago•0 comments

How Much Could the UK Raise from Higher Taxes?

https://hannahritchie.substack.com/p/uk-taxes
2•jkly•35m ago•0 comments

BMDS – Bare Metal Do Stuff

https://github.com/jthwho/bmds
1•sohkamyung•36m ago•0 comments

Best-Ever 3D Map of the Universe to date

https://www.mpg.de/27073683/euclid-lays-the-foundation-for-its-best-ever-3d-map-of-the-universe
3•mr_mitm•37m ago•1 comments