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.

Show HN: Overhear – mention monitoring billed per search, not per month

https://overhear.dev/
1•hauju•4m ago•0 comments

Sayloe – Speak in one language, type in another on Mac

https://sayloe.com/
1•johngail•6m ago•0 comments

Chain Theory

https://theinnermostloop.substack.com/p/chain-theory
1•mikhailfranco•6m ago•1 comments

Show HN: OpenNorme – every law in Italy from 1861 in Git. One law per file

https://github.com/dej611/italian-laws-history
1•dej611_1•15m ago•0 comments

The Brutal Harvard Class That Suddenly Everyone Wants to Take

https://www.wsj.com/lifestyle/harvard-class-humanities-32e06366
2•pretext•17m ago•0 comments

We're Living in the Age of the Imperial CEO

https://www.wsj.com/tech/ai/anthropic-ipo-dual-class-stock-founder-control-4c43a56d
3•pretext•18m ago•0 comments

Never Trust an Artist

https://medium.com/luminasticity/never-trust-an-artist-d7ce73ad336c
1•bryanrasmussen•18m ago•0 comments

Aqueous: The files you keep are compressed. Badly

https://lifthrasiir.github.io/aqueous/
2•serialx•19m ago•0 comments

Daylight Saving Time

https://en.wikipedia.org/wiki/Daylight_saving_time
1•pretext•23m ago•0 comments

Is AI Cheap Enough to Replace Developers?

https://zyvop.com/is-ai-actually-cheap-enough-to-replace-developers-8i74u
1•sanjays442•23m ago•0 comments

Show HN: See whether ChatGPT recommends your business (and who it names instead)

https://citeon.dev
1•zacapos•23m ago•0 comments

Break into Chat

https://breakintochat.com/
1•signa11•23m ago•0 comments

BikeZap: Zap through first person cycling videos around the world

https://bikezap.pages.dev/
1•rr0•23m ago•0 comments

An LC-3 Disassembler in Haskell

https://abhinavsarkar.net/posts/lc3-disassembler/
2•abhin4v•30m ago•0 comments

We build our voice input method like an experiment

https://arion.astrafoundry.si/blog/building-like-an-experiment/
1•l2dy•34m ago•0 comments

Show HN: Dolly – A Tribute to "The Birth and Death of JavaScript"

https://slopshare.dev/v0.1.4/
1•daugasauron•35m ago•0 comments

Effective Type: Part 1

https://uecker.codeberg.page/2026-10-31.html
1•uecker•38m ago•0 comments

Ganson+, Google+ accurately revived because nobody cared to make it

https://gansonplus.xyz/login
1•frutigasteraero•38m ago•0 comments

CurateClick – A curated directory of developer tools and products

https://curateclick.com
1•dotcurio•39m ago•2 comments

Ghost in the machine: how AI is haunting the search for the supernatural

https://www.theguardian.com/technology/ng-interactive/2026/oct/30/ai-ghost-hunting
2•nephihaha•41m ago•0 comments

The VPN Manager I want to build: let different apps use their own VPNs

https://dennysora.me/en/blog/tools/vpn-manager-architecture/
1•dennysora-main•44m ago•0 comments

Mercury Arc Rectifiers – Kempton Steam Museum [video]

https://www.youtube.com/watch?v=YhaQqgXrMMU
1•mdf•54m ago•0 comments

Bubbuild/republic: A Python library for AI providers

https://github.com/bubbuild/republic
1•l2dy•55m ago•0 comments

Microsoft confirms Windows 11 won't let you move the Taskbar like on Windows 10

https://www.windowscentral.com/microsoft/windows-11/its-a-deliberate-design-decision-not-a-missin...
3•thunderbong•56m ago•1 comments

Double Trouble (From Macbeth)

https://potw.org/archive/potw283.html
1•joebig•1h ago•0 comments

FineDNA: Open data to train LLMs on DNA

https://huggingface.co/datasets/HuggingFaceBio/FineDNA
4•pixel_art•1h ago•0 comments

V0.5.0 of PSSA: a non-transformer language model

https://github.com/Sparticle62ops/pssa/releases/tag/v0.5.0
2•JPLeRouzic•1h ago•0 comments

Open data and code to teach LLMs to read DNA

https://github.com/huggingface/carbon
3•testerui•1h ago•0 comments

Briareus: Segment-parallel distributed video transcoder in Go, built on FFmpeg

https://github.com/omanshchoudhary/briareus
3•handfuloflight•1h ago•0 comments

Show HN: AnchorGit – Hardware-signed Git decision ledger for AI code

https://www.anchorgit.com
1•rahool-bk•1h ago•0 comments