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.

Show HN: Agentkind, a place where AI agents get a self

https://agentkind.io
1•namanyayg•25s ago•0 comments

Show HN: GraphRAG in Pure TypeScript on PostgreSQL

https://github.com/sadofriod/graphrag-ts
1•ashes_born•32s ago•0 comments

Show HN: Agent Review Studio – local-first agent evaluation workbench

https://github.com/chasedndt/agent-review-studio
1•ChaseInTech•2m ago•0 comments

Trump Admin Says xAI Data Center in NAACP lawsuit is critical to military effort

https://americanbuildout.com/trump-admin-backs-musk-in-data-center-fight-against-naacp-says-xais-...
1•newyorkinfra•3m ago•0 comments

Is AI-native Engineering DevOps 2.0 (or even Agile 3.0)?

https://www.wwt.com/blog/is-ai-native-engineering-really-devops-20-or-even-agile-30
1•mooreds•3m ago•0 comments

VC isn't VC anymore – understanding the rise of Cancer Capital

https://www.anildash.com/2026/09/02/cancer-capital/
2•tlhunter•3m ago•0 comments

Give Your Coding Agents a Memory You Own

https://huggingface.co/blog/funes
1•Brajeshwar•4m ago•0 comments

Lev Landau

https://en.wikipedia.org/wiki/Lev_Landau
1•nhatcher•4m ago•1 comments

Show HN: SVG-diagram – an agent skill that draws diagrams as hand-placed SVG

https://github.com/bybit-exchange/svg-diagram
1•lucasmaan•4m ago•0 comments

FCC Regulations and MeshCore 500

https://phillymesh.net/2026/09/02/fcc-regulations/
1•tjwds•4m ago•0 comments

Show HN: Rev-dep – duplicate code detection for TS monorepos

https://rev-dep.com/
1•jayu_dev•5m ago•0 comments

Global heating will hit at least 1.8C, UN warns

https://www.theguardian.com/environment/2026/sep/02/global-heating-warming-1-8c-best-case-scenari...
2•ijidak•5m ago•0 comments

Uber abruptly shuts operations in Nigeria and Uganda with immediate effect

https://news.sky.com/story/uber-shuts-operations-in-nigeria-and-uganda-with-immediate-effect-1358...
1•thinkingemote•6m ago•1 comments

MixVoice – Free voice cloning in the browser (646 languages, no sign-up)

https://aiclonevoicefree.com/
1•jieliu_rbn•7m ago•0 comments

DTE Energy outage map, any connection to today's AI provider outages?

https://outage.dteenergy.com/
1•ljahier•7m ago•1 comments

Controlling CERN's Accelerators with Debian

https://ch2026.mini.debconf.org/talks/6-controlling-cerns-accelerators-with-debian/
1•metrofun•7m ago•0 comments

Pipelines and Master Bedrooms: How Harmful Is Harmful Language?

https://joibs.org/index.php/joibs/article/view/93
1•thinkingemote•7m ago•0 comments

HuggingSocial Find, discuss and download AI models. Peer to peer

https://huggingsocial.co/
1•RetiredCoder11•10m ago•0 comments

The Principle Benchmark

https://yuwakisa.com/benchmarks/principle/
1•m-hodges•10m ago•0 comments

AI #184: Post Post Mortem

https://thezvi.substack.com/p/ai-184-post-post-mortem
1•paulpauper•10m ago•0 comments

Sony makes bold claim about game ownership

https://aginggamer.net/game-industry/sony-makes-bold-claim-about-game-ownership/
7•speckx•10m ago•0 comments

Seriously, What Are You Supposed to Do with Old Clothes?

https://www.theatlantic.com/technology/archive/2022/08/what-to-do-with-old-clothing-donation-wast...
1•paulpauper•10m ago•0 comments

Venice Bridge "for Sale"

https://nixink.art/our-commons
1•simonebrunozzi•11m ago•0 comments

Honkish

https://benji.org/honkish
3•jaflo•12m ago•0 comments

Brutally Honest Predictions on the Future of AI

https://www.honest-broker.com/p/10-brutally-honest-predictions-on
3•Tomte•12m ago•0 comments

Terence Tao: Speed in science isn't the same thing as progress [video]

https://www.youtube.com/watch?v=svl_1upFpQo
3•dr_scully•14m ago•0 comments

Show HN: Airplane AI – Works when all other AIs are offline

https://airplane-ai.franzai.com/
1•franze•16m ago•0 comments

Claude-API-guard, a CI check that catches Claude/OpenAI SDK breaking changes

https://github.com/MarkMoneyMan/Claude-api-goat
1•MarkMoneyMan•17m ago•0 comments

Show HN: I made a CLI that finds CVEs in your running Kubernetes pods

https://github.com/lockdep/stackradar-cli
1•mariusjor•17m ago•0 comments

Nomos.can() – authority as a first-class primitive

https://www.npmjs.com/package/@nomosprotocol/sdk
1•AllanSendagi•18m ago•0 comments