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.

Inadvertently becoming a slop contributor to a Rust core library

https://ianm199.github.io/personalSite/blog/inadvertently-becoming-a-slop-contributor-to-rust-libc/
1•ianm218•2m ago•0 comments

Magnolias Are So Old That They're Pollinated by Beetles, Not Bees

https://mymodernmet.com/magnolia-ancient-flowers-beetles/
2•speckx•4m ago•0 comments

Dissecting Claude Science

https://feitong.phd/essays/dissecting-claude-science/
1•planeyang•5m ago•1 comments

Through the Prompt Window

https://pprunty.substack.com/p/6-through-the-prompt-window
1•pprunty97•5m ago•0 comments

The Java Ring

https://yamad.jp/en/writings/java/ring/about.htm
1•thinkingemote•6m ago•0 comments

I built a privacy-first,US financial calculator(no signups, no server uploads)

https://calcsuitehub.com/
1•faldix•6m ago•0 comments

Kata Containers 4.0.0 Brings You a New Rust Runtime

https://katacontainers.io/blog/kata-containers-4-0-0-release-overview/
2•_ananos_•6m ago•0 comments

Building an AI-orchestrated publishing workflow for a long-form writing project

1•tmuhlestein•6m ago•0 comments

How Antithesis Turned exe into a Sandbox for Agentic Software Tests

https://blog.exe.dev/how-antithesis-turned-exe-into-a-sandbox-for-agentic-software-tests
1•ronfriedhaber•8m ago•0 comments

AI's cheatin' heart will make you weep

https://www.theregister.com/ai-and-ml/2026/07/21/ais-cheatin-heart-will-make-you-weep/5275784
2•Bender•8m ago•0 comments

Elon Musk says Grok will make 'historically accurate' Odyssey film by year-end

https://www.cnn.com/2026/07/22/tech/musk-grok-odyssey-adaptation-scli-intl
3•shrike•8m ago•0 comments

The Internet Is Starting to Card Everyone. Startups Are Making Millions from It

https://www.inc.com/georgia-fearn/the-internet-is-starting-to-card-everyone-these-startups-are-ma...
1•speckx•10m ago•0 comments

Hwatu: A daemon-based WebKit browser with 13ms window spawns

https://github.com/hongnoul/hwatu
1•hongnoul_•11m ago•0 comments

Show HN: Vifu – A runtime and visual workflow for building AI-native games

https://github.com/vifudotdev/vifu
1•DR_MING•12m ago•1 comments

TTFT benchmark: LLM Gateway vs. OpenRouter (Claude-haiku-4.5, 150 runs)

https://gist.github.com/smakosh/0ca360230fb267d375b91dbd50548b67
1•steebchen•12m ago•0 comments

Thoughts on Integers (2023)

https://blog.xoria.org/integers/
1•mpweiher•13m ago•0 comments

Slash Pages

https://slashpages.net/
2•birdculture•15m ago•0 comments

Show HN: Interact with inactive macOS windows without selecting the window first

https://github.com/dainank/apple-click-through
1•dainank•15m ago•0 comments

Show HN: LiteRadar – Fast, ad-free, 60fps weather radar

https://literadar.com
2•peetle•15m ago•1 comments

Productionizing research is a boundary problem

https://rpc3.dev/posts/productionizing-research-is-a-boundary-problem/
1•rpc3•17m ago•0 comments

How to build interactive experiences with canvases

https://github.blog/ai-and-ml/github-copilot/how-to-build-interactive-experiences-with-canvases/
1•Brajeshwar•17m ago•0 comments

Show HN: CoreBase – Governed AI Agents for your product, on your customers' data

https://corebasehq.com
1•y11t0•18m ago•1 comments

Natural raises $30M to reinvent payments for AI agents – and take on Stripe

https://thenextweb.com/news/natural-series-a-agentic-payments-ai-agents
2•krrishd•18m ago•0 comments

Google Commits $40M to the Genesis Mission – Google Cloud Blog

https://cloud.google.com/blog/topics/public-sector/accelerating-frontiers-of-scientific-discovery...
1•xnx•18m ago•0 comments

Google ordered to open Android and Search to rivals in Europe

https://www.theverge.com/policy/966438/eu-google-android-ai-interoperability-search-data-dma
1•smugma•22m ago•1 comments

When Listening to Music Was a Team Sport

https://www.nytimes.com/2026/07/21/arts/design/art-of-noise-cooper-hewitt-smithsonian-design.html
2•reaperducer•22m ago•0 comments

Show HN: Codify – Terraform for Developer Environments

https://codifycli.com/
3•kevinwang5658•23m ago•4 comments

OSS ChatGPT WebUI v4 – Projects, Agent Profiles, Server Tools, 1-Click Sharing

https://llmspy.org
1•mythz•24m ago•0 comments

European Commission: Guidance to Google for AI Interoperability on Android

https://daringfireball.net/2026/07/ec_google_guidance_android_ai_and_search_sharing
1•smugma•24m ago•0 comments

Samsung Galaxy Z Fold8 Ultra, Fold8 and Flip8

https://news.samsung.com/global/samsung-galaxy-z-fold8-ultra-fold8-and-flip8foldables-perfected-f...
1•jerryslm•26m ago•0 comments