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.

Technotitlan, 1519 – Experience Aztec's capital in 3D

https://tontinton.com/tenochtitlan/
1•tontinton•1m ago•0 comments

A comprehensive comparison of the main OSS semantic layers

https://motley.ai/blog-posts/four-open-source-semantic-layers-54-capabilities/
1•yannranchere•1m ago•0 comments

iPhone Duo display confirmed to peel off on purpose

https://www.phonearena.com/news/iphone-duo-display-confirmed-to-peel-off-on-purpose_id183766
1•cisc•1m ago•0 comments

Let's Make /Photo Pages

https://robertbirming.com/make-photo-pages/
1•flobosg•2m ago•0 comments

A giant list of smart home discounts for prime big deal days (October 6-7,2026)

https://smarthomescene.com/news/best-smart-home-deals-for-amazon-prime-big-deal-days/
1•kiselio•2m ago•0 comments

Show HN: Niquests – Concurrent HTTP in Python, no async or threading code

https://niquests.readthedocs.io/en/latest/user/quickstart.html#lazy-responses-and-manual-scheduling
1•mesahm•4m ago•0 comments

Over My Dead Pencil

https://world.hey.com/dhh/over-my-dead-pencil-fb0f3647
1•Ch00k•6m ago•0 comments

Show HN: Buscalid – Paste your site, get a real company that fits as a customer

https://buscalid.com/
1•davidnez•8m ago•1 comments

Rill: A browser for using Claude Code and Codex from any page

https://rill.love/
1•codelion•8m ago•0 comments

OpenBSD: Vmm(4)/vmd(8) gain support for multi-processor VMs

https://undeadly.org/cgi?action=article;sid=20260927115632
1•CTOSian•9m ago•0 comments

DOOM, simulated and rendered inside the Firebird SQL database using WASM

https://github.com/mariuz/firebird-doom
1•mariuz•12m ago•0 comments

The curious case of the bear in the Bayeux tapestry

https://theconversation.com/the-curious-case-of-the-bear-in-the-bayeux-tapestry-what-it-tells-us-...
1•zeristor•13m ago•0 comments

Apply to X Combinator

https://xcombinator.com/abc
1•wapiou•14m ago•0 comments

Vacadu – plan a whole trip day by day on a map, by hand or with AI

https://vacadu.com
1•amirpupko•15m ago•0 comments

Showcase your apps with new assets on the App Store

https://developer.apple.com/news/?id=ljpl7kyn
1•skreep•17m ago•1 comments

Hosting Without Hyperscalers

https://ruuda.nl/2026/hosting-without-hyperscalers
1•ruuda•20m ago•0 comments

One Shot Game Engine

https://www.reddit.com/r/accelerate/comments/1wxwz3c/can_ai_make_a_game_engine_yes/
1•cyh555•21m ago•0 comments

We built a job queue on an LSM tree. This is what we learnt

https://zizq.io/blog/what-we-learnt-building-a-job-queue-on-an-lsm-tree
1•d11wtq•21m ago•0 comments

Dynamo, DynamoDB and Aurora DSQL (2025)

https://brooker.co.za/blog/2025/08/15/dynamo-dynamodb-dsql.html
1•teleforce•24m ago•0 comments

Germany: Ex-spy chief arrested for espionage

https://www.dw.com/en/germany-ex-spy-chief-arrested-for-espionage-reports/a-79560278
3•Tomte•24m ago•0 comments

European Spend Report 2026

https://www.spendesk.com/blog/european-spend-insights-2026/
1•siroj•24m ago•0 comments

Agentic Learning Without Retention

https://zenodo.org/records/22706328
1•shoman3003•25m ago•0 comments

Astronomers catch a star slowly snacking on a brown dwarf, 300 light years away

https://news.mit.edu/2026/astronomers-catch-star-slowly-snacking-on-brown-dwarf-1005
2•WithinReason•28m ago•0 comments

Gleam doesn't compile to Erlang source anymore

https://gleam.run/news/gleam-doesnt-compile-to-erlang-source-anymore/
2•ingve•38m ago•0 comments

SatBleed: Security of Commoditized Communication Modules in Satellites

https://arxiv.org/abs/2610.06258
2•sbulaev•39m ago•0 comments

Two Types of AI Agents

https://matthiasplappert.com/blog/2026/two-agent-types/
3•mplappert•40m ago•0 comments

Unroll a loop, make shader 10x faster

https://aras-p.info/blog/2026/10/05/Unroll-a-loop-make-shader-10x-faster/
1•ingve•41m ago•0 comments

Every Go release since 2013, benchmarked: go1.2 to go1.27

https://praneos.com/blog/go-performance-1-2-to-1-27/
3•darccio•41m ago•0 comments

Faster Software Linking with Mold

https://lemire.me/blog/2026/10/06/linking-node-js-with-mold/
2•smilelamp•43m ago•0 comments

Regular AI users are more likely to hold quality jobs

https://news.gallup.com/poll/714602/benefits-work-unevenly-distributed.aspx
2•giuliomagnifico•47m ago•0 comments