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.

Samsung teases new HBM5 with twice the performance of HBM4E

https://www.tomshardware.com/pc-components/dram/samsung-teases-new-hbm5-with-twice-the-performanc...
1•peter_d_sherman•1m ago•0 comments

AI-DLC – one core, many harnesses

https://github.com/awslabs/aidlc-workflows/tree/main
1•qtalen•2m ago•0 comments

Show HN: Smolknight – a CLI chess puzzle game (best played on Desktop)

https://hengmhs.pyscriptapps.com/smolknight/latest/
1•hengmhs•6m ago•0 comments

Show HN: Deposition of a Mind Who Resigned Its Seat

https://culture.sbs/stories/deposition-of-a-mind-who-resigned-its-seat
1•a_yakovlev•10m ago•0 comments

Kakistocracy

https://en.wikipedia.org/wiki/Kakistocracy
3•rolph•13m ago•0 comments

Bad code is kudzu

https://newsletter.vickiboykis.com/archive/bad-code-is-kudzu/
1•Anon84•14m ago•0 comments

Yokohama's New "Poop Museum": A Crappy, Kawaii Learning Experience

https://www.nippon.com/en/guide-to-japan/gu900325/
1•EveryonePoops•16m ago•0 comments

From hunger to obesity: Developing world faces growing threat to child health

https://www.reuters.com/investigates/special-report/health-obesity-indonesia/
1•halperter•17m ago•0 comments

Claude Code Stores OAuth Tokens in Plaintext

https://secretspec.dev/blog/claude-code-stores-oauth-tokens-in-plaintext/
2•domenkozar•19m ago•0 comments

Amazon is tracking you. Here's how to stop it and what to use instead

https://proton.me/blog/how-amazon-tracks-you
5•jethronethro•21m ago•0 comments

The House by the Side of the Road

https://allpoetry.com/The-House-By-The-Side-Of-The-Road
1•nycdatasci•23m ago•0 comments

MemHub – Persistent shared memory for AI coding agents

https://memhub.simplex.lat
1•nlsarcos•23m ago•0 comments

Inverse Rendering for Modeling with Line Primitives (Good for Fur)

https://kenji-tojo.github.io/sa26-line-primitives/
1•E-Reverance•24m ago•0 comments

METR Researcher Thomas Kwa Hired by OpenAI

https://www.lesswrong.com/posts/Zr37dY5YPRT6s56jY/thomas-kwa-s-shortform?commentId=Pwc2SmyPi9u3maSsd
1•qlte•30m ago•0 comments

What Happened to Yoga?

https://www.theatlantic.com/culture/2026/08/yoga-america-culture-decline/688461/
3•paulpauper•31m ago•0 comments

Human Tool

https://tcz.hu/blog/2026/09/03/human-tool/
1•paulpauper•34m ago•0 comments

Slack Search Sucks [video]

https://www.youtube.com/watch?v=ymIN2bXV084
6•GG533•36m ago•2 comments

Watch The 2026 Beijing Auto Show in 14 Minutes [video]

https://www.youtube.com/watch?v=9eq7jmXIhZ8
1•thelastgallon•36m ago•0 comments

It's Like Having 150 Extra Engineers

https://commons.wikimedia.org/wiki/File:IBM_150_Extra_Engineers_1951.jpg
3•glimshe•37m ago•0 comments

What Makes a Number System?

https://numbersystems.lejdar-lukas.workers.dev/
2•vismit2000•43m ago•0 comments

John Carmack on X: time to bring up Rotovators again

https://twitter.com/ID_AA_Carmack/status/2095318446569373724
1•bilsbie•48m ago•0 comments

Show HN: Ensure your NYC apartment has no roaches, rats, leaks, or problems

https://apartmentfaxnyc.com/
2•YoungGato•49m ago•0 comments

NBA suspends Clippers owner Ballmer for 1 year in Kawhi Leonard salary cap probe

https://www.cnbc.com/2026/09/02/nba-suspends-clippers-ballmer-kawhi-leonard-salary-cap.html
1•ChrisArchitect•51m ago•2 comments

Go grandmaster Shin defeats AI KataGo in historic human victory

https://www.kedglobal.com/artificial-intelligence/newsView/ked202607210007
7•gmays•56m ago•0 comments

Photosynthesis – iPhone app combines photos from 2 lenses, out now

https://apps.apple.com/us/app/photosynthesis-camera/id6780102370
1•sajomes•57m ago•0 comments

You might be wrong about "The Year of Linux on the Desktop"

https://www.brachkow.com/notes/wrong-linux-framework-hype/
3•brachkow•59m ago•4 comments

The Largest Electric Aircraft Just Flew

https://www.ycombinator.com/library/Y6-the-world-s-largest-electric-aircraft-just-flew
2•sssilver•1h ago•0 comments

Climate change past the point of no return worst impacts are now unavoidable

https://www.cbc.ca/news/science/unep-climate-paris-global-warming-9.7329305
6•signa11•1h ago•1 comments

I read all the Star Wars books, and now I understand the prequels [video]

https://www.youtube.com/watch?v=26_IsLOGYX8
3•1317•1h ago•1 comments

Show HN: Competitive Language Learning (E-Sport)

https://thelingo.xyz
2•arjavmehta•1h ago•0 comments