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.

Crimson Cloak iSH iOS Wrapper with RealTime Dashboard

https://github.com/synchancybersecurity/Crimson-Cloak-ISH-wrapper-iOS-
1•SynChancyber•2m ago•0 comments

Wagering on Wildfires? There's a New Prediction Market for That

https://gizmodo.com/wagering-on-wildfires-theres-a-new-prediction-market-for-that-2000779594
2•engineermore•6m ago•1 comments

We Ran a Complex Task – A LangChain Repo Analysis with Claude Fable Models

https://ctrlnode.ai/news/fable-claude-model-audit-experiment/
1•ctrlnode-ai•12m ago•0 comments

crustc: entirety of `rustc`, translated to C

https://github.com/FractalFir/crustc
2•Philpax•16m ago•0 comments

The Intercept lost control of its Signal-based tip line for months

https://twitter.com/ryangrim/status/2072761908231585845
3•bhouston•18m ago•0 comments

Show HN: GeoSpoof – your VPN hides your IP, but the browser leaks your location

https://geospoof.com/
3•sgro•20m ago•0 comments

Why Did Goose Die Ejecting in Top Gun, but Maverick Didn't in Top Gun Maverick [video]

https://www.youtube.com/watch?v=Gj3r_aKo2bA
2•fortran77•22m ago•0 comments

Sous-Chef, a Claude Code plugin where Fable reviews, Codex implements

https://github.com/tomascupr/sous-chef
1•tomcupr•23m ago•0 comments

FBI Seizes NetNut Proxy Platform, Popa Botnet

https://krebsonsecurity.com/2026/07/fbi-seizes-netnut-proxy-platform-popa-botnet/
3•k1m•26m ago•1 comments

How America Celebrated Its Previous Big Birthday in 1976

https://www.wsj.com/us-news/how-america-celebrated-1976-b0f2b9d1
2•fortran77•27m ago•0 comments

The LLVM Compiler Infrastructure

https://cacm.acm.org/federal-funding-of-academic-research/the-llvm-compiler-infrastructure/
2•sohkamyung•27m ago•0 comments

TV Time is shutting down in a couple of weeks

https://www.neowin.net/news/tv-time-is-shutting-down-in-a-couple-of-weeks/
2•bundie•27m ago•0 comments

Ask HN: What if we provided support for AI guidelines at the kernel level?

1•PJHkorea•29m ago•1 comments

Show HN: Gist Discover – TikTok for ArXiv Summaries

https://gist.is/discover
1•MediaSquirrel•29m ago•0 comments

Mystery identity of 'Green Boots' climber is finally solved after DNA test

https://www.dailymail.com/news/article-15943905/Mystery-identity-Green-Boots-climber-macabre-land...
3•FireBeyond•30m ago•0 comments

Roach cyborg diving suit works well

https://www.popsci.com/technology/cockroach-diving-suit/
2•aegatlin•31m ago•0 comments

Google Android: the ECJ upholds Google's fine of around €4.1B [pdf]

https://curia.europa.eu/site/upload/docs/application/pdf/2026-07/cp260093en.pdf
1•bushwart•32m ago•0 comments

Scaling a 1.59 quadrillion-row logging system across three clouds

https://clickhouse.com/blog/a-quadrillion-rows-across-the-three-cloud-scaling-loghouse
2•saisrirampur•32m ago•0 comments

Greyshark AUV – Biologically Inspired High-Performance Underwater Drone

https://www.hisutton.com/Greyshark-AUV.html
1•EA-3167•32m ago•0 comments

GitHub will send you a CD with your repo on it

https://twitter.com/github/status/2072801888525840476
6•EvanZhouDev•33m ago•1 comments

Smol Machines

https://smolmachines.com/
4•fumplethumb•36m ago•0 comments

Show HN: Capcat – CLI/TUI to Archive Articles as Markdown and HTML (FOSS)

https://capcat.org/
2•stayux•36m ago•0 comments

JPEG-XL Libjxl 0.12 Brings More Performance Optimizations

https://www.phoronix.com/news/JPEG-XL-libjxl-0.12
1•Bender•38m ago•0 comments

Lean 4 software scaling laws

https://gwern.net/lean-scaling
1•yuppiemephisto•38m ago•0 comments

Show HN: A 155K-param transformer builds a map of a world it's never shown

https://ankur-chr.github.io/inside-the-model/
2•ankurchrungoo•39m ago•0 comments

Archivegenocide.com: view the footage collected from Gaza in one place

https://archivegenocide.com/
6•lorecore•40m ago•3 comments

OpenNotetaker for Hinglish Meetings

2•IsomerX•42m ago•0 comments

Consult-LLM – A second opinion from another model right in your existing agent

https://github.com/raine/consult-llm
1•tiahura•42m ago•0 comments

Show HN: Mirrors – test AI agent changes by replaying production traces

https://www.runmirrors.com/
3•aisinghal•44m ago•0 comments

Climon – A web dashboard for your CLI sessions, reachable from your phone

https://github.com/jackgeek/climon
1•jackgeek•44m ago•0 comments