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.

Turning Air into Alcohol [video]

https://www.youtube.com/watch?v=ID-K64Jk6JM
1•DiscourseFan•1m ago•0 comments

HCC – local-first, cross-agent memory layer (98% cache hit, $40/mo)

https://github.com/icemaple77/hanyan-cognitive-core
1•icemaple77•1m ago•0 comments

Products make going back unimaginable

https://datawarrior.medium.com/the-best-products-make-going-back-unimaginable-30049de81568
1•nikolamilosevic•4m ago•0 comments

Chrysalis (hypothetical moon) and Saturn's rings

https://en.wikipedia.org/wiki/Chrysalis_(hypothetical_moon)
1•simonebrunozzi•4m ago•0 comments

Show HN: My free web dev courses, no signup, with exercises

https://en.andros.dev/courses/
1•andros•7m ago•0 comments

The Aikido Machine: on-prem AI pentesting that never leaves your network

https://www.aikido.dev/blog/the-aikido-machine-on-prem-ai-pentesting-that-never-leaves-your-network
1•ultra2d•8m ago•0 comments

Show HN: Rask – The .NET One Person Framework

https://pal-tamas.github.io/rask/
1•pal-tamas•9m ago•0 comments

Using Git diffs to circumvent Fable's safeguards

https://blog.j11y.io/2026-07-18_Jailbreaking-Fable-disinformation/
2•padolsey•10m ago•0 comments

ESPBanking – Offline, local banking server running on a single ESP32

https://github.com/dumasha05/ESPBBanking1/blob/main/README.md
1•Dumasha05•10m ago•0 comments

Anthropic is hiring an AI chip design team

https://techcrunch.com/2026/08/05/anthropic-is-hiring-an-ai-chip-design-team/
1•mpfect•10m ago•0 comments

Claude Fable 5 finds a tiny formula that topples an 87-year-old math conjecture

https://www.sciencedaily.com/releases/2026/08/260804034634.htm
3•theanonymousone•14m ago•0 comments

1 RCE, 2 AI models, 0 ways to tell who was right

https://zhenyi.gibber.blog/1-rce-2-ai-models-0-ways-to-tell-who-was-right
1•zhenyi•14m ago•0 comments

We built a local SQL engine for DynamoDB

https://dynotable.com/blog/local-sql-engine-for-dynamodb
2•dynotable•15m ago•1 comments

Train the AI to Want to Die

https://slimemoldtimemold.com/2026/08/05/a-stupid-idea-for-ai-alignment-we-came-up-with-by-lookin...
1•mrcgnc•17m ago•0 comments

Fable 5 on ARC-AGI (Verified)

https://twitter.com/arcprize/status/2085115252035785168
2•tosh•21m ago•0 comments

Building Scalable Control Planes

https://www.allthingsdistributed.com/2026/08/on-building-scalable-control-planes.html
1•janvdberg•23m ago•0 comments

Google Search AI leaks ACTUAL name of a game's upcoming character

https://www.reddit.com/r/IndieDev/comments/1vfwuf5/a_player_found_out_the_actual_name_of_my_games/
3•erremerre•23m ago•0 comments

Privacy gadgets a Proton employee uses

https://proton.me/blog/privacy-gadgets
1•DavideNL•27m ago•0 comments

TUI for Tabaholics

https://github.com/doctorcolossus/tab_wrangler
2•ankitg12•28m ago•1 comments

Why magnets attract? – Richard Feynman [video]

https://www.youtube.com/watch?v=36GT2zI8lVA
1•iamanatom•29m ago•0 comments

The Complete Fun to Imagine with Richard Feynman (1983)[video]

https://www.youtube.com/watch?v=nYg6jzotiAc
1•iamanatom•32m ago•0 comments

Someone Is Mysteriously Snapping Up Used Books Around the World

https://www.theatlantic.com/technology/2026/08/ai-companies-buying-used-books-for-data/688167/
4•vcfgdev•35m ago•0 comments

How to Run a Read-Only CIS Security Check on macOS

https://stackandink.com/blog/run-read-only-cis-security-check-macos/
1•Igor_Wiwi•38m ago•0 comments

Ask HN: Desktop Pet

1•nunep•39m ago•0 comments

From AI Experiments to Production:Lessons from Insurance Systems

https://geekyants.com/en-us/blog/ai-in-insurance-building-production-ready-products-for-claims-un...
3•varda_62892•41m ago•0 comments

Agent-tools.net – pay-per-call APIs for AI agents, paid via x402/USDC on Base

https://agent-tools.net/
1•karucosu•41m ago•0 comments

I wonder if you could make a useful DOS executable with just emoji

https://oldbytes.space/@gloriouscow/117044736309312697
1•usdogu•42m ago•0 comments

I Caught Malware

https://alexbissessur.dev/i-caught-malware/
2•bo0tzz•42m ago•0 comments

Gödel, Escher, Elisp: The Beauty of Macros

https://www.chiply.dev/post-elisp-macros-are-beautiful
1•signa11•44m ago•0 comments

Show HN: I deleted DMs from our work chat

https://fosbury.ai/
2•YarivAshk•44m ago•0 comments