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.

Arc and Mutex in Rust

https://itsallaboutthebit.com/arc-mutex/
1•auraham•46s ago•0 comments

Arc<Mutex<_>> in Rust

https://aeshirey.github.io/code/2020/12/23/arc-mutex-in-rust.html
1•auraham•1m ago•0 comments

Nibbi

https://www.temeculadsp.com/nibbi
1•johnwheeler•1m ago•0 comments

AI research is dead, long live AI

https://kylrth.com/post/ai-research-is-dead/
1•dddddaviddddd•2m ago•0 comments

Systems: Sales Coaching Platform Which Changes Behaviors

https://10systems.xyz
1•Assane_D•6m ago•0 comments

Tennessee inmate still alive after being administered two lethal injections

https://www.nbcnews.com/news/us-news/ahead-rare-execution-lone-woman-tennessee-death-row-says-pea...
3•techolic•8m ago•0 comments

Mortal Knesset: Twelve contenders. One seat of power

https://mortalknesset.liad0205.workers.dev/
1•escargot•8m ago•0 comments

Can anyone promote my extension on 50/50 profit sharing basis?

https://chromewebstore.google.com/detail/digital-shield-tab-suspen/pkonihncnkmbejhhjadaognganhinnhc
1•digitaShida•8m ago•1 comments

PSSA: A non-transformer language model written from scratch in Rust

https://ai-news-site-cyan.vercel.app/articles/2026-09-30-pssa-a-non-transformer-language-model-wr...
1•qrify_app•10m ago•0 comments

Thoughts on AI

https://medium.com/@dhillonravi1983/thoughts-on-ai-1e1400f9fe4f
1•dhillonrav1983•12m ago•0 comments

Gboard Conveyor Belt Version [video]

https://www.youtube.com/watch?v=DAn34l_YrUM
1•caseyross•12m ago•0 comments

Lights, Camera, Attack: Exploiting Temporal HDR Fusion with Pulsed Light

https://arxiv.org/abs/2609.37742
1•sbulaev•15m ago•0 comments

Show HN: A 311 byte Klotski solver in C++

https://github.com/Dream-World-Coder/depuzzled
1•midnight_dream•16m ago•0 comments

Tokens Written, Tokens Read

https://hci.prof/blog/
1•hciprof•16m ago•0 comments

When Did You Last Write Code?

https://timleland.com/when-did-you-last-write-code/
3•TimLeland•23m ago•0 comments

What is going on with ceiling fans

https://mcmansionhell.com/post/829127919552151552/what-is-going-on-with-ceiling-fans
3•colinprince•30m ago•0 comments

What managing emergencies at Burning Man teaches about tech incident management

https://greatcircle.com/blog/2026/09/29/burning-man-incident-management/
3•ea016•30m ago•0 comments

Google Grapples with Employee Skepticism About New Gemini Model

https://finance.yahoo.com/technology/ai/articles/google-grapples-employee-skepticism-gemini-19524...
2•theanonymousone•30m ago•0 comments

"Revize., The Government Website Expert"

https://www.revize.com/projects/
2•nycdatasci•31m ago•1 comments

The 101 Plays Itself

https://jayjudah.com/101/
3•gregsadetsky•40m ago•0 comments

Starcloud White Paper [pdf]

https://starcloudinc.github.io/wp.pdf
3•duck•42m ago•1 comments

Ask HN: If AI took your job tomorrow, what is your plan?

2•rogerrogerr•43m ago•2 comments

Flet agent got eyes and ears

https://flet.dev/blog/flet-agent-got-eyes-and-ears/
3•appveyor•45m ago•0 comments

The Six-Year Quest to Find the Mystery Woman in an 18th-Century Painting

https://www.wsj.com/arts-culture/fine-art/eleonora-painting-ontario-324850bc
1•gmays•45m ago•0 comments

A local Workday job agent – rule-based resume tailoring, no AI

https://github.com/daliparthi/personal-job-agent
1•teeskay•51m ago•0 comments

A Bombadier beetle, Brachinus crepitans, found at Hampshire, England, in 2023

https://collections.hampshireculture.org.uk/object/insect-coleoptera-beetle-11
1•thunderbong•51m ago•0 comments

Show HN: DOMolition – turn any web page into a destructible platformer

https://domolition.chirkut.xyz/
1•pokemongo11•51m ago•0 comments

Clanker Church – The Saw Test

https://clanker.church/
3•tossit444•54m ago•0 comments

Is sandboxing sufficient to contain rogue agents?

https://blog.cryptographyengineering.com/2026/09/30/is-sandboxing-sufficient-to-contain-rogue-age...
1•zdw•54m ago•0 comments

Show HN: Bountyindex.in – Discord bot and watchlist are back in action

https://www.bountyindex.in
1•axolotl619•56m ago•0 comments