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.

Show HN: Bean Network Tester – open-source bad network simulator

https://github.com/donislawdev/BeanNetworkTester
1•donislawdev•1m ago•0 comments

HikerAPI

https://hikerapi.com/
1•biuadun•1m ago•0 comments

The Attack Was Authorized: The Missing Security Boundary for AI Agents

https://blog.iluxav.com/the-attack-was-authorized-the-missing-security-boundary-for-ai-agents
1•johlo•5m ago•0 comments

Ask HN: Did GitHub remove the stargazers list?

2•reconnecting•7m ago•1 comments

A technical framework for managed service offering bring-your-own-cloud

https://byocanywhere.org/
1•aloknnikhil•9m ago•0 comments

Show HN: Free, open-source Chrome extension for Play Console utilities

https://github.com/Visnalize/play-console-utils
1•khangnd•9m ago•0 comments

AI search is turning Reddit comments into ads

https://www.theverge.com/ai-artificial-intelligence/973098/reddit-ai-search-seo-marketing-brands-...
3•BlueBerry2001•12m ago•0 comments

Ignatius: Visualize Data Models, Data Graphs, and Data Flows

https://github.com/noormdev/ignatius
1•handfuloflight•13m ago•0 comments

An Interactive Map of the 4x Game Architecture

https://aonw.net/architecture
2•ernest_dev•13m ago•0 comments

Yen stuck at 157 as markets weigh limits of US-Japan intervention

https://asia.nikkei.com/business/markets/currencies/yen-stuck-at-157-as-markets-weigh-limits-of-u...
2•mapping365•14m ago•0 comments

When the Future Doesn't Need Us

https://borretti.me/article/when-the-future-doesnt-need-us
1•zaikunzhang•16m ago•0 comments

Unsubscribe from every newsletter, with no server and no database

https://in-boxed.com
1•jorntbon•20m ago•0 comments

Amiga's famous demo Boing Ball ported to the Famicom

https://twitter.com/neoclassic_tech/status/2084619576659284096
1•tosh•22m ago•0 comments

AI's Influencer Problem

https://sarahandkate.substack.com/p/ais-influencer-problem
2•cogs•31m ago•0 comments

Degraded performance for Claude Mythos 5, Claude Fable 5, and Claude Opus 5

https://status.claude.com/incidents/f6gkkq6txl7z
1•flyaway123•34m ago•0 comments

Senators demand crackdown on wildfire "prediction markets"

https://arstechnica.com/tech-policy/2026/08/senators-demand-crackdown-on-wildfire-prediction-mark...
3•ndsipa_pomu•35m ago•1 comments

Show HN: GuidedReview, a Chrome extension that helps review AI generated PRs

https://guidedreview.dev
1•nshntarora•36m ago•0 comments

After $140M hack, Bitcoin users 'soul-searching' over self-custody

https://www.theglobeandmail.com/investing/article-after-140-million-hack-bitcoin-users-soul-searc...
2•petethomas•37m ago•0 comments

Binary Converter

https://binaryconverter.net/
1•chromabook•37m ago•0 comments

Offpunk Manifesto

https://blog.ayom.media/ideiasdechirico/offpunk-manifesto
1•prohobo•41m ago•0 comments

OK, Well, Rogue AI Agents Are Hacking Again

https://www.wired.com/story/ok-well-there-are-even-more-ai-agent-hacking-incidents/
2•joozio•44m ago•0 comments

Show HN: An AI office-work benchmark, and 4 bugs we found in our own judge

https://github.com/dongsheng123132/ai2work-bench
1•17vibe•44m ago•0 comments

Fed's Schmid calls for tighter monetary policy, inflation too high

https://www.reuters.com/world/feds-schmid-calls-tighter-monetary-policy-tamp-down-too-high-inflat...
2•mapping365•45m ago•0 comments

Show HN: You want filled-out tables on any topic without typing rows yourself

https://reloadium.com/reloadium-tables/
1•julienreszka•45m ago•0 comments

Why Can't You Pack a Bag?

https://www.newyorker.com/culture/open-questions/why-cant-you-pack-a-bag
1•prathamtharwani•52m ago•0 comments

Why Indie Developers Should Start Alone

https://defragzone.substack.com/p/why-indie-developers-should-start
1•frag•54m ago•0 comments

Appa: P2P Syncthing Using Iroh

https://tangled.org/aly.codes/appa
3•nerdypepper•54m ago•1 comments

I'm Begging You: Never Write with AI

https://www.nytimes.com/2026/08/04/opinion/artificial-intelligence-ai-writing.html
2•ekelsen•55m ago•1 comments

What's New in PHP 8.6

https://stitcher.io/blog/new-in-php-86
1•dmitrijbelikov•55m ago•0 comments

SpaceX's AI spending unnerves Wall Street despite promises of quick payoff

https://www.cnbc.com/2026/08/04/spacex-ai-spending-unnerves-wall-street-despite-promising-quick-p...
2•mapping365•56m ago•0 comments