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.

How to Use AI as a Language Learner

https://vocably.pro/ai.html
2•sneas•3m ago•0 comments

Puppy Weight Estimator: a range-based adult-size calculator

https://puppyweightestimator.com
1•carsmith•5m ago•0 comments

Book Review – Animal Farm

1•jaysinhp•11m ago•0 comments

PayPal Is "In Talks to Sell Itself" After Rejecting Stripe's Initial $60.50 Bid

https://247wallst.com/investing/2026/08/15/breaking-paypal-is-in-talks-to-sell-itself-after-rejec...
1•theanonymousone•13m ago•0 comments

Why Big Tech's AI Spending Is $3T Higher Than It Seems

https://www.wsj.com/tech/ai/why-big-techs-ai-spending-is-3-trillion-higher-than-it-seems-e1067bb2
3•massagedpelican•19m ago•0 comments

Handwritten Digit Classification with Neural Cultures

https://www.biorxiv.org/content/10.64898/2026.08.10.743829v1
1•bwjx•21m ago•0 comments

Show HN: Rex, a parallel functional language for scientific workflows

https://github.com/peterkelly/rex
1•peterkelly•23m ago•0 comments

Zalvion AI

https://zalvionai.com
2•Mari_Developer•26m ago•0 comments

Wolfram Demonstrations – Unsolved Problems

https://demonstrations.wolfram.com/topic/unsolved-problems
2•soupspaces•27m ago•0 comments

$12B of US ratepayers' money wasted on a modeling mistake in PJM

https://newsletter.semianalysis.com/p/12b-of-us-ratepayers-money-wasted
1•_delirium•28m ago•0 comments

AI wins landmark Fair Work Commission case for Macquarie academic

https://www.afr.com/work-and-careers/workplace/ai-wins-landmark-fair-work-commission-case-for-mac...
4•solresol•29m ago•0 comments

Linear Algebra Done Right – Sheldon Axler

https://linear.axler.net/
3•the-mitr•29m ago•0 comments

Heavy Bluesky outage in the past day

https://statusgator.com/services/bluesky
2•krige•38m ago•1 comments

HN: SpotWarp – Local auto-failover daemon for Spot GPUs

https://github.com/enplabs/spotwarp
1•choi5844•42m ago•0 comments

Zcash: Cash Never Died

https://twitter.com/andresochoa/status/2089214322819936487
2•seudrim•47m ago•0 comments

Built a PyTorch optimizer based on Continuous Thermodynamics

https://github.com/3moorebbb-sketch/MEP-Unified-Architecture
1•3moorebbb•51m ago•0 comments

Heroes actress Hayden Panettiere dies at 36

https://www.bbc.com/news/articles/cq5665zgg1po
2•gpi•52m ago•0 comments

Waymo shipped 3200 CN-built EVs to LA for its fleet despite 127.5% tariffs

https://finance.yahoo.com/technology/articles/waymo-shipped-3-200-chinese-163000266.html
3•Markoff•1h ago•1 comments

Concurrent Servers: Part 7 – Rust

https://eli.thegreenplace.net/2026/concurrent-servers-part-7-rust/
2•mfrw•1h ago•0 comments

So You Want to Build an A.I. Star?

https://www.nytimes.com/2026/08/13/arts/ai-podcasts-fashion-pop-avatars.html
2•thm•1h ago•0 comments

I made Claude port omawrite to windows

https://github.com/WhiskeyTuesday/omawrite-win
1•whiskeytuesday•1h ago•1 comments

AI Stock Research Assistant · Streamlit

https://ai-stock-research-kiaan.streamlit.app
1•KiaanKothari•1h ago•0 comments

A Walkable ASCII Cyberpunk City in One HTML File

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

The Orwellian Company Behind ICE's New Electric Shock Gloves

https://www.motherjones.com/politics/2026/08/ice-shock-gloves-torture-compliant-technologies-jeff...
8•cwillu•1h ago•2 comments

Understanding the HEIC Format

https://sites.google.com/view/heictools-io/home
3•suolex•1h ago•3 comments

Why Ethereum Walked Away from Poseidon

https://twitter.com/ProjectZKM/status/2088320035970330676
2•_alphageek•1h ago•1 comments

Serverless Agents

https://serverlessagent.dev
5•iacguy•1h ago•1 comments

Satellite operators emphasize launch deals in a constrained market

https://spacenews.com/satellite-operators-emphasize-launch-deals-in-a-constrained-market/
4•alainrk•1h ago•0 comments

Trillion-Parameter Sequential Transducers for Generative Recommendations (2024)

https://arxiv.org/abs/2402.17152
3•peter_d_sherman•1h ago•0 comments

Show HN: Earn 41% Commission: German Language Learning

https://languagemaster.org/affiliate/
1•not_wowinter13•1h ago•0 comments