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.

Artist Statement Generator

https://www.artybollocks.com/generator.html
1•bookofjoe•2m ago•0 comments

Clickbait, engagement, and credibility in YouTube's medical ecosystem

https://www.nature.com/articles/s41746-026-03046-x
1•wertyk•2m ago•0 comments

LLM policy for drivers/staging/ going forward

https://lore.kernel.org/all/2026080354-skater-urgent-31b2@gregkh/
1•ahlCVA•3m ago•0 comments

Show HN: Christopher Nolan's Hymn to Athena

https://jackcushman.org/writing/hymn-to-athena/
1•JackC•3m ago•0 comments

Show HN: One Thing at a Time – a todo app that hides your list

https://onethingatatime.app/
1•sumtsui•4m ago•0 comments

Can a robotics startup survive by pivoting from hardware to data scraping?

1•hjkofj•5m ago•0 comments

DeepSeek v4 flash and cheap intelligence

https://www.0xsid.com/blog/cheap-tokens-are-great
2•ssiddharth•5m ago•0 comments

Most Simple Design of a Stablecoin

https://github.com/shafu0x/MicroStable
1•AnhTho_FR•5m ago•0 comments

They're made out of meat (1991)

https://terrybisson.com/theyre-made-out-of-meat-2/
1•maxutility•6m ago•0 comments

The Mechanical Transmission of Power: Stangenkunst (2013)

https://solar.lowtechmagazine.com/2013/01/the-mechanical-transmission-of-power-1-stangenkunst/
1•at1as•6m ago•0 comments

Reading agent status out of Claude Code's hooks

https://agent-manager.dev/writing/claude-code-hooks/
1•yoanwaidev•6m ago•0 comments

AmigaOS Easter Eggs

http://www.bambi-amiga.co.uk/amigahistory/messages.html
2•Bluestein•6m ago•0 comments

Keychron Nape Pro Wireless Trackball Mouse

https://www.keychron.com/products/keychron-nape-pro-wireless-trackball-mouse
2•throwaway270925•7m ago•0 comments

Full flattening of nested data parallelism

https://futhark-lang.org/blog/2026-07-31-full-flattening.html
1•fanf2•7m ago•0 comments

Show HN: Jeffy Loop, an autonomous code improvement loop for Claude Code

https://github.com/lenamonj/jeffy-loop
1•lenamonj•7m ago•0 comments

DIY Adjustable Projector Stand

https://arun.is/blog/projector-stand/
1•surprisetalk•8m ago•0 comments

How Does the Qatar-Donated Air Force One Compare with Other Presidential Jets?

https://www.wsj.com/politics/national-security/how-does-the-qatar-donated-air-force-one-compare-w...
3•thm•9m ago•0 comments

Seven books I keep close because I love them

https://blog.plover.com/book/elbow-shelf.html
1•Brajeshwar•12m ago•0 comments

The Deleted Face: Why Facial Recognition Must Erase You First

https://smarterarticles.co.uk/the-deleted-face-why-facial-recognition-must-erase-you-first
1•dxs•12m ago•0 comments

Text and Test Anything Protocol

http://dtap.sparrowhub.io/doc/README
1•melezhik•13m ago•0 comments

The Mental Models I Use to Work with AI

https://metedata.substack.com/p/015-the-mental-models-i-use-to-work
1•young_mete•14m ago•0 comments

Fix Your Analog Life First

https://katherinemartinko.substack.com/p/fix-your-analog-life-first
2•speckx•15m ago•0 comments

Quantization hurts knowledge nonlinearly – Qwen3.6 27B case study

https://quesma.com/blog/quantization-hurts-knowledge/
1•stared•15m ago•0 comments

WAN 3.0 Deep Dive: Video Model Evolution from Open-Source Breakthrough

https://wan3video.art/blog/wan-3-0-deep-dive
2•wangneo276•16m ago•0 comments

How the heck do you catch a fly ball?

https://perthirtysix.com/how-the-heck-do-you-catch-a-fly-ball
3•robmoore•17m ago•0 comments

Europe opens bidding for seven AI 'gigafactories' in a €30B bid to catch up

https://thenextweb.com/news/eu-ai-gigafactories-call-30bn
3•doener•17m ago•0 comments

Show HN: Lunar, a "fast", memory-efficient Lua 5.1 VM written in Go

https://github.com/mmcdole/lunar
2•drakenot•19m ago•1 comments

My Personal Software Journey: Self-Hosting Agent-Built Apps

https://metedata.substack.com/p/016-my-personal-software-journey
3•young_mete•19m ago•0 comments

Why does Mail app contact iCloud when sending a non-iCloud email?

https://lapcatsoftware.com/articles/2026/8/2.html
6•cdrnsf•19m ago•0 comments

NASA's New 3D Model Shows the Earth Is a Lumpy Mess

https://www.wired.com/story/nasas-new-3d-model-shows-lumpy-earth/
1•haritha-j•20m ago•0 comments