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.

Ask HN: How likely are we to see a major quantum attack on modern crypto?

1•ijustlovemath•8s ago•0 comments

Samsung Launches Odyssey G6: The First 1,100Hz Gaming Monitor

https://news.samsung.com/us/samsung-launches-odyssey-g6-worlds-first-1100hz-gaming-monitor/
1•nticompass•11s ago•0 comments

Show HN: I traced 1,621 PE-owned autism therapy clinics from public records

https://github.com/fundprint/fundprint-data
1•gameloft737•38s ago•0 comments

Maldon Salt's Authenticity Is Questioned, Leaving Foodies Shaken

https://www.nytimes.com/2026/11/21/world/europe/maldon-sea-salt-artisanal-scandal.html
2•bookofjoe•1m ago•1 comments

Nginx 1.31.10 and 1.30.8 (fix CVE-2026-132779; TLS 1.3 early data)

https://my.f5.com/manage/s/article/K000163947
1•petecooper•2m ago•0 comments

The POW Who Blinked 'Torture' in Morse Code

https://soylentnews.org/submit.pl?op=viewsub&subid=1033
1•Bluestein•3m ago•0 comments

Why Software Fails (2005)

https://spectrum.ieee.org/why-software-fails
1•rbanffy•4m ago•0 comments

Sitting on Something

https://derekkedziora.com/notes/sitting-on-something
1•speckx•4m ago•0 comments

250k-Page Math Slop: Why Anthropic Didn't Solve the Riemann Hypothesis

https://emeraldbook.org/news/nov-2126/
2•skadamat•5m ago•0 comments

Show HN: A free creative suite, built in Rust, for AI collaboration

https://codeyam.com/apps/cadyam
2•nadis•6m ago•0 comments

GTA 6 executable file released

https://en.gamegpu.com/news/igry/cyberleek-opublikoval-ispolnyaemyj-fajl-gta-6-versii-1-0-2-1-dly...
1•ortusdux•7m ago•0 comments

Show HN: X2c, a superset of C I've been building for 20 years

https://github.com/gwf/x2c
2•gwf•7m ago•0 comments

CrowdStrike to Acquire Zscaler

https://www.crowdstrike.com/en-us/press-releases/crowdstrike-to-acquire-zscaler-bringing-network-...
1•Nickste•7m ago•0 comments

Zeigarnik Effect

https://en.wikipedia.org/wiki/Zeigarnik_effect
1•rzk•8m ago•0 comments

COBOL Programmers Are the Original Vibe Coders

https://danielsada.tech/blog/cobol-programmers-are-the-original-vibecoders/
1•senorrib•9m ago•0 comments

USA Phone Number Free OTP

https://play.google.com/store/apps/details?id=textmessages.dateme_now.textmeinc.textme_now&hl=en
1•asolead•9m ago•0 comments

LLPE: A partial evaluator for LLVM bitcode

http://www.llpe.org/
1•gurjeet•10m ago•0 comments

My AI coding agents spend most of their time waiting

https://jurajb.dev/coding-agents-mostly-waiting/
2•jurajbla•10m ago•0 comments

Show HN: Jensen Return – open-source world running on 400K lines of TypeScript

https://gamemog.com/g/jensen-return
1•rasheed106•10m ago•1 comments

Ladybird Is Now in Alpha

https://ladybird.org/posts/alpha/
52•janvdberg•10m ago•3 comments

Port Scanning for Mojang

https://sipacid.com/blog/port-scanning-for-mojang/
1•birdculture•11m ago•0 comments

Boycott Everything, Because Everyone Is Evil?

https://walsh.cl/boycott-everything-because-everyone-is-evil/
1•speckx•11m ago•0 comments

My Django on the Med 2026

https://www.paulox.net/2026/11/23/my-django-on-the-med-2026/
1•pauloxnet•12m ago•0 comments

Is Google Fitbit worth it?

1•_khameshra_•12m ago•0 comments

EasyPost (YC S13) Files for IPO

https://www.businesswire.com/news/home/20261118748771/en/EasyPost-the-Leading-Shipping-AI-and-API...
2•gsinkin•13m ago•0 comments

Show HN: Clai – AI multitool for terminal powerusers

https://www.clai.chat/
2•baalimago•13m ago•0 comments

First Claim of Artificial Super Intelligence

https://asi.anahata.uno/whitepaper.html
2•priyankadarshin•13m ago•1 comments

GPP – Build on Go with classes, generics, exceptions, and more

https://gpp.telga.in
1•todsacerdoti•13m ago•0 comments

How Apollo 11's landing would have looked from outside [video]

https://www.youtube.com/watch?v=wBjqC4SAwJ8
1•the-dude•13m ago•0 comments

Alternative solution to mTLS logout bug

https://webfrolic.com/blog-mtls-logout-ephemeral-subdomains.html
1•sandeepkd•14m ago•0 comments