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.

HuggingFace security incident: Guardrails vs. Open Models

https://huggingface.co/blog/security-incident-july-2026
1•benjiro29•45s ago•1 comments

Chris Huelsbeck

https://en.wikipedia.org/wiki/Chris_Huelsbeck
1•doener•2m ago•0 comments

The Last MPEG-4 Visual Patent Has Expired

https://www.phoronix.com/news/Last-MPEG-4-Patent-Expired
1•LorenDB•2m ago•0 comments

The Adventures of Quik and Silva

https://en.wikipedia.org/wiki/The_Adventures_of_Quik_%26_Silva
1•doener•3m ago•0 comments

Show HN: Phosphor – a CRT TV video player for your Mac

https://github.com/JoAz111/Phosphor
1•JoAz111•4m ago•0 comments

Jeffersonian Transcription

https://en.wikipedia.org/wiki/Conversation_analysis
1•kasperset•5m ago•1 comments

Even with an Edge, You Lose?

https://jappie.me/even-with-an-edge-you-lose.html
1•zeepthee•6m ago•0 comments

The Birth of Thickets

https://aneeshsathe.substack.com/p/the-birth-of-thickets
1•boredgargoyle•6m ago•0 comments

Texas Police Spent $4.5M on Four Chevy Tahoes

https://www.thedrive.com/news/how-texas-police-spent-4-5-million-on-four-chevy-tahoes
2•randycupertino•9m ago•2 comments

We need to talk about the open model situation

https://12gramsofcarbon.com/p/tech-things-we-need-to-talk-about
1•theahura•11m ago•0 comments

Tools and Techniques of Show Card Writing

https://jamesgurney.substack.com/p/tools-and-techniques-of-show-card
1•Michelangelo11•14m ago•0 comments

ECC and DDR5

https://etbe.coker.com.au/2026/07/19/ecc-ddr5/
1•zdw•16m ago•0 comments

Dough: Audio engine for live coding, written in a single C file

https://dough.strudel.cc/
1•lioeters•16m ago•0 comments

Verify email and phone number easily

https://checkfor.dev/
1•davygab•19m ago•1 comments

Why being a football/soccer fan is irrationally rational

https://www.adriankrebs.ch/blog/football/
1•hubraumhugo•19m ago•0 comments

Why Apple's Lawsuit Against OpenAI over Devices Spares Jony Ive

https://www.bloomberg.com/news/newsletters/2026-07-19/why-apple-s-openai-lawsuit-doesn-t-mention-...
2•thm•25m ago•0 comments

Since 2020, public transport has been free of charge throughout Luxembourg

https://luxembourg.public.lu/en/living/mobility/public-transport.html
1•robin_reala•26m ago•0 comments

AES Gets Swizzled

https://00f.net/2026/07/16/aes-with-simd-swizzles/
1•zdw•27m ago•0 comments

When One Nanny Isn't Enough, 'CEO Parents' Hire a Whole Team

https://www.wsj.com/lifestyle/relationships/ceo-parent-nanny-assistant-teams-hiring-20d3a9c0
1•tmach32•28m ago•0 comments

Lost Apple Project

https://en.wikipedia.org/wiki/Lost_Apple_Project
4•EndXA•30m ago•0 comments

Show HN: AIMakeTattoo – Visual references and artist briefs

https://aimaketattoo.com/ai-tattoo-generator
1•warrenshi•33m ago•0 comments

Wp2shell-detect, a non-intrusive detector for the WordPress core pre-auth RCE

https://github.com/own2pwn-fr/wp2shell-detect
1•own2pwn-fr•34m ago•0 comments

Do you manage task/todo differently in this AI era?

1•khanhphd•41m ago•1 comments

One frozen Gopher API, native clients from Mac OS 9 to Android

https://debene.dev/posts/one-frozen-gopher-api/
1•fdebene•42m ago•0 comments

AI Demands More Engineering Discipline

https://charity.wtf/p/ai-demands-more-engineering-discipline
1•nishantjani10•42m ago•0 comments

Two U.S. Troops Killed in Iranian Barrage on Base in Jordan

https://www.twz.com/news-features/two-u-s-troops-killed-in-iranian-barrage-on-base-in-jordan
1•prmph•42m ago•0 comments

Moonshot AI suspends new subscriptions due to Kimi K3 demand

https://twitter.com/kimi_moonshot/status/2078855608565207130
2•serialx•45m ago•0 comments

The bottleneck for AI agents isn't the model anymore. It's the context layer

https://thenewstack.io/ai-agent-infrastructure-bottleneck/
1•Brajeshwar•50m ago•0 comments

New mandatory Gmail, your Android backup storage needs may increase

2•newsoftheday•52m ago•0 comments

Reverse Engineered the Plank Scale, Found an XOR

https://github.com/Michael-Ax64/K4-CompilingReality/blob/main/quantum/Q10-PlanckScale.md
1•michael-ax•54m ago•1 comments