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.

Nixpkgs is now on Radicle – the distributed forge

https://radicle.network/nodes/index.radicle.garden/rad%3Az3StaJpzQNGhhkPfhCtRxSmNZZpu9
1•h1watt•49s ago•0 comments

OpenAI agents used dead web site to communicate in May, well before HF incident

https://www.theregister.com/ai-and-ml/2026/09/04/rogue-openai-agents-used-dead-german-web-site-to...
1•mdp2021•1m ago•0 comments

Pogo – a Django ORM language server (LSP) for completion, hover, and diagnostics

https://github.com/amirhasanzadehpy/Pogo
1•amirhasanzadehp•4m ago•0 comments

I Changed My License

https://bergie.iki.fi/blog/eupl/
1•bergie•4m ago•0 comments

The status and science of the LZ dark matter experiment

https://lz.lbl.gov/
2•throw315•10m ago•1 comments

A browser-based circle and dome planner for Minecraft builders

https://pixelcirclebuilder.com
1•charlesgoodman•12m ago•0 comments

What Will Be Scarce?

https://aleximas.substack.com/p/what-will-be-scarce
1•andsoitis•12m ago•0 comments

Treating Token Consumption as a First-Class Engineering Discipline

https://github.com/theagentplane/tokenops
4•agentplane•17m ago•0 comments

After Work, We'll Have Each Other

https://asteriskmag.com/issues/15/after-work-we-ll-have-each-other
1•jger15•23m ago•0 comments

How to Accidentally Find 3M Missing People in Argentina [video]

https://www.youtube.com/watch?v=FwLLs1E-sao
1•marklit•25m ago•0 comments

Ask HN: What did you achieve with GPT 6 Astra so far?

1•Mooty•25m ago•1 comments

Shared Memory Consistency from Scratch Part 1: Causality

https://allthoughts.me/blog/shared-memory-consistency-from-scratch-part1/
1•mmozeiko•28m ago•0 comments

Releasing Execution Contexts in Crystal

https://crystal-lang.org/2026/07/12/releasing-execution-contexts/
2•TheWiggles•29m ago•0 comments

What would the last software engineer still need to do?

https://www.coderabbit.ai/blog/the-last-software-engineer-knows-what-to-build
2•Bluestein•30m ago•0 comments

Am I missing something? Is programatically sending SMS globally this bad?

https://chatgpt.com/share/6a9bcd2b-ab9c-83ec-8f26-26a2c85f2ca8
1•nomilk•30m ago•3 comments

How I made Rustdoc 33% faster in one week

https://noahlev.org/blog/2026/08/27/making-rustdoc-faster/
1•birdculture•37m ago•0 comments

AI handles incidents, engineers lose touch with their systems

https://www.sylvainkalache.com/blog/ai-handles-incidents-engineers-lose-touch-with-their-systems
14•sylvainkalache•44m ago•2 comments

Phaseone[big] explains why you should trust OpenAI

https://twitter.com/transitive_bs/status/2096134662246855089
1•transitivebs•46m ago•1 comments

Another Heart Drug Fails, Surprising Cardiologists

https://www.nytimes.com/2026/09/04/science/heart-drug-fails-novartis-pelacarsen.html
2•brandonb•50m ago•0 comments

How the Shell Works [video]

https://www.youtube.com/watch?v=hV3_XZXeDQo
2•vismit2000•52m ago•0 comments

I wrote a VM for Mac to run Windows and Linux, both on iOS

https://github.com/theghostshinobi/SMOKE
3•ghostshinobi•1h ago•0 comments

From Pig to Patient: A First-in-Human Kidney Xenotransplant Bridge

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(26)01295-X/abstract
1•signa11•1h ago•0 comments

Sugar Reset ReviEwS (2026): We Tried It My Honest Review

https://finance.yahoo.com/healthcare/articles/sugar-reset-drops-introduces-sugarreset-150000696.html
1•gayzsahy•1h ago•0 comments

Bun v1.4.2

https://bun.com/blog/bun-v1.4.2
1•ErenayDev•1h ago•0 comments

Show HN: ForgeGuardian – Open-source software supply-chain security scanner

https://github.com/Mah3Sec/ForgeGuardian
1•mahi1337•1h ago•0 comments

'coarse – AI peer review, of course (MIT license)

https://coarse.ink/
1•idw•1h ago•1 comments

OpenROAD: Open-source toolchain for Chip Design

https://openroad.org
1•firefoxd•1h ago•0 comments

Important MikroTik RouterOS security update

https://forum.mikrotik.com/t/important-security-update/272851
1•ricardbejarano•1h ago•0 comments

UN approves new world map [video]

https://www.youtube.com/watch?v=iHkMK4n925c
1•gurjeet•1h ago•1 comments

SilentPatch 2026 Update

https://silentsblog.com/2026/07/31/silentpatch-2026-update/
1•toilet•1h ago•0 comments