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.

Be the best in the world, for a few real people

https://herbertlui.net/be-the-best-in-the-world-for-a-few-real-people/
1•herbertl•1m ago•0 comments

Don't Pave the Cow Path

https://alearningaday.blog/2026/08/02/dont-pave-the-cow-path/
1•herbertl•3m ago•0 comments

Aquila Voice Assistant Test Suite for Home Assistant

1•aquila416•4m ago•0 comments

The Shooter Didn't Expect This [video]

https://www.youtube.com/watch?v=XXXKnUnc8Sg
1•Bender•6m ago•0 comments

First open-source firmware for AM5 officially launches

https://www.tomshardware.com/pc-components/motherboards/first-open-source-firmware-for-am5-offici...
1•peter_d_sherman•8m ago•0 comments

Print Your Speakers

https://printyourspeakers.com
1•michael_michael•9m ago•0 comments

Qwen 3.8-Max and Qwen3.8-27B are going open weight

https://twitter.com/Alibaba_Qwen/status/2084100707423289643
2•ahmadawais•11m ago•2 comments

MiniMax-H3 weights are up

https://huggingface.co/MiniMaxAI/MiniMax-H3
1•dagaci•13m ago•1 comments

OpenAI's super PAC is funding AI-generated news site attacking industry critics

https://www.modelrepublic.org/articles/the-reporters-at-this-news-site-are-ai-bots.-openai%E2%80%...
4•JSR_FDED•16m ago•1 comments

PirateBox: An "artistic provocation" in lunchbox form (2011)

https://arstechnica.com/tech-policy/2011/01/piratebox-an-artistic-provocation-in-lunchbox-form/
1•cardamomo•20m ago•0 comments

Local vs. Frontier: Benchmarks for My Digital Nervous System

https://humanparadox.org/local-vs-frontier-benchmarks-for-my-personal-assistant/
1•colingauvin•21m ago•0 comments

Southern California radio station lays off staff switches to all-music format

https://ktla.com/news/california/socal-radio-station-lays-off-entire-staff/
1•Bender•22m ago•0 comments

OneRaccoonAway – Jimothy-inspired Seattle bus times

https://www.oneraccoonaway.org/
1•aaronbrethorst•24m ago•0 comments

Linux 7.2-Rc6 Released: "This RC Is Huge"

https://www.phoronix.com/news/Linux-7.2-rc6-Released
1•Bender•24m ago•0 comments

Qwen 3.8 Max Live Now

https://www.qwencloud.com/models/qwen3.8-max
18•zkmon•27m ago•1 comments

The VP is not ignoring you

https://ganzefolge.substack.com/p/the-vp-isnt-ignoring-you
1•neinasaservice•29m ago•0 comments

FastJSON Broke Again. Why?

https://blog.vonng.com/en/cloud/fastjson-boom/
1•EnnEmmEss•29m ago•0 comments

Qwen3.8-Max: A New Bar for Coding and Cowork

https://qwen.ai/blog?id=qwen3.8
7•ai2027•30m ago•0 comments

US Water Systems Hit by Suspected Iranian Cyber Attacks

https://www.opforjournal.com/p/us-water-systems-hit-by-suspected
2•djwhite155•34m ago•1 comments

Yen leaps after intervention, leaving the dollar bruised

https://www.reuters.com/world/asia-pacific/dollar-suddenly-falls-against-yen-traders-alert-furthe...
4•Jimmc414•34m ago•1 comments

RFC 9846: The Transport Layer Security (TLS) Protocol Version 1.3

https://www.rfc-editor.org/rfc/rfc9846.html
1•Jimmc414•34m ago•0 comments

Ask HN: Have LLMs Plateaued?

3•leandrobon•36m ago•0 comments

Amazon completes $50B investment in OpenAI

https://www.ft.com/content/8ae9e6e4-a53c-44da-8e7d-c9d81f0df4b9
2•sbulaev•39m ago•0 comments

I Synthesized a Chalcone into a Flavonol in Six Days

https://medium.com/whatsnextwray/how-i-synthesized-a-chalcone-into-a-flavonol-in-six-days-518595b...
1•raynchad•41m ago•0 comments

AI Can Design Parts but It Can't Do This [video]

https://www.youtube.com/watch?v=K99LtENdQjA
1•boringperson•48m ago•0 comments

A mystery virus started killing horses. Then humans

https://www.theguardian.com/science/2026/aug/03/hendra-virus-australia-sentinels-book-extract-ani...
4•edfsadfer•50m ago•1 comments

Zenith – AI that parses 2D blueprints into instant quote breakdowns

https://zenithquoting.com/
1•MalikCarey•51m ago•0 comments

Ripchaser – Sports card checklist and parallel mapping tool

https://ripchaser.com/
1•engraveprice•55m ago•0 comments

Show HN: OpenTalking – Privately deployable real-time AI avatar

https://github.com/datascale-ai/opentalking
1•xx123122•55m ago•0 comments

Qwen3.8-Max

https://twitter.com/Alibaba_Qwen/status/2084093402967396594
6•logickkk1•56m ago•0 comments