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.

Show HN: Dev Null News, a daily paper so you don't have to read every merged PR

https://dnn.sh/
1•youio•3m ago•0 comments

Zephyr RTOS 4.5 Now Available

https://www.zephyrproject.org/zephyr-rtos-4-5-now-available-two-new-architectures-multimedia-pipe...
1•voxadam•3m ago•0 comments

Scientists trap and tame a single particle of antimatter for months

https://news.northwestern.edu/stories/2026/10/scientists-trap-and-tame-a-single-particle-of-antim...
1•gmays•8m ago•1 comments

Come Back and Back AI

https://comebackandback.com/
1•HAXU4•12m ago•0 comments

QCurve – An offline Android music player with a custom C++ DSP engine

https://play.google.com/store/apps/details?id=com.qcurve.player&hl=en_US
1•codewillex•13m ago•0 comments

United Starlink Tracker

http://starlinktracker.united.com/
2•craigkerstiens•14m ago•0 comments

The Quiet Part – a lesson on AI and jobs, built and narrated by AI

https://thequietpart.ai/?src=hn
1•BlueOctave•14m ago•0 comments

Deep Learning Alchemy – Stanford CS 312

https://deep-learning-alchemy.github.io/
1•simonpure•15m ago•0 comments

Agentic CI/CD with Azure Cosmos DB: Isolated Envs for a Swarm of AI Agents

https://devblogs.microsoft.com/cosmosdb/agentic-ci-cd-with-azure-cosmos-db-isolated-environments-...
1•jaydestro•19m ago•0 comments

a

https://finance.yahoo.com/markets/article/what-robinhoods-cfo-found-interesting-about-anthropics-...
4•fascinnn•20m ago•1 comments

Epileptic woman dies after going to ChatGPT for medical advice

https://www.abc10.com/article/news/nation-world/epileptic-woman-dies-chatgpt-medical-advice-famil...
1•BrokenCogs•20m ago•1 comments

OpenAI API Credits of 100/200/500 on Pro Plans

https://help.openai.com/en/articles/20001626-api-credits-benefit-for-eligible-chatgpt-subscriptio...
1•super_linear•21m ago•0 comments

Admin

https://admin.google.com/ac/accountchooser?continue=https://admin.google.com/ac/home?hl%3Den%26ra...
1•liamhtdjyrd•23m ago•0 comments

Declaring a National Emergency to Secure the United States Bulk-Power System

https://www.whitehouse.gov/presidential-actions/2026/08/declaring-a-national-emergency-to-secure-...
1•freakynit•29m ago•1 comments

Designing a SIMD Algorithm from Scratch (2023)

https://mcyoung.xyz/2023/11/27/simd-base64/
1•davikr•33m ago•1 comments

How Big Is a Billion Dollars?

https://www.realworth.io/how-big-is-a-billion-dollars
2•gmays•37m ago•0 comments

I built a Chrome extension that shows you a web page the way AI crawlers see it

https://lumi-geo.pages.dev/
2•GoarDev•38m ago•0 comments

Continuous Engineering: Automating almost everything, but what do humans do?

https://fleetbridge.run/continuous-engineering
1•rayh•39m ago•0 comments

Intranasal Administration of Mebufotenin for Treatment-Resistant Depression

https://jamanetwork.com/journals/jama/article-abstract/2855796
1•gone35•39m ago•1 comments

Show HN: Vibegif – 750 GIFs and animated WebP made by Opus 5.5 (public domain)

https://vibegif.direct-img.link/
1•planetrenox•41m ago•0 comments

Show HN: Turn the prompts you keep retyping into slash commands

https://github.com/kishormorol/cli-faq-shortcuts
2•kishoremorol•46m ago•2 comments

EU tells countries to make plans to cope with 3C of global warming

https://www.ft.com/content/9640cae1-98bb-4509-adb1-729ca6a5f2a8
6•alephnerd•46m ago•0 comments

HLock: Harness Portability for Agent Configs

https://docs.hlock.ai/
1•handfuloflight•56m ago•0 comments

The Beleaguered Chip Sellers Getting Their Revenge on Apple

https://www.wsj.com/tech/apple-iphone-memory-chips-ai-c0084cc9
3•mudil•56m ago•0 comments

Tangled.org ongoing outage (>= 7 hours) due to AT protocol

https://status.tangled.org
2•paaloeye•56m ago•3 comments

The Fastest (long) ilog10 in the West

https://duplexsystem.org/blog/the-fastest-ilog10-in-the-west/
3•titaniumtown•57m ago•1 comments

A historical timeline of Show HN

https://www.worldintimelines.com/t/hacker-news-show-hn
1•thedreammachine•57m ago•0 comments

3pm – A private desktop calendar for people living with a mental disorder

https://3pm.ninja/
1•adamhott•59m ago•0 comments

A zero-dependency auditor for AI agent exposure (secrets, SSH, configs)

https://ai-agent-antivirus.space/
4•JohnMci•1h ago•1 comments

The campaign to push the Northstar browser into Linux distributions

https://lwn.net/SubscriberLink/1102738/e124c97f934a717e/
4•12_throw_away•1h ago•0 comments