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.

MALDA - programming language reference manual

https://amaldini.github.io/maldalang/
1•amaldini•1m ago•0 comments

Claude and ChatGPT Run My Fantasty Football Team: Draft Edition

https://theautomatedoperator.substack.com/p/chatgpt-and-claude-run-my-fantasy
1•idopmstuff•1m ago•0 comments

I recently went through a translation of Musashi's Book of Five Rings

https://twitter.com/ID_AA_Carmack/status/2098443262214230095
1•tosh•1m ago•0 comments

Digital Product Passport (DPP) Startup from Germany

https://dppflash.de/
2•bergstreiser•1m ago•0 comments

Ask HN: AI and Math

2•ekm2•2m ago•0 comments

Emerging Paradigm of Quantum Machine Learning: Knowledge Insights and Prospects

https://www.computer.org/csdl/journal/ai/2026/08/11419129/2eyKIGfYowg
2•rbanffy•2m ago•0 comments

Token Bills, Exhausting Change, AI Thesis Crack, Automating Broken Systems

https://age-of-product.com/food-agile-thought-561-token-bills/
2•swolpers•2m ago•0 comments

WalShadow: Sub-second Postgres replication to ClickHouse from physical WAL

https://clickhouse.com/blog/introducing-walshadow
2•spathak•3m ago•0 comments

Show HN: Hacker News, Without AI

https://www.unslop.news/
2•otherayden•3m ago•0 comments

Inefficiency is bad, actually

https://pluralistic.net/2026/09/11/mazzucato-thought/
3•hn_acker•4m ago•0 comments

Ego2wrist: Turning head-mounted egocentric videos into wrist videos

https://sidwyn.com/posts/ego2wrist/
2•sidwyn•5m ago•0 comments

Streameriux – TV Player PoC Using Gpuix and Mediabunny

https://github.com/rubnogueira/streameriux
2•rubnogueira•5m ago•1 comments

Meta says it's changing AI suggestions after posing invasive personal questions

https://www.theverge.com/tech/993974/meta-ai-prompt-invasive-suggestions
3•utiiiD•6m ago•0 comments

'Dr Doom' shows support for surveillance cameras at city council meeting [video]

https://www.youtube.com/watch?v=W72qvNqJNl8
2•kingleopold•7m ago•0 comments

The Last 24 Hours Are the Opening Scene in a Horror Movie

https://www.honest-broker.com/p/the-last-24-hours-are-the-opening
3•antlas•7m ago•0 comments

Show HN: Tab Atlas – A visual tab manager that never auto-closes your tabs

https://chromewebstore.google.com/detail/tab-atlas-visual-tab-mana/jimgeefcpapoihnidlnojegpebpcnfgp
2•mysticmetal•8m ago•0 comments

Using Canary Cell to Detect and Prevent Rowhammer Attack

https://www.computer.org/csdl/magazine/mi/5555/01/11475570/2fuMkPvZPzi
2•rbanffy•8m ago•0 comments

Godot and Rust based multiplexer (terminal panes and more)

https://github.com/godot-pty/gpty
3•1nv1n•9m ago•1 comments

Moonspell – An interactive museum of software engineering

https://moonspell.fm
3•zdeeb•9m ago•0 comments

Ex-Anthropic insider tells CNN how AI could kill all humans by 2030 [video]

https://www.youtube.com/watch?v=i30jVPqQeOM
2•nicola•10m ago•0 comments

OpenAI pulls out of math hackathon after open letter criticizing AI math 'slop'

https://www.businessinsider.com/openai-caltech-ai-math-hackathon-backlash-anthropic-2026-9
3•camelfarmer•10m ago•0 comments

Show HN: Raggy – A lightweight CLI tool for RAG over local documents

https://github.com/paulknysh/raggy
3•paulknysh•10m ago•1 comments

Five Words from Vanishing Fleece

https://blog.wordnik.com/five-words-from-vanishing-fleece
2•dan353hehe•11m ago•0 comments

Observability made easy: Serverless and Datadog Orchestrion

https://giou-k.github.io/curated/orchestrion/
2•darccio•13m ago•0 comments

The Nightmare of Scaling AI-Generated Code and Hardware Constraints

https://github.com/pardpro/flat4-architecture
3•gujian8•13m ago•0 comments

Meta's AI agent Muse is now the No. 2 app in the US

https://techcrunch.com/2026/09/10/metas-ai-agent-muse-is-now-the-no-2-app-in-the-us/
2•bookofjoe•14m ago•0 comments

Global Glacier Extinction Explorer

https://glacierextinction.com
2•guillego•14m ago•0 comments

118M Queries per Second on Neki

https://planetscale.com/blog/118-million-queries-per-second-on-neki
3•joshmgross•16m ago•0 comments

GCC 13.5 Released with 256 bugs fixed, closing release series

https://gcc.gnu.org/pipermail/gcc/2026-September/248876.html
4•edelsohn•18m ago•0 comments

Power Grab

https://tante.cc/2026/09/11/power-grab/
3•edent•18m ago•0 comments