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.

We all share a 15-acre Georgian mansion for the price of a two-bed house

https://www.bbc.com/news/articles/cg7mglglvmgo
1•thunderbong•9s ago•0 comments

Show HN: Type

https://type.thingg.co/
1•aosmith•27s ago•0 comments

A sandbox is not a permission model for multiagent systems

https://github.com/agentconnect-md/agentconnect
1•Kkkkki•1m ago•1 comments

Lean Explained with TypeScript

https://gruhn.me/blog/2026-08-29/
1•ngruhn•4m ago•0 comments

Unlimited Codex, Inside ChatGPT

https://github.com/devnoname120/codexify
2•Ey7NFZ3P0nzAe•7m ago•0 comments

Building an open source (turbopuffer alternative)in Rust – Kosha

https://github.com/decover-tech/kosha
1•ravitandon1990•12m ago•1 comments

Meta Security Researcher's AI Agent Accidentally Deleted Her Emails

https://au.pcmag.com/ai/116091/meta-security-researchers-ai-agent-accidentally-deleted-her-emails
5•Bluestein•17m ago•0 comments

Croc v11.3 goes peer-to-peer

https://getcroc.com/blog/croc-v11-3-release-update
2•haunter•24m ago•0 comments

Advice on Upskilling [pdf]

https://www.justinmath.com/files/advice-on-upskilling.pdf
1•miletus•26m ago•0 comments

How to Pretty-Print Your Kubernetes YAML as Kyaml and Why You'd Want To

https://kubernetes.io/blog/2026/08/11/how-to-pretty-print-kubernetes-yaml-as-kyaml/
1•jamietanna•27m ago•0 comments

Habit tracker bullet journal ideas

https://trackthehabit.com/bullet-journal-habit-tracker-layouts/
1•ahmadhussain89•27m ago•0 comments

Conversations Can Shape Reality

https://nautil.us/how-conversations-can-shape-reality-1284420
1•XzetaU8•28m ago•0 comments

SK Hynix Weighs Japan Memory Plant Deal to Supply AI Boom

https://www.bloomberg.com/news/articles/2026-08-31/sk-hynix-weighs-japan-memory-fab-partnership-t...
1•aufklarer•29m ago•0 comments

US and Iran Exchange Attacks for First Time in About a Month

https://www.bloomberg.com/news/articles/2026-08-30/us-strikes-iranian-rocket-launchers-in-first-a...
1•ipotapov•34m ago•0 comments

Trump demands Canadian companies doing business with USA move there immediately

https://www.independent.co.uk/news/world/americas/us-politics/trump-canada-businesses-truth-socia...
5•emptybits•36m ago•1 comments

Setting Up a Kernel Debugging Environment (2021)

https://pwning.systems/posts/setting-up-a-kernel-debugging-environment/
1•vismit2000•37m ago•0 comments

Starting AI Safety Study Group to Do Arena Curriculum

https://www.lesswrong.com/posts/eysGHNdvgAYwZjC3r/starting-ai-safety-study-group-to-do-arena-curr...
1•joozio•38m ago•0 comments

Claude Code reduces it's weekly limit by 17% – compared to today

https://twitter.com/ClaudeDevs/status/2093742322525810912
4•partsch•38m ago•0 comments

Nvidia DLSS 5: Modders enable AI faces in all sorts of games

https://www.heise.de/en/news/Nvidia-DLSS-5-Modders-enable-AI-faces-in-all-sorts-of-games-11434015...
1•doener•42m ago•0 comments

Zenresume

https://www.zenresume.online/
1•jagadees21•45m ago•0 comments

Infinite Slop (24/7 AI video generation)

https://infiniteslop.ai/
1•mdrzn•46m ago•0 comments

Show HN: Albums Vault, my take on how to manage Spotify album library

https://codefloe.com/rabc/albums-vault
1•rabc•47m ago•0 comments

Free Image Upscale

https://imagepeel.com/
2•FrostDream•48m ago•1 comments

Open Source tool to detect software supply chain attacks

https://github.com/ossillate-inc/packj
1•daveP17•53m ago•0 comments

I Didn't Set a Cookie

https://belibre.be/cookies/
5•JeanKage•59m ago•0 comments

Reckless Ben confronted Ideal Living's CEO over trafficking claims

https://thecreatorwire.com/article/reckless-ben-posed-as-doordash-delivery-to-confront-peter-spie...
2•thevinter•1h ago•1 comments

Fifty Shades of Klinker: The Bricks That Shaped Hamburg

https://alsterrunde.com/fifty-shades-of-klinker-the-bricks-that-shaped-hamburg/
1•mertbio•1h ago•0 comments

Show HN: FlarePeek – a chrome extension for Cloudflare Worker developers

https://chromewebstore.google.com/detail/flarepeek-a-browser-exten/ffdbljcgdjkbbbbodnjbbgpahhnkfbnl
1•ioslh•1h ago•0 comments

The Aphantasia Lie [video]

https://www.youtube.com/watch?v=UyBikVRPh6c
3•IdealeZahlen•1h ago•0 comments

In less than a year, Google made scraping 10× harder

https://growtika.com/blog/google-goto-links-study
5•Growtika•1h ago•2 comments