frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•12mo ago

Comments

llm-exe•12mo 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•12mo 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.

Open Source Claude Code Offer to Help

1•diavelguru•2m ago•0 comments

Idle Musings on 201

https://www.solipsys.co.uk/ZimExpt/IdleMusingsOn201.html
1•ColinWright•4m ago•0 comments

Fossier – GitHub spam prevention for open source repositories

https://github.com/PThorpe92/fossier
1•pabs3•4m ago•0 comments

Ask HN: Does anyone know what a monad is?

1•etrvic•5m ago•0 comments

Canvas's owner strikes deal with hackers who disrupted schools

https://www.washingtonpost.com/education/2026/05/12/canvass-owner-strikes-deal-with-hackers-who-d...
1•TruffleLabs•7m ago•2 comments

Jho Low, Fugitive Behind 1MDB Scandal, Seeks Pardon from Trump

https://www.wsj.com/finance/jho-low-fugitive-behind-1mdb-scandal-seeks-pardon-from-trump-2ce04db1
2•impish9208•8m ago•1 comments

Why This Is Not a Newsletter

https://nathanschneider.info/2026/05/why-this-is-not-a-newsletter/
1•ntnsndr•8m ago•0 comments

I built a free PII scanner for LLM prompts. No signup needed

https://aisecuritygateway.ai/ai-leak-checker
2•binugeorge•9m ago•0 comments

The Cults of TDD and GenAI

https://drewdevault.com/blog/Cult-of-TDD-and-LLMs/
1•pabs3•10m ago•0 comments

AOHell

https://www.fastcompany.com/91356468/how-aohell-presaged-the-age-of-computer-insecurity
1•ada1981•12m ago•0 comments

Restore full BambuNetwork support for Bambu Lab printers

https://github.com/FULU-Foundation/OrcaSlicer-bambulab
2•Murfalo•12m ago•1 comments

DogVida A navigation system for your dog's health

https://www.dogvida.net
1•neeerah•13m ago•0 comments

Nearly Optimal Attention Coresets

https://www.pinecone.io/research/Nearly-Optimal-Attention-Coresets/
1•gk1•15m ago•0 comments

Computer Use in Codex [video]

https://www.youtube.com/watch?v=D_FCYsshMI4
3•BrandiATMuhkuh•16m ago•1 comments

The Shape of Duplicate Detection

https://dubeykartikay.com/posts/the-shape-of-duplicate-detection/
1•dubeyKartikay•16m ago•0 comments

EFF to 4th Circuit: Electronic Device Searches at the Border Require a Warrant

https://www.eff.org/deeplinks/2026/05/eff-fourth-circuit-electronic-device-searches-border-requir...
1•hn_acker•19m ago•1 comments

Robot Dogs Are a Security Nightmare [video]

https://www.youtube.com/watch?v=lA8WuXDXfcI
2•corvad•20m ago•0 comments

Long AI Short AGI

https://1984.substack.com/p/long-ai-short-agi
1•gmays•20m ago•0 comments

YellowKey Bitlocker Bypass Vulnerability

https://github.com/Nightmare-Eclipse/YellowKey
3•entuno•25m ago•0 comments

The Cost of Overfitting the Harness

https://www.dbreunig.com/2026/05/10/overfitting-the-harness.html
1•gmays•27m ago•0 comments

The Emotional Cost of AI-Assisted Coding

2•northfield27•29m ago•1 comments

UK to send drones, jets and warship to join defensive mission securing Hormuz

https://www.reuters.com/world/uk-send-drones-jets-warship-join-defensive-mission-securing-strait-...
4•geox•29m ago•0 comments

EU iPhones Get AirPod Pairing and Notifications for Third-Party Wearables

https://www.macrumors.com/2026/05/11/ios-26-5-eu-third-party-wearable-changes/
1•vrganj•32m ago•0 comments

The hardware isn't broken, the documentation is

https://essenceia.github.io/thoughts/broken_doc/
2•random__duck•34m ago•1 comments

Anthropic's Computer Use API: How AI Is Navigating Your Desktop Now

https://www.aigridnews.com/anthropics-computer-use-api-how-ai-is-navigating-your-desktop-now
1•rolph•39m ago•0 comments

Anthropic publicly releases AI tool that can take over the ' mouse cursor(2024)

https://arstechnica.com/ai/2024/10/anthropic-publicly-releases-ai-tool-that-can-take-over-the-use...
1•rolph•42m ago•0 comments

Show HN: Duckflix, an open-source self-hosted media streaming platform

https://github.com/duckflixapp/duckflix
1•patakxd•43m ago•0 comments

The Soul in the Machine

https://netwars.pelicancrossing.net/2026/05/08/the-soul-in-the-machine/
1•ColinWright•43m ago•0 comments

Waiting for Joe

http://essaysnthings.blogspot.com/2008/05/waiting-for-joe.html
1•JumpCrisscross•44m ago•0 comments

Anthropic says newest lawyer tools are 'like giving an engineer a legal degree'

https://www.businessinsider.com/anthropic-expands-legal-ai-tools-claude-cowork-2026-5
2•cebert•46m ago•0 comments