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.

When Impressive Performance Gains Do Not Matter

https://blog.colinbreck.com/when-impressive-performance-gains-do-not-matter/
1•birdculture•1m ago•0 comments

1975 GE Fake LED Clock [video]

https://www.youtube.com/shorts/ylfVSMsTUqY
1•thunderbong•2m ago•0 comments

Show HN: Coding agent that compiles intent into deterministic DAG before running

https://github.com/arman-jalili/rigorix-oss
1•arman-w-jalili•3m ago•0 comments

Would you use Fable 5 by Anthropic or Replit

1•NishanStepak•3m ago•0 comments

San Francisco supervisors balk at 362-page, AI-assisted city code rewrite

https://missionlocal.org/2026/06/s-f-supervisors-balk-at-362-page-city-code-rewrite/
1•tastyface•6m ago•0 comments

Show HN: Agentic OS – the operating system for AI agents

https://aos.injecting.ai/
1•nickpismenkov•12m ago•0 comments

My Mac's Wi-Fi Was Crawling at 50 Mbps with a Perfect Signal

https://bugmedaily.substack.com/p/my-macs-wi-fi-was-crawling-at-50
1•enesunal•16m ago•0 comments

An opinionated (and mainly correct) guide to naming

https://adamtornhill.substack.com/p/an-opinionated-and-mainly-correct
2•gmays•19m ago•0 comments

Serving Local AI on My Jetson Through Durable Streams

https://s2.dev/blog/local-ai
1•shikhar•21m ago•0 comments

US lifts curbs on Anthropic's Fable, Mythos AI models

https://www.reuters.com/business/us-lift-export-controls-anthropics-fable-ai-model-tuesday-source...
2•lossolo•22m ago•1 comments

Anthropic launches Claude Science: an AI workbench for scientists (2026)

https://lucasaguiar.xyz/pt/posts/claude-science-ai-workbench-cientistas-2026/
2•isfttr•22m ago•0 comments

Discretizing Reward Models

https://arxiv.org/abs/2606.21795
1•gmays•27m ago•0 comments

Exploring The Spectrum -Dr. John Ott documentary on the health effects of light [video]

https://www.youtube.com/watch?v=BOUA8UAEAdY
1•Eaglo•30m ago•0 comments

Guardians of the Agents Formal verification of AI workflows. (Dec 2025)

https://cacm.acm.org/practice/guardians-of-the-agents/
1•steilpass•32m ago•0 comments

Oʻahu Needs More Solar, Not New Power Plants

https://civilbeat.org/2026/06/oahu-needs-more-solar-not-new-power-plants/
1•toomuchtodo•33m ago•1 comments

WhiteHouse lifts export control on Anthropic that froze its most advanced models

https://www.cnn.com/2026/06/30/tech/anthropic-export-control-ban-lifted-white-house
3•dstala•35m ago•2 comments

The Future of Software Engineering Is Here but Not Evenly Distributed (Updated)

https://twitter.com/jmugan/status/2065962078322438524
1•jmugan•40m ago•0 comments

Taiwan raids Super Micro in widening China chip smuggling probe

https://www.japantimes.co.jp/business/2026/06/30/taiwan-super-micro-china-chip-smuggling/
5•billybuckwheat•47m ago•0 comments

White House picks Avi Loeb with polarizing alien theories to lead UFO council

https://www.pbs.org/newshour/politics/white-house-picks-harvard-professor-with-polarizing-alien-t...
6•ceejayoz•51m ago•1 comments

The President Made More Than $1Billon in Crypto Deals

https://www.wsj.com/politics/policy/trump-made-more-than-1-billion-on-crypto-deals-part-of-2025-w...
3•fortran77•53m ago•1 comments

A Fusion First: Realta Demos Direct Energy Conversion

https://realtafusion.com/fusion-first-realta-demos-direct-energy-conversion/
1•sien•54m ago•0 comments

Show HN: Explore Ethereum by the Shape of a Transaction

https://www.chaingenius.ai
2•spennant•56m ago•0 comments

Faster Gemma 4 on MLX with multi-token prediction

https://ollama.com/blog/faster-gemma-4-mlx-mtp
2•ilreb•58m ago•0 comments

Why Jet Engines Aren't "Made in China"

https://aakash.substack.com/p/why-jet-engines-arent-made-in-china
5•paulpauper•58m ago•0 comments

Scott Alexander as a modern-day Edmund Wilson

https://statmodeling.stat.columbia.edu/2026/06/07/scott-alexander-as-a-modern-day-edmund-wilson/
3•paulpauper•58m ago•0 comments

Frame Error

https://linch.substack.com/p/frame-error
2•paulpauper•59m ago•0 comments

Wikipedia: Deleted Articles with Freaky Titles

https://en.wikipedia.org/wiki/Wikipedia:Deleted_articles_with_freaky_titles
3•surprisetalk•59m ago•1 comments

Tor’s Arti 2.5.0 Released: Stable Counter Galois Onion

https://blog.torproject.org/arti_2_5_0_released/
3•iamnothere•59m ago•3 comments

Llmaker – spin up a working LLM app from a single prompt, right in your terminal

https://github.com/raiyanyahya/llmaker
3•sleepynoodle•1h ago•0 comments

The Threat of Residential Proxies

https://www.feistyduck.com/newsletter/issue_138_the_threat_of_residential_proxies
2•matheusmoreira•1h ago•0 comments