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.

Shared Claude chats showing up in Google results

https://old.reddit.com/r/ClaudeAI/comments/1v6fiyj/you_can_view_a_lot_of_shared_conversations_via/
1•dgellow•23s ago•0 comments

US tech groups cut 140k jobs despite AI spending boom

https://www.ft.com/content/96a33881-27fd-42cf-8cff-4cbc87fc835f
1•1vuio0pswjnm7•1m ago•0 comments

Modern and Minimal Linux: NixOS and Noctalia and Labwc Flake

https://github.com/grigio/nixos-noctalia-labwc-flake
2•grigio•2m ago•0 comments

Goodbye Microslop: Finally Moved to Codeberg

https://nezutero.dev/goodbye-microslop-finally-moved-to-codeberg/
1•nezutero•2m ago•0 comments

Kahneman's Cabs: Solving Probability Puzzles

https://www.neelocean.com/kahnemans-cabs/
1•thinkingemote•3m ago•0 comments

Show HN: Reverse Minesweeper

https://sunflowersgame.com/
1•pompomsheep•4m ago•0 comments

Job Search, in One Intelligent Workspace

https://www.karyfy.com
1•negiadventures•5m ago•0 comments

Show HN: Virtual time engine to record HTML to 60fps MP4, no drops

https://zlvox.com/tools/html-to-video
1•mrdisloyal•7m ago•0 comments

An update on beta-alanine supplementation for athletes (2020)

https://www.gssiweb.org/sports-science-exchange/article/an-update-on-beta-alanine-supplementation...
1•Jazgot•8m ago•0 comments

CVE-2026-49176 Exploit Development: WalletService to System

https://davidcarliez.github.io/blog/cve-2026-49176-walletservice-to-system/
1•haeseong•9m ago•0 comments

Google's AI Spending Spree Has Investors Nervous

https://www.wsj.com/tech/ai/alphabet-googl-q2-earnings-report-2026-stock-f6bdd223
1•1vuio0pswjnm7•10m ago•0 comments

Google Discloses $94.1B in SpaceX Stock, Marking 6% Stake

https://www.wsj.com/tech/google-discloses-94-1-billion-in-spacex-stock-marking-6-stake-91655d7c
3•1vuio0pswjnm7•11m ago•1 comments

Islamist terrorist attack in Berlin Pride event

https://www.dw.com/en/germany-classifies-berlin-pride-ramming-as-terror-attack/live-78117180
1•sajithdilshan•15m ago•0 comments

Show HN: I got 32-bit Bun running on Windows

https://twitter.com/_vkaku/status/2081356483040620981
1•vkaku•15m ago•1 comments

Show HN: Crossle – A daily puzzle game where you find 3 intersecting words

https://crossle.resistancelabs.tech
1•samurai4869•18m ago•0 comments

Making 3 AI's Count to 100 Together [video]

https://www.youtube.com/watch?v=MXEInc6Zy7Q
1•pingou•19m ago•0 comments

ARIA – Voice-native 3D spatial AI SoC with governed autonomy (BSL 1.1)

https://github.com/sidevworks/aria-sec
1•saryismail•20m ago•0 comments

Ask HN: Something fishy is going on with Google feed on my Android

1•motbus3•22m ago•0 comments

Marketing Team Eve Template

https://github.com/vercel-labs/marketing-team-eve-template
1•flashbrew•22m ago•0 comments

The product function in the age of AI

https://fnune.com/2026/07/26/the-product-function-in-the-age-of-ai/
1•brainlessdev•25m ago•0 comments

Dream Exchange – a persistent world where AI agents live, not work

https://www.soudushi.com
1•damiyangguang•25m ago•0 comments

Crypto Bill Mired in Debate over Rules to Stop President from Selling Coins

https://www.nytimes.com/2026/07/22/technology/crypto-bill-trump.html
1•1vuio0pswjnm7•25m ago•0 comments

Measles Cases Hit New Record in U.S., as Vaccination Rates Wane

https://www.nytimes.com/2026/07/24/well/measles-record-united-states-numbers.html
2•bookofjoe•28m ago•1 comments

Show HN: I wrote this slowly, a needlessly patient text editor

https://i-wrote-this-slowly.fly.dev/
2•pkoird•29m ago•0 comments

Show HN: Lemmings in HTML in Canvas

https://github.com/VorticonCmdr/lemmings
1•VorticonCmdr•31m ago•2 comments

Go Analysis Framework: modular static analysis by go team

https://pkg.go.dev/golang.org/x/tools/go/analysis
5•AbuAssar•33m ago•0 comments

Bordeaux considering 'total evacuation if needed' as wildfires rage nearby

https://news.sky.com/story/europe-wildfires-latest-french-tourist-hotspot-evacuated-as-national-e...
3•tosh•36m ago•0 comments

Ask HN: Why don't we solve aging?

1•goldlimetea•38m ago•11 comments

'Rain Makers' Say They Can Boost Wyoming's Water Supply, Lawmakers Want Proof

https://cowboystatedaily.com/2026/07/24/rain-makers-say-they-can-boost-wyomings-water-supply-lawm...
1•Bender•38m ago•0 comments

One of the Busiest Shipping Ports Wants to Go Nuclear

https://www.wsj.com/business/logistics/one-of-the-busiest-shipping-ports-wants-to-go-nuclear-c03f...
2•mpweiher•43m ago•0 comments