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.

PS5 Version of GTA 5 Now Playable on PC at Up to 60 FPS, via KytyPS5 Emulator

https://www.techpowerup.com/352418/ps5-version-of-gta-5-now-playable-on-pc-at-up-to-60-fps-via-ky...
1•mfiguiere•2m ago•0 comments

Making signaling ML models, eliminating coding barriers

https://twitter.com/reviseml/status/2096682767446679648
1•Aadi_Ajmire•5m ago•1 comments

Chainsaw maker STIHL's chief calls for longer hours without extra pay

https://www.euronews.com/business/2026/09/06/reforms-chainsaw-maker-stihl-chief-calls-for-longer-...
3•devonnull•5m ago•0 comments

App Store Connect CLI

https://github.com/rorkai/App-Store-Connect-CLI
1•luispa•9m ago•0 comments

Ask HN: How do you manage skills files?

1•imadtaieber•14m ago•1 comments

Germany's far-right AfD projected to win

https://www.cnn.com/2026/09/06/europe/germany-afd-state-election-majority-intl
2•hasley•19m ago•2 comments

XCancel service is resumed following legal progress from Nitter

https://xcancel.com/cdclegal
3•bagelreindeersn•21m ago•0 comments

Show HN: Time Pin – a history themed GeoGuessr-style game

https://playtimepin.com/
1•AndreiCx•24m ago•0 comments

Show HN: Vitaslop – PS Vita emulator in the browser

https://github.com/cretz/vitaslop
1•kodablah•25m ago•0 comments

1974 a Computer Animated Hand by Ed Catmull [video]

https://www.youtube.com/watch?v=9r_lmsxlUuY
1•weinzierl•26m ago•0 comments

Discover curated tips, shortcuts, and resources for the Zed editor

https://zed.tips/
1•ahamez•28m ago•0 comments

Governing Well in the Algorithmic Age: The Foundations of Digital Statecraft

https://arxiv.org/abs/2607.18483
1•xtoilette•29m ago•0 comments

D2 Is Non-Profit

https://d2lang.com/blog/d2-non-profit/
2•alixanderwang•30m ago•0 comments

A directory of AI agents, MCP servers and agent skills, cross-linked

https://aiagentslisting.com
3•theorchid•31m ago•0 comments

Cory Doctorow on the Big AI Lie [video]

https://www.youtube.com/watch?v=nTqCVJFr7XM
3•andrekandre•31m ago•0 comments

Verified by Design: The Deterministic Build Protocol

https://gist.github.com/TySteele1/318a38cb5725c692b2318d7a0246c953
1•Futurestrek•32m ago•0 comments

Ask HN: UK Rescue Rocket Sheds/Houses Information

3•burnt-resistor•34m ago•1 comments

The first AI-run ransomware attack copied its Bitcoin address out of a tutorial

https://medium.com/@thenewgencoder/the-first-fully-ai-run-ransomware-attack-copied-its-bitcoin-ad...
4•syumei•34m ago•0 comments

Finder is so frustrating and has been since day one

https://kepter.app/finder
42•maltch•35m ago•33 comments

Show HN: DeviceShelf – a local-first network scanner (desktop, server, mobile)

https://deviceshelf.app/
1•itsmueller•35m ago•0 comments

Why More Hospitals and Doctors Are Asking Patients to Pay First

https://www.wsj.com/health/healthcare/why-more-hospitals-and-doctors-are-asking-patients-to-pay-f...
5•bookofjoe•36m ago•1 comments

Show HN: Quiz-UI – Shadcn-style components for building quiz funnels

https://github.com/kalpovskii/quiz-ui
1•nevedomski•37m ago•0 comments

Security vulnerabilities of AI data centers flagged at intelligence hearing

https://insidecybersecurity.com/daily-news/security-vulnerabilities-ai-data-centers-flagged-house...
4•billybuckwheat•40m ago•0 comments

In Lesotho, the Mushroom Speaks

https://unpublishablepapers.substack.com/p/in-lesotho-the-mushroom-speaks
2•paulpauper•41m ago•0 comments

Public beta: a decision-governance runtime for AI agents

https://amundsenlance.github.io/pvpp-runtime-api/
1•lca13•42m ago•0 comments

The Hero's Journey Is Holding Back GLP-1s

https://storytellingprogress.substack.com/p/the-heros-journey-is-holding-back
2•paulpauper•44m ago•0 comments

A Mike's-Eye View of ARC's Research

https://www.alignment.org/blog/a-mikes-eye-view-of-arcs-research/
1•paulpauper•45m ago•0 comments

Souping Up My Blog

https://qtea.me/posts/souping-up-my-blog/
1•birdculture•45m ago•0 comments

Why Do Video Games Associate Mice with Bombs?

https://www.thrillingtalesofoldvideogames.com/blog/mouse-bomb-connection-japan
1•Bluestein•48m ago•0 comments

Agents need capitalism, people need socialism

https://nonlineartransform.substack.com/p/agents-need-capitalism-people-need
1•program_whiz•49m ago•0 comments