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.

Debian and the Sirens

https://joeyh.name/blog/entry/Debian_and_the_sirens/
1•klez•1m ago•0 comments

Autistici/inventati: Manifesto – who we are and what do we want (2002)

https://www.inventati.org/who/manifesto
4•wise_blood•3m ago•0 comments

Show HN: Airtight – single-file portfolio tracker, zero servers, works offline

https://airtight.sell.app
1•AirTight•4m ago•0 comments

Show HN: Doodle AI: open-source photo-to-doodle avatar generator

https://doodleai.art/
1•Yash16•4m ago•1 comments

To Human Is to Explore

https://panchamkhaitan.com/blog/to-human-is-to-explore
1•panchamkhaitan•5m ago•0 comments

Agent Security Is a Systems Problem: What 247 Papers Say About Secure AI Agents

https://www.truefoundry.com/blog/llm-agent-security-runtime-control-planes
1•LogTrim•5m ago•0 comments

The best workflow engine is a programming language

https://vercel.com/blog/the-best-workflow-engine-is-a-programming-language
1•theanonymousone•12m ago•0 comments

Sharp rise in incidents of AI escaping users' control, research finds

https://www.theguardian.com/technology/2026/aug/29/sharp-rise-in-incidents-of-ai-escaping-users-c...
1•geoffbp•14m ago•0 comments

AI Image Generation on an RP2350 Microcontroller

https://cpldcpu.github.io/2026/08/28/ai-image-generation-on-a-rp-pico-2-microcontroller/
1•rcarmo•16m ago•1 comments

Show HN: Explore JVM class-resolution traces as interactive directed graphs

https://github.com/menzew/class-trace-explorer
1•benzewdu•17m ago•0 comments

Skirminiac – An AI-first deterministic wargame

https://www.skirminiac.com
1•LouisSaifer•28m ago•1 comments

Impact of Google AI Overviews on Wikipedia Traffic

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6164926&__cf_chl_tk=yAhL3EN950gYq8L72ow6o3fGC...
1•alexcos•30m ago•0 comments

Talk Is Cheap. Code Is Cheap. Show Me the Source

https://idlip.in/posts/show-me-source/
1•birdculture•31m ago•0 comments

Over 8,300 Gitea servers vulnerable to code execution attacks

https://www.bleepingcomputer.com/news/security/over-8-300-gitea-servers-vulnerable-to-code-execut...
2•geoffbp•37m ago•0 comments

Htmx and Django LiveView, side by side

https://en.andros.dev/blog/94d14a9e/htmx-and-django-liveview-side-by-side/
1•andros•37m ago•0 comments

How to sign up for a virtual power plant–and decide whether you should

https://www.technologyreview.com/2026/08/28/1142956/how-to-sign-up-for-a-virtual-power-plant-and-...
2•joozio•41m ago•0 comments

The Reliable Team Trap

https://kevingoldsmith.substack.com/p/the-reliable-team-trap
2•fagnerbrack•41m ago•1 comments

Zero-Day EoP in Kaspersky Endpoint Security Lets Attackers Own the Protector

https://forum.cktn.de/t/big-breaking-guardian-turned-gatekeeper-zero-day-eop-in-kaspersky-endpoin...
1•CHEF-KOCH•45m ago•1 comments

Hyperuplink: Discuss Like It's 1998

https://xn--gckvb8fzb.com/hyperuplink-discuss-like-its-1998/
2•ErenayDev•48m ago•0 comments

GaussianGPT: Generating 3D scenes autoregressively with Gaussian Splatting

https://github.com/nicolasvonluetzow/GaussianGPT
2•DarenWatson•58m ago•0 comments

I Built the Mazda Suitcase Car [video]

https://www.youtube.com/watch?v=rpV4phLQsE4
2•the-mitr•1h ago•0 comments

Bookhoarder: Open-Source, Self-Hosted ePub Library on Object Storage

https://bookhoarder.dev/
2•0megion•1h ago•1 comments

e is a customizable self-aware Emacs-like editor written in Chez Scheme

https://github.com/paveluv/e
7•p4bl0•1h ago•4 comments

Show HN: Tokensift, an open-sourced token-efficiency linter for LLM prompts

https://github.com/ritenv/tokensift
2•ritenv•1h ago•0 comments

FuturePost Unlock – Create time-locked QR codes that unlock your message later

https://www.haoqibit.com/futurepost-unlock
2•Popang•1h ago•0 comments

We probed every remote server in the official MCP registry (15,329 URLs)

https://fetchgate.dev/blog/mcp-registry-audit-2026
2•chiefgrowth•1h ago•0 comments

Answers to questions about upstreaming patches

https://www.thomas-huehn.com/answers-upstreaming/
2•Tomte•1h ago•0 comments

I tried vibe-coding a memory tool for AI and stared into the abyss of philosophy

https://arbustoemchamas.substack.com/p/i-naively-tried-vibe-coding-a-memory
2•milon•1h ago•1 comments

Beyond the Editing Canvas: Evidence Divergence in Ooxml-to-LLM Ingestion

https://arxiv.org/abs/2608.25880
3•sbulaev•1h ago•0 comments

Samsung's Processing-in-Memory (PIM)

https://chipsandcheese.com/p/hot-chips-2026-samsungs-processing
21•ingve•1h ago•1 comments