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.

Bitemporal CVE Receipts, Vex/KEV CI Gate, and MCP Server

https://vciy.com/scoreboard
1•voxell_code•2m ago•0 comments

Native Windows Dynamic Island, AppBar Taskbar, and Android Phone Deck in C#

https://github.com/JustNightt/OpenPixel
1•justnight•3m ago•1 comments

A curated selection of Arc-inspired browsers

https://arclikes.com
1•lnrd•6m ago•0 comments

Show HN: Flat fee inference limited by speed, not tokens

https://wideband.dev/app?promo=HACKERNEWS
1•valliveeti•6m ago•0 comments

Why I can't sell you a €1 email inbox

https://www.jannis.io/why-i-cant-sell-you-a-eur1-email-inbox/
1•amaccuish•6m ago•0 comments

Essential Ingredients in a Block Party Revolution (2017)

https://plazaperspective.com/block-party-revolution/
1•mslate•8m ago•0 comments

Show HN: Lilotab – a tab finder and switcher for Chrome

https://chromewebstore.google.com/detail/lilotab/jhdobndbhplpfcaaebplenpkdakdcamb
1•alphab_io•8m ago•0 comments

ELucid8 – A Practicall Dialect of Lucid

https://billwadge.com/2026/11/29/introducing-elucid8-a-practical-dialect-of-lucid/
1•bade•13m ago•0 comments

Four federal cases trace $974M in Nvidia chips and servers to China

https://ailately.com/articles/chip-smuggling-route-to-china
2•ryanedennis•13m ago•0 comments

Ask HN: What's Worth Your Click?

1•abitcynicalabou•14m ago•1 comments

A Subexponential Time Algorithm for Elliptic Curve Discrete Logarithm

https://github.com/bochum-crypto/subexponential-ecdl/tree/main
1•_tk_•15m ago•0 comments

Friday – an open-source alternative to Devin that runs on your laptop

https://github.com/splashxmoon/friday-code
2•teddyd1•15m ago•0 comments

Advertisement urging end of US Military aid to Israel dropped by NBC

https://www.aljazeera.com/news/2026/11/28/advertisement-urging-end-of-us-military-aid-to-israel-d...
4•unitedfirmware•16m ago•0 comments

After=network.target is a shutdown directive

https://savyasacheejha.com/posts/after-network-target/
1•genghizkhan•18m ago•0 comments

Show HN: AAMT v0.7 – Local WebGPU LLM and Diffusion CLI/SDK for Node.js

https://www.npmjs.com/package/@asamanthinks/aamt
1•YareAceNoK•18m ago•0 comments

XBOW vs. Zkao?

1•baby•20m ago•0 comments

How Effective Are Cold Reads for Agentic Review?

https://jonathannen.com/cold-cases/
1•jwilliams•23m ago•0 comments

Show HN: Building an ancient city builder game

https://tiberava.online/
6•arcadefirestorm•25m ago•0 comments

Brandeburg Concertos

https://en.wikipedia.org/wiki/Brandenburg_Concertos
2•gradus_ad•25m ago•0 comments

Farflung Geography Game – Play the Daily Map Quiz

https://farflung.game/
1•Tomte•26m ago•0 comments

Tokyo residents take governments to court as digitalization concerns mount

https://www.japantimes.co.jp/news/2026/11/29/japan/crime-legal/tokyo-app-digital-divide/
1•geox•26m ago•0 comments

Long-Term Memory for a 32K Local Agent: Testing Mnemonic Proxy

https://sotaaz.com/post/mnemonic-proxy-en
2•lastreload•31m ago•0 comments

"Did you know I helped develop recurrent transformers? It's the thing that "

https://www.reddit.com/r/coaxedintoasnafu/comments/1y8l712/coaxed_into_silicon_valleys_awesome_fu...
1•AmbroseBierce•31m ago•1 comments

I made the most beautiful interactive 3D fluid simulation in unreal [video]

https://www.youtube.com/shorts/7WZ8d2GNzEU
1•shroom1•32m ago•0 comments

Show HN: Directory of Markdown Websites

https://buttertart.net
1•amordecosmos•33m ago•0 comments

Show HN: Axum-like Discord bots library in Rust

https://github.com/Nekidev/dyncord
1•nyeki•34m ago•0 comments

Cumulative Measurement Error

https://aphyr.com/posts/431-cumulative-measurement-error
2•lucamark•35m ago•0 comments

How to Cool Down Computers Inside of An Airbus A320 [video]

https://www.youtube.com/watch?v=L7Qwj4Hm1EE
1•karakoram•36m ago•0 comments

Have You Tried Using Your Agent?

https://blog.jim-nielsen.com/2026/have-you-tried-your-agent/
2•Curiositry•37m ago•1 comments

Wine-Staging 11.23 Released with Fix for Steam

https://www.phoronix.com/news/Wine-Staging-11.23
1•Bender•37m ago•0 comments