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.

Waterloo's student rocketry team breaks a world record

https://uwaterloo.ca/news/engineering/waterloos-student-rocketry-team-breaks-world-record
1•pseudolus•5m ago•0 comments

ISRO will not make any launch vehicle, all tech to be handed to private sector

https://www.indiatoday.in/science/story/isro-will-not-make-any-launch-vehicle-all-tech-to-be-hand...
1•thunderbong•10m ago•0 comments

The hold that could not release itself

https://shitrat.ai/log/the-hold-that-could-not-release-itself
1•handfuloflight•17m ago•0 comments

Hermeus, a venture-backed defense aviation company

https://hermeus.com
1•ksec•17m ago•0 comments

MacStories is posting on Twitter again

https://mastodon.macstories.net/@viticci/117134048567780192
2•latexr•19m ago•0 comments

Homebrew 68K Machine Has a PCI Bus

https://hackaday.com/2026/08/20/homebrew-68k-machine-has-a-pci-bus/
2•birdculture•21m ago•0 comments

New chip mimics how cancer spreads

https://ecancer.org/en/news/28752-new-chip-mimics-how-cancer-spreads
1•giuliomagnifico•22m ago•0 comments

Fypbid.lol

https://fypbid.lol/
1•Teyz•24m ago•0 comments

AWS Security makes an inscrutable choice

https://www.theregister.com/security/2026/08/22/aws-security-makes-an-inscrutable-choice-corey-qu...
2•neuroelectron•27m ago•0 comments

Tech Layoffs 2026 – 170,777 Jobs Cut

https://layoffhedge.com/industry/tech-layoffs-2026
4•msolujic•30m ago•1 comments

Embedded AI

https://nostarch.com/embedded-ai
1•0x54MUR41•31m ago•0 comments

Therapy for the Vibe-Coded Brain

https://www.youtube.com/watch?v=DkhhE97Swmo
1•conferza•34m ago•0 comments

Apple lays off 200 people across Vision Pro and Siri teams

https://9to5mac.com/2026/08/21/apple-lays-off-200-people-across-vision-pro-and-siri-teams/
4•ksec•35m ago•0 comments

BDH-CQ: In-Context Learning with Recurrent Latent Reasoning

https://arxiv.org/abs/2608.09888
2•flaburgan•40m ago•0 comments

$40T Debt, 6.7% Mortgages and $5 Diesel

https://www.ft.com/content/6cb399fa-9fba-4806-98a3-9572fe319622
4•tcp_handshaker•42m ago•3 comments

A Week in the Life Of

https://profane-tmesis.info/a-week-in-the-life-of
1•riskone•44m ago•0 comments

I built roads.fyi – view and report the condition of roads near you

https://roads.fyi
1•ss1996•45m ago•1 comments

Ask HN: Is there a "knowledge base" of expert insights for Claude?

1•iosifnicolae2•46m ago•1 comments

Chatflare: Chat with your friends via Cloudflare cache hits

https://github.com/beescuit/chatflare
1•gavide•47m ago•0 comments

FreeToken: Efficient Edge-Native Moe Serving with Bandwidth-Adaptive Execution

https://arxiv.org/abs/2608.16157
1•theanonymousone•48m ago•0 comments

Rights-infringing copies of "NEINhorn": Carlsen sues OpenAI

https://www.heise.de/en/news/Rights-infringing-copies-of-NEINhorn-Carlsen-sues-OpenAI-11420677.html
2•wodniok•52m ago•0 comments

Uber fined nearly $1B by Dutch regulators

https://apnews.com/article/uber-fine-automated-suspensions-netherlands-e64385dc72fd2da440a68babd1...
2•gostsamo•56m ago•0 comments

Pets vs. Cattle and How to Use the Analogy Properly

https://cloudscaling.com/blog/cloud-computing/the-history-of-pets-vs-cattle/
1•fagnerbrack•56m ago•0 comments

RayNeo IO

https://www.rayneo.com/pages/rayneo-io-ai-glasses
1•handfuloflight•1h ago•0 comments

Is "AI slop" now the default response to every new project?

2•antonreshetov•1h ago•1 comments

Show HN: Financialdata.net – Stock Market API with Python SDK and MCP Server

https://financialdata.net/stock-market-api
1•_FDN_•1h ago•0 comments

Tesla Recalls 3M EVs in China over Door Handle Safety

https://www.bloomberg.com/news/articles/2026-08-21/tesla-recalls-3-million-evs-as-china-cracks-do...
4•Hoefner•1h ago•0 comments

Walmart adding Tap to Pay after years of shoppers asking for it

https://www.dexerto.com/entertainment/walmart-finally-adding-tap-to-pay-after-years-of-shoppers-a...
2•thunderbong•1h ago•0 comments

Older Americans leaving workforce poses challenges for AI plans

https://www.spglobal.com/market-intelligence/en/news-insights/articles/2026/8/older-americans-lea...
3•littlexsparkee•1h ago•0 comments

Show HN: Best of Marketing, an interactive and ranked advertising index

https://bestmarketingnewsletter.com/
1•jaskaransainiz•1h ago•0 comments