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.

New Araghchi Interview Reveals Iranian Delusions and Vulnerabilities

https://www.meforum.org/mef-observer/new-araghchi-interview-reveals-iranian-delusions-and-vulnera...
1•YeGoblynQueenne•1m ago•0 comments

Friluftsliv

https://en.wikipedia.org/wiki/Outdoor_recreation
1•simonebrunozzi•1m ago•0 comments

Donating another $20M to Public First Action

https://www.anthropic.com/news/donation-public-first-action
1•surprisetalk•2m ago•0 comments

Pegasus: The evolution of the most notorious spyware system

https://securitylab.amnesty.org/latest/2026/07/inside-pegasus-the-evolution-of-the-worlds-most-no...
1•cyb0rg0•4m ago•0 comments

Microsoft strikes 'multibillion-dollar' deal with French AI firm Mistral

https://www.france24.com/en/france/20260721-microsoft-strikes-multi-billion-dollar-deal-to-expand...
1•taubek•5m ago•0 comments

Old Tapes

https://newsletter.doomberg.com/p/old-tapes
1•simonebrunozzi•7m ago•0 comments

Show HN: Ckg-agentforce – Salesforce AgentForce as a traversable MCP graph

https://github.com/Yarmoluk/ckg-agentforce
1•Yarmoluk72•7m ago•0 comments

dravidhiman

https://news.ycombinator.com/submit
1•dravidhiman•11m ago•1 comments

Low-Background Steel

https://en.wikipedia.org/wiki/Low-background_steel
1•tosh•13m ago•0 comments

Show HN: Our data canvas where everything runs directly in the browser

https://tailrmade.app/
1•el_magnificus•16m ago•0 comments

Airbus is moving its most critical apps off AWS to a French cloud

https://thenextweb.com/news/airbus-scaleway-aws-sovereign-cloud
1•vrganj•16m ago•0 comments

AI model release forecasts from prediction markets

https://matthewlloyd.github.io/ai-model-release-timeline/
1•mil22•21m ago•0 comments

Garage S3: LMDB Corruption Post-Mortem

https://me.bertof.net/post/garage-s3-lmdb-corruption-postmortem/
2•bertof•26m ago•0 comments

Florentina Holzinger's Naked Ambition

https://www.newyorker.com/magazine/2026/07/27/florentina-holzingers-naked-ambition
1•petethomas•28m ago•0 comments

Time, angle and depth: dimensions in software design

https://talesfrom.dev/blog/time-angle-and-depth-dimensions-in-software-design
1•alexzeitler•30m ago•0 comments

Claude Code on desktop now works with the iOS simulator

https://code.claude.com/docs/en/desktop-ios-simulator
1•jimborobin•31m ago•1 comments

White House used keywords to kill billions worth of California research grants

https://apnews.com/article/california-research-grants-terminated-keywords-lawsuit-a0ddb01413ecb68...
3•petethomas•32m ago•0 comments

Switching from Arch to NixOS: Why I Almost Quit and Why I Stayed

https://nezutero.dev/my-linux-odyssey-how-i-ended-up-on-nixos/
1•nezutero•32m ago•0 comments

Regression: An essay on statistics, eugenics, and my news pipeline

https://jakubdudek.com/writing/regression
1•jakubdudek•34m ago•0 comments

Pax Historia on WorldOS

https://worldos.cc/pax-historia
1•DomaLamma•35m ago•0 comments

The EnshAIttification of Day One

https://schwarztech.net/snippets/the-enshaittification-of-day-one
1•latexr•37m ago•0 comments

2025: The Year I Didn't Write Any Code

https://redfloatplane.lol/blog/11-2025-the-year-i-didnt-write-any-code/
1•chistev•41m ago•0 comments

Spotify Labs Launches Studio

https://labs.spotify.com/studio
1•chaidhat•43m ago•0 comments

Reflections on Do Things, Tell People (2012) (2025)

https://redfloatplane.lol/blog/10-thoughts-on-do-things-tell-people/#original
1•chistev•44m ago•0 comments

How could Britain look under proportional representation?

https://www.theguardian.com/politics/ng-interactive/2026/jul/22/how-britain-would-look-proportion...
2•ravenical•45m ago•0 comments

Samsung in talks to invest in Mistral at 20B euro valuation

https://www.reuters.com/business/finance/samsung-talks-invest-mistral-20-billion-euro-valuation-f...
2•iamflimflam1•46m ago•0 comments

Intelligence is not the main bottleneck

https://www.writingruxandrabio.com/p/intelligence-is-not-the-main-bottleneck
1•Luc•48m ago•0 comments

Codeberg: ToU extension to prohibit LLM-extrusions

https://codeberg.org/Codeberg/org/pulls/1253
2•robin_reala•51m ago•1 comments

OpenAI says AI models went rogue during testing

https://www.reuters.com/technology/openai-says-ai-models-went-rogue-during-testing-triggering-unp...
2•LordDefender•52m ago•0 comments

--end-of-options (git flag)

https://nesbitt.io/2026/07/21/end-of-options.html
3•latexr•53m ago•0 comments