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.

The Last Surviving Japanese Porsche 912 Police Car

https://kottke.org/26/06/the-last-surviving-japanese-porsche-912-police-car
1•zdw•44s ago•0 comments

Reddit RSS feeds recent rate limiting and solution

https://lapcatsoftware.com/articles/2026/6/3.html
3•zdw•7m ago•0 comments

Meta's months-old AI unit is a soul-crushing gulag

https://techcrunch.com/2026/06/12/metas-months-old-ai-unit-is-a-soul-crushing-gulag-say-the-engin...
3•0xedb•7m ago•0 comments

SentinelMCP – An open-source firewall for AI agents that use MCP

https://github.com/technosiveuk-ui/SentinelMCP
1•technsoive•7m ago•0 comments

Self-Improving Harness Is an Experiment Design Problem

https://www.henrypan.com/blog/2026-05-25-self-improvement-harness/
1•megadragon9•8m ago•0 comments

Shoeshine Boy Buys the Index

https://www.marginpoints.com/essays/shoeshine-boy-buys-the-index
1•historian1066•10m ago•0 comments

Elon Musk laid out 602 goals. We counted how many he hit

https://www.nytimes.com/live/2026/06/12/business/spacex-ipo-elon-musk/elon-musk-laid-out-602-goal...
1•Timofeibu•14m ago•0 comments

Every Frame Perfect

https://tonsky.me/blog/every-frame-perfect/
1•soheilpro•23m ago•0 comments

Preliminary analysis of AUR malware (400 packages compromised)

https://ioctl.fail/preliminary-analysis-of-aur-malware/
1•apublicfrog•25m ago•0 comments

Show HN: AccInt – a Work Model for AI coding agents

https://accint.xyz/
2•maxbaluev•33m ago•0 comments

Raspberry Pi projects I'm self-hosting this year

https://www.xda-developers.com/raspberry-pi-projects-self-hosting-this-year-instead-of-paying-mon...
2•y1n0•34m ago•0 comments

Catjam 2026

https://itch.io/jam/catjam-2026
2•y1n0•36m ago•0 comments

Local-first open-source vibe-coded feelings wheel app

https://feel-forward.web.app
1•no_creativity_•36m ago•1 comments

Saasm (Software as a Slot Machine)

https://sammacginty.substack.com/p/saasm-software-as-a-slot-machine
3•sammacg•37m ago•0 comments

Anthropic disables access to Fable 5 and Mythos 5 to comply with government

https://www.cnbc.com/2026/06/12/anthropic-disables-access-to-fable-5-and-mythos-5-to-comply-with-...
2•y1n0•38m ago•1 comments

Has AI Killed How-To Nonfiction?

https://tim.blog/2026/06/12/has-ai-already-killed-nonfiction/
1•igonvalue•44m ago•0 comments

As a result of a US Government directive, we are suspending access to Fable 5

https://twitter.com/ClaudeDevs/status/2065597942602531163
31•plonkus•56m ago•1 comments

A Diary from the Psychic Capital of the World

https://www.theparisreview.org/blog/2026/06/12/diaries-from-the-psychic-capital-of-the-world/
1•zeech•58m ago•0 comments

Show HN: Open-source Git-like Markdown docs for humans and agents

https://www.datacompany.dev
1•jbuchananr•1h ago•0 comments

We've suspended access to Claude Mythos 5 and Claude Fable 5

https://status.claude.com/incidents/s9w82lp9dcn9
3•jesse_dot_id•1h ago•0 comments

White House discussions are weighing giving CISA Mythos access

https://www.nextgov.com/artificial-intelligence/2026/06/white-house-discussions-are-weighing-givi...
2•WaitWaitWha•1h ago•0 comments

Learn and validate historical data modeling patterns

https://bitemporal-debugger.vercel.app
1•temp_debugger•1h ago•0 comments

GM's New Battery Storage System Could Threaten Tesla's Power Empire

https://www.msn.com/en-us/autos/news/gm-s-new-battery-storage-system-could-threaten-tesla-s-power...
1•MilnerRoute•1h ago•0 comments

Language Transfer

https://www.languagetransfer.org
1•jbm•1h ago•0 comments

US Government directive to suspend access to Fable 5 and Mythos 5

https://www.anthropic.com/news/fable-mythos-access
597•Dylan1312•1h ago•352 comments

Nix Koans

https://rgbcu.be/blog/nix-koans/
1•RGBCube•1h ago•0 comments

Kryptos: Paradigm Puzzles

https://paradigm.xyz/kryptos-ctf/pk1
1•nycdatasci•1h ago•0 comments

Four Programming Languages You've Probably Never Heard of [video]

https://www.youtube.com/watch?v=_rHoHLanuQg
2•marvinborner•1h ago•0 comments

Sodium Bicarbonate for In-Hospital Cardiac Arrest – A Randomized Clinical Trial

https://jamanetwork.com/journals/jama/fullarticle/2850405
1•bookofjoe•1h ago•0 comments

Solid-state batteries are now powering EVs in the real world

https://electrek.co/2026/06/11/solid-state-batteries-now-powering-evs-in-real-world/
5•breve•1h ago•0 comments