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.

When the Chips Are Down

https://www.rawsignal.ca/newsletter-archive/when-the-chips-are-down/
1•mooreds•6s ago•0 comments

PR Bender

https://prbender.com/
1•suleigolden•25s ago•0 comments

What's Left for Software Developers

https://www.mooreds.com/wordpress/archives/3757
1•mooreds•58s ago•0 comments

What's new in Proxmox VE 9.3 [video]

https://www.youtube.com/watch?v=I_Yjr1LwkCo
1•Tajnymag•1m ago•1 comments

US Army detonates tons of unstable bomb-making chemicals in Iowa

https://www.cnn.com/2026/11/25/us/live-news/iowa-lead-azide-detonation
1•blinding-streak•2m ago•0 comments

Army detonates tons of lead azide as local residents brace for toxic plume

https://arstechnica.com/health/2026/11/army-detonates-tons-of-lead-azide-as-local-residents-brace...
1•mikestew•2m ago•0 comments

AIL: An open format for links that start an AI conversation

https://github.com/ail-spec/ail
1•ail-spec•2m ago•0 comments

Meta insiders say AI content moderation struggles with nuance and appeals

https://www.theguardian.com/technology/2026/nov/25/meta-insiders-concerned-push-to-ai-content-mod...
3•datascientist•3m ago•0 comments

The Fastest Markdown Editor

https://ia.net/topics/the-fastest-markdown-editor
2•robenkleene•3m ago•0 comments

A Mysterious Clone

https://www.leadedsolder.com/2026/11/17/apple-iie-clone-loose-crystal.html
2•speckx•3m ago•0 comments

Bickering Buildings: A Dialogue Between the Churches of Athens in 1854

https://publicdomainreview.org/essay/bickering-buildings
1•titusblair•5m ago•0 comments

Colorado's Digital ID App Was Breached. Up to 150k People's Data May Be Affec

https://inclinq.medium.com/colorados-digital-id-app-was-breached-up-to-150-000-people-s-data-may-...
3•inclinq•7m ago•0 comments

How to Turn a Philanderer into a Father

https://asteriskmag.com/issues/16/how-to-turn-a-philanderer-into-a-father
1•surprisetalk•8m ago•0 comments

Cleaning the house with LLMs (llm2real) [video]

https://www.youtube.com/watch?v=DIernxr0JQQ
1•luka598•8m ago•0 comments

Solar production keeps exceeding predictions

https://bsky.app/profile/aukehoekstra.bsky.social/post/3mzfwqemnpc2l
1•CharlesW•9m ago•0 comments

Show HN: Dx (Rust) – TUI with native LSP, image/video support and more

https://dx.essencefromexistence.com
1•essfrmexistence•9m ago•0 comments

Show HN: Axelix – open-source platform to solve pains of Java Developers

2•mipo256•9m ago•0 comments

I built PocketLAB to vibe code my own handheld apps

https://opuslabs.substack.com/p/i-built-pocketlab-to-vibe-code-my
1•opuslabs•11m ago•0 comments

Veto – Experimental systems language for Ring-0 kernels (v0.4.2)

https://github.com/veto-programming-language/VETO-Programming-Code
2•darkgamer•12m ago•0 comments

Pop _OS 26.04 LTS vs. Pop _OS 24.04 LTS Benchmarks

https://www.phoronix.com/review/pop-os-2604-benchmarks
1•rbanffy•12m ago•0 comments

Never gonna give proofs up, never gonna let Raft down

https://discourse.ubuntu.com/t/never-gonna-give-proofs-up-never-gonna-let-raft-down/92411
1•peterparker204•13m ago•0 comments

Control Tower Agentic

https://github.com/aouicher/control-tower-agentic
1•aouicher•13m ago•1 comments

kevin was right - people use too many words

https://whysaylotword.com/
1•felipevelzani•14m ago•0 comments

WALI: The WebAssembly Linux Interface

https://wasm-thin-kernel-interfaces.github.io/WALI/
1•teleforce•15m ago•0 comments

Show HN: I implemented LINQ in my own programming language

https://github.com/ArcadeMakerSources/ArcadeMaker/blob/master/src/Exp/libs/linq.txt
1•themondayguy•17m ago•0 comments

New York and California Age Gating Rules Go into Effect in the New Year

https://www.eff.org/deeplinks/2026/11/new-york-and-california-age-gating-rules-go-effect-new-year
2•hn_acker•17m ago•0 comments

New York vs. Auto-Enshittification

https://pluralistic.net/2026/11/25/empire-state-strikes-back/
3•hn_acker•17m ago•0 comments

Show HN: Ephyra, a New Library for Agentic Property-Based Testing

https://github.com/datadog-labs/ephyra
1•alpaylan•17m ago•0 comments

I Bought GTA VI with Muse in London

https://www.reddit.com/r/MetaAI/comments/1y5a4ow/day_2_of_muse_i_bought_gta_vi/
1•okiki-clickdrop•19m ago•1 comments

Ask HN: If you had no limitations what would you build in AI?

4•NarcisMirandes•19m ago•2 comments