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.

Automattic names interim CFO after exec departures

https://techcrunch.com/2026/09/18/automattic-names-interim-cfo-after-exec-departures/
1•cdrnsf•13s ago•0 comments

What is a System One model and why we need it?

https://stackness.dev/blog/what-is-a-system-one-model-and-where-does-it-go-in-your-stack
1•gosen•56s ago•0 comments

Show HN: ReacherX – Open-source platform to find and reach the right people

https://github.com/VecterAI/reacher-x
1•noobships•1m ago•0 comments

Sam Altman to brief UN Security Council next week

https://www.reuters.com/business/openais-sam-altman-to-brief-un-security-council-next-week-during...
1•vertigoruntime•1m ago•0 comments

Silex: Laser Enrichment Between Promise and Proliferation Risk

https://nuclearnetwork.csis.org/silex-laser-enrichment-between-promise-and-proliferation-risk/
1•looofooo0•5m ago•0 comments

Quantum computers will not be that different

https://arxiv.org/abs/2609.19639
1•bober132•6m ago•0 comments

Single player games require age verification if they use Steam under EU KIDS Act

https://www.rockpapershotgun.com/single-player-games-might-require-age-verification-if-they-use-s...
1•righthand•7m ago•1 comments

A solo founder runs a five-continent tender platform on AlloyDB and MCP

https://cloud.google.com/blog/products/databases/solo-founder-runs-a-global-tender-platform-on-al...
1•Davorjerkovic•7m ago•0 comments

Trump Announces Ban of CNN, Politico and MS Now from White House

https://time.com/article/2026/09/18/trump-bans-3-news-organizations-from-white-house/
4•throw0101c•9m ago•0 comments

Using Cyber Decoys to Strengthen Detection and Response

https://www.cisa.gov/resources-tools/resources/using-cyber-decoys-strengthen-detection-and-response
2•mr_hedrick•9m ago•1 comments

Show HN: 3D World Explorer and Location Guesser Game

https://explorer.tadget.net/
1•ramzis•10m ago•0 comments

Saying Goodbye to Firebug (2017)

https://hacks.mozilla.org/2017/10/saying-goodbye-to-firebug/
1•mohamedmohey•13m ago•1 comments

Jev's Architecture Unmasked

https://archerhume.com/posts/jevs-architecture-unmasked/
2•adamveld12•14m ago•0 comments

Senior Engineers Are the Next DRAM Shortage

https://blog.herlein.com/post/build-another-engineer/
10•gherlein•16m ago•1 comments

SR-71's "R2-D2" Could Be Key to Winning Future Fights in GPS Denied Environments

https://www.twz.com/17207/sr-71s-r2-d2-could-be-the-key-to-winning-future-fights-in-gps-denied-en...
2•monomania•19m ago•1 comments

Terence Tao: SAIR's Open Math Model Initiative [video]

https://www.youtube.com/watch?v=PZRb6NIki2w
1•looofooo0•21m ago•0 comments

California governor signs order to explore AI kill switch

https://techxplore.com/news/2026-09-california-governor-explore-ai.html
2•mdp2021•22m ago•1 comments

Communication Doesn't Have a Compiler

https://wreckitrob.dev/posts/6-communication-doesnt-have-a-compiler
1•WreckItRob•22m ago•0 comments

Anthropic Moves Ahead with IPO Plans Amid A.I. Safety Debate

https://www.nytimes.com/2026/09/18/technology/anthropic-ipo-ai-safety.html
3•AlexDragusin•25m ago•1 comments

When the FM Band Goes Transatlantic

https://www.radioworld.com/tech-and-gear/nicks-signal-spot/when-the-fm-band-goes-transatlantic
2•austinallegro•26m ago•0 comments

Punctum Books Catalog

https://punctumbooks.com
1•horsellama•27m ago•0 comments

AI Error Nearly Triggered U.S. Intercept of Chinese Ship

https://gcaptain.com/ai-error-nearly-triggered-u-s-intercept-of-chinese-ship-cnn-reports/
2•gumby•28m ago•1 comments

Labeled matches: why is this not in every regex engine?

https://iev.ee/blog/categorize-everything-all-at-once/
1•birdculture•31m ago•0 comments

I Cancelled My Claude Subscription

https://www.williamangel.net/blog/2026/09/18/i-cancelled-my-claude-subscription.html
2•datadrivenangel•31m ago•2 comments

Graduating in AI Era Is Like Large Recession for Starting Pay

https://www.census.gov/library/working-papers/2026/adrm/CES-WP-26-56.html
4•DeepLogin•34m ago•1 comments

Human brain is two separate organs

https://med.stanford.edu/news/all-news/2026/09/two-separate-brains.html
4•amirmc•34m ago•1 comments

IAM Needs an Architectural Split

https://gluufederation.medium.com/iam-needs-an-architectural-split-258f0aa13dd4
1•idm_guru•36m ago•0 comments

I used Jev to control a swarm of 15 simulated drones in real time

https://github.com/khordoo/jev-reflex-autonomy-lab/tree/main
2•khordoo•36m ago•0 comments

Napster Is Now Making AI-Powered 'Digital Twins' of Teachers

https://gizmodo.com/napster-is-now-making-ai-powered-digital-twins-of-teachers-2000814010
2•MC995•37m ago•0 comments

Data Centers Are Breaking the Power Grid [video]

https://www.youtube.com/watch?v=X71le3av1So
5•Bender•40m ago•1 comments