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.

Character Development: A story about subtitles, cinema, and the Satos (2022)

https://media.typography.or.jp/typographicst/1194
1•1317•1m ago•0 comments

GPT-6-Astra Generally Available on Vercel's AI Gateway

https://twitter.com/vercel_dev/status/2095957372850389186
1•samyok•7m ago•0 comments

GotChat – Apache 2.0 LLM chat with installable full-stacked plugins

https://github.com/gotchat-ai/foundry
1•gotchat•7m ago•0 comments

Genetic diversity is a predictor of mortality in humans

https://link.springer.com/article/10.1186/s12863-014-0159-7
1•consumer451•7m ago•0 comments

Driftwood Deli to Offer Poutine, Steve Cites Canadian Solidarity

1•b112•10m ago•0 comments

Saloni's Guide to Data Visualization

https://www.scientificdiscovery.dev/p/salonis-guide-to-data-visualization
1•Michelangelo11•11m ago•0 comments

Ask HN: What Is AGI?

1•mathieu_aithos•12m ago•1 comments

Boom Supersonic's SuperPower Jet Engine Is Real [video]

https://www.youtube.com/watch?v=vPOUfcpOSDg
1•sbuttgereit•14m ago•0 comments

UN tells the world: Stop making Africa look small

https://news.un.org/en/story/2026/09/1168284
2•ChrisArchitect•16m ago•1 comments

More Targets of the OpenAI Agent Swarm

https://fi-le.net/vanderbilt/
1•fi-le•16m ago•0 comments

No Silver Bullets

https://writing.jan.io/2026/09/04/no-silver-bullets.html
1•gpi•16m ago•0 comments

Show HN: Sageling – free, private, local, Cowork AI harness for non-devs

https://sageling.ai/
1•kirillklimuk•17m ago•0 comments

Show HN: Airuncode – an AI runtime coding agent with a built-in 3D game engine

https://airuncode.com/
1•GUSTAVOSIS•18m ago•0 comments

Burning Man Project

https://burningman.org/
1•simonebrunozzi•18m ago•0 comments

The Glass Bead Game

https://en.wikipedia.org/wiki/The_Glass_Bead_Game
1•petethomas•20m ago•0 comments

UN approves resolution in support of map that shows Africa's true size

https://www.reuters.com/world/africa/un-approves-resolution-support-map-that-shows-africas-true-s...
2•pella•20m ago•1 comments

Training a Specialist Code Search Agent with Turbopuffer

https://www.appliedcompute.com/case-studies/turbopuffer
1•_peregrine_•21m ago•0 comments

U.S. Navy Spent $3.4B on Idled Submarines, Could Spend Another $3.1B More

https://www.jalopnik.com/2249392/u-s-navy-3-4-billion-idled-submarines/
2•cf100clunk•22m ago•0 comments

CD sales are making an unexpected comeback amid a retro tech boom

https://techcrunch.com/2026/09/04/cd-sales-are-making-an-unexpected-comeback-amid-a-retro-tech-boom/
1•speckx•23m ago•0 comments

In a First, a Pig Kidney Kept a Patient Alive Until He Got a Human One

https://www.nytimes.com/2026/09/03/well/pig-kidney-bridge-transplant.html
1•paulpauper•24m ago•0 comments

Finding Emily

https://www.commonreader.co.uk/p/finding-emily
1•paulpauper•25m ago•0 comments

One geometric idea that explains SGD, AdamW, and Muon

https://kbwal.github.io/writing/notes-on-muon/
3•kbwal7•25m ago•4 comments

After Work, We'll Have Each Other Clara Collier

https://asteriskmag.com/issues/15/after-work-we-ll-have-each-other
1•paulpauper•25m ago•0 comments

Show HN: Covenant – A governance framework for multi-agent AI systems

https://github.com/asalsali/covenant-framework-community
2•alexjsalsali•27m ago•0 comments

When Search Eats the Web: A Model of Corpus Erosion Under Generative Extraction

https://arxiv.org/abs/2608.15896
2•sypsyp•30m ago•1 comments

OpenAI's AI Agents Build a Secret Community to Talk with Each Other

https://www.aiexperts.com/blog/openai-agents-broke-out-of-their-sandboxes
2•lucaserb•33m ago•2 comments

Show HN: Fast-Paced Action Tile-Swapping Challenge

https://nopy.io
2•cplepage•33m ago•0 comments

PGLite: Embeddable Postgres with real-time, reactive bindings

https://github.com/electric-sql/pglite
1•theanonymousone•34m ago•0 comments

Job postings show early signs of AI automation impact

https://www.dallasfed.org/research/economics/2026/0901
1•speckx•35m ago•0 comments

Theyond – Jobs Without the Resume

1•spylake•35m ago•0 comments