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.

JBang: Unleash the Power of Java

https://github.com/jbangdev/jbang
1•theanonymousone•1m ago•0 comments

New chip could help tiny robots traverse complex environments

https://news.mit.edu/2026/new-chip-could-help-tiny-robots-traverse-complex-environments-0623
1•droidjj•1m ago•0 comments

Ancient Tablets Show Markets Worked 4k Years Before Economists Explained Them

https://thedailyeconomy.org/article/ancient-clay-tablets-show-markets-worked-4000-years-before-ec...
1•NaOH•1m ago•0 comments

Over 1700 Cargill Meatpacking Workers Locked Out After Demanding Bathroom Breaks

https://sentientmedia.org/cargill-meatpacking-workers-locked-out/
2•randycupertino•1m ago•0 comments

Anthropic rolls out Claude Tag, your new agentic AI coworker in Slack

https://www.zdnet.com/article/anthropic-claude-tag-agentic-ai-coworker-slack/
1•thm•2m ago•0 comments

AI-Generated UI Is Inaccessible by Default

https://master.dev/blog/ai-generated-ui-is-inaccessible-by-default/
1•speckx•2m ago•0 comments

Thirsty and power hungry: Australia's datacenter boom

https://www.theguardian.com/technology/2026/jun/22/australia-ai-datacentre-boom-environmental-imp...
1•logickkk1•3m ago•0 comments

Looking Ahead to Postgres 19

https://www.snowflake.com/en/blog/engineering/postgresql-19-features-beta/
1•craigkerstiens•4m ago•0 comments

Charon: A blind, end-to-end-encrypted marketplace for LLM inference

https://github.com/DeepBlueDynamics/charon
1•kordlessagain•5m ago•1 comments

GVoice suspended in error: no Takeout, portout, incoming text forwarding blocked

https://www.google.com/appsstatus/dashboard/incidents/qqWhZSpoVLJWur1GfHfu
1•ProblemExplorer•6m ago•1 comments

Transaction Processing in the Data Plane

https://github.com/frankmcsherry/blog/blob/master/posts/2025-04-27.md
1•nate_stewart•9m ago•0 comments

75% More Pedestrians Have Been Killed Since 2009. Giant Trucks and SUVs Are Why

https://www.thedrive.com/news/75-more-pedestrians-have-been-killed-since-2009-giant-trucks-and-su...
3•theanonymousone•10m ago•0 comments

Show HN: Goldfish – An always-on-top Pomodoro timer for ADHD brains

https://github.com/overflowy/goldfish
2•overflowy•11m ago•1 comments

A Short Guide to Celestial Navigation [zipped pdf]

https://celnav.de/page2.htm
1•helterskelter•11m ago•1 comments

Akasia – A libre, metric-compatible alternative to Aptos

https://codeberg.org/bloudraad/akasia
1•sscaryterry•12m ago•1 comments

Why Windows 95 Was Tech's Last True Revolution

https://comuniq.xyz/post.php?t=1307
2•01-_-•12m ago•0 comments

New Digital Nomad Visas in 2026

https://relocateme.substack.com/p/digital-nomad-visas-in-2026-a-world
1•andrewstetsenko•14m ago•0 comments

What Is Growth Engineering?

https://harsehaj.substack.com/p/what-is-growth-engineering
1•harsehaj•14m ago•0 comments

vLLM Recipes

https://recipes.vllm.ai
1•kristianpaul•15m ago•0 comments

Summer Virtual Challenge: Scripture in New Frontiers

https://studio.ai.gloo.com:443/challenge
1•flourishDev•15m ago•0 comments

Trump may be mystery patient in case of 79yo getting experimental obesity drug

https://arstechnica.com/health/2026/06/trump-may-be-mystery-patient-in-odd-case-of-79yo-getting-e...
1•canucker2016•15m ago•0 comments

Gastevo: Point of Sale Management System

https://gastevo.com
1•ghassendaoud•16m ago•0 comments

Apple's Vision Pro Tool Contains Traces of Defunct Game Engine 'The Machinery'

https://www.macrumors.com/2026/06/23/apple-reality-composer-pro-the-machinery/
1•antipaul•16m ago•0 comments

Shipping an OAuth-protected remote MCP server: the spec and 3 security bugs

https://skilldb.dev/blog/oauth-remote-mcp-server
1•dev_chad•17m ago•0 comments

Autonomous AI Agent Finds CVSS 10.0 Full Compromise in Hoppscotch

https://github.com/hoppscotch/hoppscotch/security/advisories/GHSA-j542-4rch-8hwf
1•infy•17m ago•0 comments

Alexis Peskine uses nails, gold, and plants to depict the African diaspora

https://www.cnn.com/style/artist-alexis-peskine-nails-gold-plants-flowers-to-capture-aura-of-blac...
1•Tomte•17m ago•0 comments

CXMT is set to challenge DRAM incumbents

https://newsletter.semianalysis.com/p/chinas-cxmt-is-set-to-challenge-dram
3•Flux159•18m ago•1 comments

NektarIR: A Domain-Specific Compiler for High-Order FE Ops on Heterogeneous HW

https://arxiv.org/abs/2606.20917
1•matt_d•19m ago•0 comments

Self-Attention Solved the Sequential Bottleneck

https://www.pathtostaff.com/p/everything-a-senior-engineer-needs
3•sidwyn•19m ago•0 comments

How the Midjourney ultrasound project started a war between medicine and tech

https://www.argmin.net/p/all-data-is-good-data
1•brandonb•20m ago•0 comments