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.

Prediction markets have become America's new national pastime

https://www.theguardian.com/commentisfree/2026/sep/06/prediction-markets-gambling-american-pastime
1•pseudolus•49s ago•0 comments

L4Re Overview

https://l4re.org/overview/index.html
1•__patchbit__•1m ago•0 comments

3code is becoming a stable workhorse

https://capocasa.dev/3code-is-becoming-a-stable-workhorse
1•rainmaking•1m ago•0 comments

First Responders May Have to Push Tesla's Cybercabs, Turn Front Wheels by Hand

https://gizmodo.com/first-responders-may-have-to-push-teslas-cybercabs-turn-front-wheels-by-hand-...
1•gumby•2m ago•0 comments

Cyberwar Before There Was Cyber: Hacking WWII Electronic Bomb Fuses [pdf]

https://www.fh-campuswien.ac.at/fileadmin/redakteure/News/Dokumente/CL_Gutmann_Slides.pdf
1•Tomte•2m ago•0 comments

LocalXiv – Read ArXiv Papers on Your Mac or Kindle

https://github.com/Akhil-Theerthala/LocalXiv
1•silvervein•3m ago•0 comments

U.S. Hobby Horse Championships – yes it's here finally

https://www.youtube.com/watch?v=X6bltWyyc8s
1•artur_makly•3m ago•0 comments

GPT-6 Astra has autonomously completed Portal

https://twitter.com/cozyblazex/status/2096383114851533097
1•stared•5m ago•0 comments

Show HN: Testate – Git for Database

https://github.com/PT-Perkasa-Pilar-Utama/testate
2•maarut•6m ago•0 comments

The new Go JSON API: twice as fast, or 1.5x slower?

https://lemire.me/blog/2026/08/29/the-new-go-json-api-twice-as-fast-or-1-5x-slower/
1•valyala•7m ago•0 comments

Ancient European Union Public License v1.2

https://aeupl.org/
2•pelagicAustral•7m ago•0 comments

Show HN: I stopped using an LLM gateway and put rate-limits/fallback in-process

https://github.com/LakBud/vernLLM
2•Buddo•8m ago•1 comments

Claude Was Here

https://www.splitbrain.blog/p/claude-was-here
2•hapali•10m ago•0 comments

The Life of a Metric

https://victoriametrics.com/blog/the-life-of-a-metric/index.html
2•valyala•11m ago•1 comments

Notes on Incidents

https://www.seangoedecke.com/notes-on-incidents/
2•gfysfm•15m ago•0 comments

PyCon 2026 part 2 of my presentation: From prompt to Proof

https://www.petrostechchronicles.com/blog/How_I_Built_A_Signed_Audit_Trail
2•Aherontas•15m ago•1 comments

I'm a builder, I can build anything

https://wojsznis.eu/blog/2026/09/05/im-a-builder-i-can-build-anything/
2•_rwo•16m ago•0 comments

Gloria Steinem's Final Essay

https://www.newyorker.com/culture/life-and-letters/gloria-steinems-final-essay
1•JumpCrisscross•16m ago•1 comments

Show HN: Ramanujan – Multi-Model Agent for Research in Computational Maths

https://github.com/AniketWathore/Ramanujan
3•AniketWathore•17m ago•0 comments

Chinese banks purchasing Treasuries after wooing dollar deposits

https://www.reuters.com/world/asia-pacific/china-banks-buy-treasuries-boost-dollar-deposits-sourc...
2•JumpCrisscross•18m ago•0 comments

The pencil case model of creativity

https://dub.uu.nl/en/column/pencil-case-model-creativity
3•jruohonen•19m ago•0 comments

Astra still fails at creating acceptable Rotational Ambigram

2•das_vicky•22m ago•1 comments

Intellectual Fly Is Open

https://bcantrill.dtrace.org/2025/12/05/your-intellectual-fly-is-open/
8•cyb0rg0•28m ago•0 comments

Marc Andreessen: The World Is More Malleable Than You Think [video]

https://www.youtube.com/watch?v=qBVe3M2g_SA
2•tosh•30m ago•0 comments

Doomscrolling Ourselves to Death

https://www.edwest.co.uk/p/doomscrolling-ourselves-to-death
11•shubhamjain•31m ago•1 comments

Play GTA 3 in the Browser

https://quenq.com/apps/gta-3-online/
1•andreyazimov•31m ago•0 comments

New all in one 6502 computer (Neo6502kbd)

https://olimex.wordpress.com/2026/09/04/new-open-source-hardware-variant-of-neo6502-now-includes-...
2•AlexeyBrin•34m ago•0 comments

Don't Use a gmail.com Address

https://crookedtimber.org/2026/09/03/dont-use-a-gmail-com-address/
8•jruohonen•35m ago•0 comments

People who paint pylons (1997)

https://www.youtube.com/watch?v=M0DEVjwUAZE
1•martyvis•35m ago•0 comments

Google told drivers to drive a longer way on purpose

https://www.sfgate.com/tech/article/google-traffic-wrong-way-22416144.php
1•ike_usawa•36m ago•0 comments