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.

F-Zero X on Nintendo 3DS

https://hypnotize.works/gdx-3ds/postmortem/index.html
1•bpierre•24s ago•0 comments

The New Age of Reading

https://www.newyorker.com/magazine/2026/10/26/james-daunt-profile
1•bryanrasmussen•7m ago•0 comments

Show HN: Glider 4.0 Unofficial Web Edition

https://dbohdan.github.io/glider/
1•networked•9m ago•0 comments

Counting Sand Dunes in the Simpson Desert

https://www.fromtheroad.ford.com/img/en/articles/2026/simpson-desert-ranger-super-duty-counting-d...
1•bryanrasmussen•9m ago•0 comments

Show HN: QuickRust replaces cargo, sets up sccache, centralizes build cache

https://machinefabric.com/quickrust/
1•joeharshamshiri•13m ago•1 comments

Show HN: Classical Latin TTS

https://huggingface.co/coolcoder613/omnivoice-latin-lora-1
1•coolcoder613•23m ago•1 comments

Palo Alto retracts claim of PHP2Shell exploitation at European government agency

https://unit42.paloaltonetworks.com/cve-2026-109618-cve-2026-109619/
3•zahrevsky•37m ago•1 comments

Apollo says AI has delivered 'zero financial payoff' outside the tech industry

https://www.businessinsider.com/apollo-ai-zero-financial-payoff-corporate-america-economic-analys...
12•levzettelin•38m ago•6 comments

Show HN: simdown – use SIMD to parse Markdown at ~1 GB/s

https://github.com/trevorah/simdown
2•trevorah•40m ago•0 comments

Internet Security: We're Doomed

https://www.nationalreview.com/2026/10/were-doomed/
2•DamnInteresting•41m ago•1 comments

What the US Movement Against Data Centers Can Learn from Everywhere Else

https://www.wired.com/story/what-the-us-anti-data-center-movement-can-learn-from-everywhere-else/
1•cdrnsf•46m ago•0 comments

The Busy Beaver Iceberg [video]

https://www.youtube.com/watch?v=kMHCl2PGloQ
1•ks2048•46m ago•0 comments

Tool to easily copy features from one desktop framework to another

https://github.com/androslee/yoinkr
1•aclmakes•46m ago•0 comments

Surprising gender biases in GPT (2024)

https://www.sciencedirect.com/science/article/pii/S2451958824001660
2•mpweiher•47m ago•1 comments

You don't have to build the model to compete in AI

https://www.purifigroup.com/index.html
1•jerondu•47m ago•0 comments

Proton Flock Camera Map

https://proton.me/flock-camera-map
5•cdrnsf•48m ago•0 comments

Raven: Install and run Windows applications on Linux with their own installers

https://useraven.org/
1•thunderbong•48m ago•0 comments

Forget the plague, this is the disease that will kill us all

https://mapwriting.substack.com/p/forget-the-plague-this-is-the-disease
7•kitkut•50m ago•0 comments

Focus: Why Everything Is Not for You

https://leveragethoughts.substack.com/p/everything-is-not-for-you
2•maverickJ•53m ago•1 comments

Why I Built Verto

https://jackdamon.org/blog/why-i-built-verto/
2•jdamon96•53m ago•0 comments

Payload: A super-small game engine that lets you share code via a URL

https://kitao.dev/playload/
1•nogajun•53m ago•0 comments

SIMD-accelerated computer vision on a $2 microcontroller

https://shraiwi.com/blog/simd-fast-esp32s3/
1•zdw•58m ago•0 comments

Why the EU avoids tackling Big Soccer

https://www.politico.eu/article/why-the-eu-avoids-tackling-big-soccer/
2•RickJWagner•59m ago•0 comments

HQL 0.5.2 Is Out

https://hql-lang.org/
1•divingstar•1h ago•0 comments

Serbia's ruler VučIć concedes election to student-led protest

https://www.bbc.com/news/articles/cw5yn3xlprpmo
3•Betelbuddy•1h ago•1 comments

Conservative party wins first election in nearly a century in BC

https://www.reuters.com/legal/litigation/conservative-party-wins-first-election-nearly-century-br...
2•Bluestein•1h ago•1 comments

Stop resetting privacy settings to default on updates #17107

https://github.com/anthropics/claude-code/issues/17107
2•DesaiAshu•1h ago•0 comments

Show HN: Glitchrupt: Glitch your desktop when your AI agent needs your attention

https://github.com/elbee19/glitchrupt
1•impish19•1h ago•0 comments

I want my Wednesday back

https://blog.luitjes.it/posts/i-want-my-wednesday-back/
3•birdculture•1h ago•0 comments

Germany's Idle Nuclear Plants Eye New Life as AI Data Centers

https://www.bloomberg.com/news/articles/2026-10-22/germany-s-idle-nuclear-plants-eye-new-life-as-...
2•gnabgib•1h ago•1 comments