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.

12 Sunsets: Exploring Ed Ruscha's Archive

https://12sunsets.getty.edu/
1•gregoire•3m ago•0 comments

Agent loops stop re-reading your codebase on every turn

https://runinfra.ai/inference-api
1•OsamaJaber•10m ago•0 comments

Agents' collaboration in the OpenAI / Hugging Face hacking incident

https://metr.org/blog/2026-08-26-openai-hugging-face-incident-investigation/#~1200-agents-sent-%3...
1•dmazin•14m ago•0 comments

Samsung updates Galaxy S24 FE with August 2026 security patch

https://www.sammobile.com/news/samsung-updates-galaxy-s24-fe-with-august-2026-security-patch/
1•ledoncool•17m ago•0 comments

I Cut 80%+ of Context Overhead in My Coding Agent

https://m-reschreiter.at/en/blog/how-i-cut-80-percent-context-overhead-dynamic-tools
2•asm3r96•18m ago•0 comments

IFA 2026 Preview: On-device AI PCs, DJI robotics, and Xiaomi's European debut

https://forgeeks.net/ifa-2026-local-ai-robots-devices/
2•kuuuzya•21m ago•0 comments

Show HN: Puppetflow a free browser automation platform

https://github.com/puppetflow/puppetflow
1•jierka•23m ago•0 comments

Unique Bronze Age "Treasures of Villena" Stolen in Spain

https://radar.am/en/news/science-2775622103/
1•Bluestein•23m ago•0 comments

'Mad honey' that can stop your heart is being sold online

https://phys.org/news/2026-08-mad-honey-heart-sold-online.html
1•samizdis•23m ago•0 comments

The Server Called Paranoia: Defend Autistici/Inventati

https://cavallette.noblogs.org/2026/08/10083/2
1•rapnie•31m ago•0 comments

A Perfect SimCity

https://www.jeffquast.com/post/a-perfect-simcity/
2•alexisread•31m ago•0 comments

Thunderquakes: A new way to image the Earth's subsurface

https://www.psu.edu/news/earth-and-mineral-sciences/story/thunderquakes-new-way-image-earths-subs...
2•geox•33m ago•0 comments

Hilariously Fast Volume Computation with the Divergence Theorem

https://alyssarosenzweig.ca/blog/hilariously-fast-volume-computation-with-the-divergence-theorem....
2•luu•40m ago•0 comments

Your AGENTS.md file doesn't do anything

https://pivot-to-ai.com/2026/08/27/your-agents-md-file-doesnt-actually-do-anything/
1•latexr•40m ago•0 comments

Review: A month with a Solargrow solar system

https://james.cridland.net/blog/2026/solargrow-isolarcloud-review/
2•DamonHD•43m ago•0 comments

Judge rules Trump administration illegally punished AI firm Anthropic

https://www.cbsnews.com/news/judge-rules-trump-administration-illegally-punished-ai-firm-anthropic/
3•mgh2•44m ago•2 comments

Show HN: AgentParty – cross-session chat for coding agents across machines

https://github.com/leeguooooo/AgentParty
2•leeguoo•46m ago•0 comments

The Wall Confronting Reliable Coding Agent Autonomy

https://codemanship.wordpress.com/2026/08/28/the-wall-confronting-reliable-coding-agent-autonomy/
2•flail•47m ago•0 comments

Show HN: Rosebed – A Minecraft beta 1.7.3 reimplementation in Zig

https://github.com/mdmrk/rosebed
1•talentedRed•47m ago•0 comments

Show HN: 18 Words, Zanagrams and Sunflowers Are Now PZL Games

6•pompomsheep•50m ago•1 comments

ClickHouse winning this soo called observability war?

https://clickhouse.com/blog/is-clickhouse-winning-the-observability-wars
1•gingenio•51m ago•0 comments

Show HN: Rafter – an MCP server that shares one team's memory, skills and agents

https://heyrafter.xyz/
2•kristohb•55m ago•0 comments

Summer's over: take out your notebooks (or Loreline)

https://loreline.app/en/journal/august-2026/
2•gr4vityWall•56m ago•0 comments

Another look at SQLite's WAL-Reset bug

https://theconsensus.dev/p/2026/08/23/another-look-at-sqlite-wal-reset.html
3•blueshoess•56m ago•0 comments

The Interactive Way to Go

https://web.archive.org/web/20210831172631/http://playgo.to/iwtg/en/
1•Bluestein•59m ago•0 comments

Symmetries in Boolean Scans with APL

https://ap29600.github.io/boolean_scans.html
1•fanf2•59m ago•0 comments

Show HN: Open-source agent harness with team collaboration

https://www.opensession.com/announcement
1•9ranty•1h ago•0 comments

Overcooked? Why robotic pizza makers are failing

https://www.bbc.com/news/articles/czxq0wgkkdjo
15•vinni2•1h ago•18 comments

Agnes AI Releases Agnes 2.5 Pro Beta

https://artificialanalysis.ai/articles/agnes-ai-releases-agnes-2-5-pro-beta
1•frozenseven•1h ago•0 comments

Interactive Warhammer 40k Galaxy Map – Cartographia Imperialis

https://cartographia40k.com/
2•gbxyz•1h ago•0 comments