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.

Making a small language model behave like a Mythos

https://tansei.io/blog/small-language-model-like-mythos
1•Pooja_Tansei•1m ago•0 comments

Naïve physics

https://en.wikipedia.org/wiki/Na%C3%AFve_physics
2•skibz•4m ago•0 comments

A Universal Hölder Bound with runtime verification

https://zenodo.org/records/22978185
1•GeometryKernel•5m ago•0 comments

The AI Genie Phenomenon and Three Types of AI Chatbot Addiction

https://arxiv.org/abs/2601.13348
1•maksimur•9m ago•0 comments

OpenAI: Astra Model Is Nerfed

https://www.reddit.com/r/codex/comments/1wqjxyy/i_thought_the_model_nerf_posts_were_bullshit/
3•nitinreddy88•14m ago•1 comments

Australia investigating how F-35 fighter jet parts went missing in Hong Kong

https://www.theguardian.com/world/2026/sep/22/australia-investigating-how-f-35-fighter-jet-parts-...
2•baranul•15m ago•0 comments

Show HN: AI coding agents that prove their work

https://daneb.github.io/keel/
1•danebalia•16m ago•0 comments

Fear and Loathing in the Bunker

https://www.nytimes.com/1974/01/01/archives/fear-and-loathing-in-the-bunker-no-questions-asked-th...
1•limbicsystem•17m ago•0 comments

A bounty system for surfacing new crypto scam patterns before they spread

https://dontkyc.me/userlogin
1•thorarganaut•17m ago•0 comments

Five Indianapolis officers charged following reporting on Flock misuse

https://www.msn.com/en-us/news/other/five-indianapolis-officers-charged-following-the-post-s-repo...
1•pseudolus•18m ago•0 comments

Prefill Concurrency in SGLang: Consistent TTFT Under Multi-Tenant Load

https://sference.com/blog/prefill-head-of-line-blocking
1•apejcic•18m ago•0 comments

Show HN: Note Duel – LLM Arena for composing music

https://www.noteduel.com/
1•crimsoneer•20m ago•0 comments

How Virus-Like 'Jumping Genes' Became Our Partners in Evolution

https://www.quantamagazine.org/how-virus-like-jumping-genes-became-our-partners-in-evolution-2026...
1•magoghm•22m ago•0 comments

The Day Bobby Fischer Blew It

https://www.thestacksreader.com/the-day-bobby-blew-it/
1•bryanrasmussen•23m ago•0 comments

Regional Revitalization in the Tokyo Suburbs:Population and Regional Differences

https://note.com/akiko2ka/n/n19c7d62cbca6
1•Akiko_Tsuka•23m ago•1 comments

Scientists Detect Radio Signals from an Exoplanet for the First Time in History

https://www.wired.com/story/scientists-detect-radio-signals-from-exoplanet-for-first-time-in-hist...
1•jonbaer•25m ago•1 comments

Homa: The End of TCP for AI Clusters [video]

https://www.youtube.com/watch?v=eZ8WWZzoaR0
1•signa11•26m ago•0 comments

The Hugging Face incident and impacts of misaligned models on third parties

https://openai.com/hugging-face-incident-and-misalignment/
1•fourfire•28m ago•0 comments

NASA Details Earthquake Effects on the Earth

https://www.jpl.nasa.gov/news/nasa-details-earthquake-effects-on-the-earth/
1•thunderbong•30m ago•0 comments

Spherical Cow

https://en.wikipedia.org/wiki/Spherical_cow
1•kaycebasques•31m ago•0 comments

Ultima Online Retrospective – The Last Hurrah [video]

https://www.youtube.com/watch?v=35SKawn2SDI
2•danso•35m ago•0 comments

MiMo-v2.6-RL-OSS dataset

https://huggingface.co/datasets/XiaomiMiMo/MiMo-V2.6-RL-oss
2•miyuru•37m ago•0 comments

New in Chrome 154: iframes that automatically resize themselves to their content

https://www.bram.us/2026/09/23/responsive-iframes/
2•eustoria•37m ago•0 comments

Improving site performance by shipping more CSS

https://github.blog/engineering/architecture-optimization/improving-site-performance-by-shipping-...
1•torutofu•38m ago•0 comments

It all fits: wgpu, Metal, Vulkan, WebGL, WASM, WebGPU, Luau [video]

https://www.youtube.com/watch?v=CgcS2OxcV6k
1•cs1996•39m ago•1 comments

Show Keystrokes – Keystroke and Shortcut Visualizer Custom Element

https://show-keystrokes.netlify.app/
1•eustoria•40m ago•0 comments

How Work Network Works: A Multi-Activity Mobile Rewards Platform

https://work-networks.com/how-work-network-works.html
1•onlineiqbal•41m ago•0 comments

Codetta: High-Capacity, Keyless, and Undetectable Multi-Agent Collusion

https://arxiv.org/abs/2609.28900
1•sbulaev•41m ago•0 comments

Minecraft random seed world record (with a particle accelerator) [video]

https://www.youtube.com/watch?v=Kd5-1IXqiDQ
2•Zusor•41m ago•0 comments

Understanding the Impact of LLM Watermarking on AI Agent Behavior

https://www.lasso.security/blog/the-provenance-tax-understanding-the-impact-of-llm-watermarking-o...
24•nisosguy•42m ago•1 comments