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.

Fable 5.2 made this 2 min animation film in 6 hours (I've never animated before)

https://www.youtube.com/watch?v=omgTa_LL36s
1•gouterz•33s ago•1 comments

Bring back 4 TV channels

https://thesoapbox.email/archive/4
1•mgirkins•4m ago•0 comments

Show HN: SonoHush – Zero-ad, no-login browser focus player (Web Audio)

https://sonohush.com/
1•VenGlypsh•4m ago•0 comments

Dynamic force sensing by bone delays aging and extends lifespan

https://www.sciencedirect.com/science/article/pii/S155041312600433X
1•jbotz•8m ago•0 comments

Show HN: VimCommander – A two-pane file manager you drive with Vim keys

https://github.com/vim4all/VimCommander
1•vim4all•13m ago•0 comments

McTrot

https://mctrot.nyc/
1•bookofjoe•16m ago•1 comments

Radome

https://en.wikipedia.org/wiki/Radome
1•tosh•21m ago•0 comments

Software Engineering Metamorphosis

https://twitter.com/katelyn_lesse/status/2114542280535318557
1•abhishekash•21m ago•0 comments

Air-Supported Structure

https://en.wikipedia.org/wiki/Air-supported_structure
1•tosh•22m ago•0 comments

No Place for the Mogwai

https://mechanicalsurvival.com/blog/no-place-for-the-mogwai/
1•duncanjbrown•24m ago•0 comments

Show HN: NFS2Root exploit – CVE-2026-99362

https://github.com/Anhydrite/nfs2root
2•anhydrite•27m ago•0 comments

Accessing and changing internal systems during dashboard research

https://openai.com/safety-alignment/misalignment-reports/accessing-and-changing-internal-systems-...
2•anatolii1309•31m ago•0 comments

Ask HN: IO Domain Registrar?

1•3000•32m ago•0 comments

Autolith, the self-modifying neurosymbolic agent

https://autolith.org
2•l2dy•36m ago•0 comments

Groove MIDI Dataset: 13.6 hours of MIDI and audio of human drumming(2019)

https://magenta.withgoogle.com/datasets/groove
1•QuantumNomad_•36m ago•0 comments

Why does Claude have a 4 hour limit?

1•tombakerbuilds•37m ago•2 comments

VLC Lead Developer Jean Baptiste Kempf accidentally publishes AI writing prompt

https://www.reddit.com/r/VLC/comments/1y89y9g/vlc_lead_developer_jean_baptiste_kempfs/
1•OuterVale•37m ago•3 comments

Bike-0: Graph-backed bicycle part compatibility and inventory engine

https://github.com/Burhanaddinzm/BIKE-0
1•Burhanaddinzm•38m ago•0 comments

You Are a Text Worker

https://thegoodaislop.substack.com/p/you-are-a-text-worker
2•rugsaw•40m ago•1 comments

Observers, LLM Alingment and Cartography

https://github.com/robertdbak/multiview/
1•robert_d_bak•45m ago•0 comments

The Value of Personalization in Large Language Model Responses [pdf]

https://andreyfradkin.com/assets/personalizedllms.pdf
1•7777777phil•48m ago•0 comments

BugStage – Git web server and discussions board for single-maintainers

https://bugstage.dev
2•birdculture•49m ago•0 comments

The ongoing quest for provably secure messaging

https://www.beneficialaifoundation.org/blog/signal-shot-milestone
1•nakedneuron•49m ago•0 comments

Senior UK minister warns of risk of more cyber-attacks amid welfare hack fallout

https://www.theguardian.com/technology/2026/nov/29/uk-cyber-attack-risk-other-departments-dwp-hack
3•nephihaha•50m ago•1 comments

PhDs Are Easy (and having one doesn't mean you are smart)

https://adam.rochussen.xyz/p/phds-are-easy
2•barry-cotter•50m ago•0 comments

Show HN: I built my own DAW so Friends, Agents and I can jam together

https://ramigb.github.io/ramiwebdaw/
1•ramigb•54m ago•0 comments

Show HN: Einvoice-check, lint German XRechnung and ZUGFeRD e-invoices in CI

https://github.com/docfaro-com/einvoice-check
1•tommyshelby_ai•56m ago•0 comments

Frameless Geodesic Dome (2013)

https://rigsomelight.com/2013/09/09/frameless-geodesic-dome.html
1•tosh•56m ago•0 comments

Fractal Cluster

https://hasen.dev/fractal-cluster/
1•hsn915•57m ago•0 comments

A.I. Is His Wingman

https://www.nytimes.com/2026/11/29/technology/ai-dating-chatgpt-claude.html
1•sciurus•1h ago•2 comments