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.

House passes bill to make daylight saving time permanent

https://apnews.com/article/daylight-saving-time-house-passes-bill-53e7ffd1c3e9beddb9ab1601a8482ad5
1•speckx•1m ago•0 comments

Airport Food

https://pablostanley.substack.com/p/airport-food
1•pablostanley•3m ago•0 comments

3D interactive map of the local universe

https://knowtheuniverse.com/
1•wanda•3m ago•0 comments

The Scariest Chart in Electrical Engineering [video]

https://www.youtube.com/watch?v=GK2pZ_oVU1o
2•jonbaer•3m ago•0 comments

Trump officials seek public input to overhaul Medicare payment system

https://www.washingtonpost.com/politics/2026/07/14/trump-officials-seek-public-input-overhaul-med...
1•brandonb•4m ago•0 comments

Pete Hegseth, DoD announce mandatory annual testosterone testing for members 30

https://www.instagram.com/reel/Da0eEi9OZvL/
4•randycupertino•5m ago•0 comments

Harness session capture/rehydration/feedback

https://github.com/nvk/llm-wiki
1•nvk•5m ago•0 comments

Lionel Messi Bathing a Baby Lamine Yamal

https://kottke.org/26/07/lionel-messi-bathing-a-baby-lamine-yamal
1•Tomte•6m ago•0 comments

Don't rewrite your CLI for agents

https://developer.microsoft.com/blog/dont-rewrite-your-cli-for-agents
2•gmays•7m ago•0 comments

IBM Power S1112 Brings Local AI Inference to the Edge as Power Goes Autonomous

https://www.storagereview.com/news/ibm-power-s1112-brings-local-ai-inference-to-the-edge-as-power...
1•rbanffy•7m ago•0 comments

Reverse Engineering the iPod Classic's Undocumented Mikey Chip

https://terminalbytes.com/reverse-engineering-ipod-classic-mikey-chip/
3•hemant6488•10m ago•0 comments

The Internet Is Training Us to Stop Being Human

https://mattruby.substack.com/p/we-are-all-emperors-now
2•rubymatt•10m ago•0 comments

Tiny Hidden Movie Theater in San Francisco [video]

https://www.tiktok.com/@humminglion/video/7662540717725732126
1•simonpure•11m ago•0 comments

In Defense of Polyfills

https://lea.verou.me/blog/2026/polyfills/
1•speckx•12m ago•0 comments

Codex Micro – a compact hardware controller for AI agents

https://worklouder.cc/codex-micro
2•tortilla•13m ago•1 comments

Kalshi creates prediction markets on airport flight cancellations

https://www.cftc.gov/IndustryOversight/IndustryFilings/TradingOrganizationProducts/61631
2•brett-jackson•13m ago•1 comments

Neko Health Raises $700M

https://www.nytimes.com/2026/07/15/business/dealbook/neko-health-ek-funding.html
2•mchusma•14m ago•1 comments

The OpenAI Bubble

https://www.wheresyoured.at/the-openai-bubble/
4•elorant•14m ago•0 comments

I mapped the biggest US patent cliffs using Medicare spending and FDA data

https://www.caelrith.com/blog/patent-cliff-watchlist
2•Caelrith•14m ago•0 comments

GPT‑Red: Unlocking Self-Improvement for Robustness

https://openai.com/index/unlocking-self-improvement-gpt-red/
3•alvis•15m ago•0 comments

Killing Coding Agent Slop with Adversarial Self-Play

https://usetelos.ai/blog/killing-coding-agent-slop
1•grohan•15m ago•0 comments

When your coding agent doesn't listen: evaluating a 241-turn Claude session

https://www.kurrent.io/blog/when-your-coding-agent-doesnt-listen/
1•RealTonyYoung•15m ago•0 comments

Show HN: Stemning AI

https://stemning.ai/packs/historical-portraits
1•theill•16m ago•0 comments

Starlink from 1984 – By Nemanja Trifunovic

https://nemanjatrifunovic.substack.com/p/starlink-from-1984
1•rbanffy•20m ago•0 comments

Building secure AI agents at scale: Introducing Loom for AWS

https://aws.amazon.com/blogs/opensource/building-secure-ai-agents-at-scale-introducing-loom-for-aws/
1•tcp_handshaker•21m ago•0 comments

The Vacation That Reshaped Pop Culture

https://standardebooks.org/blog/the-vacation-that-reshaped-pop-culture
1•sammynewton•21m ago•0 comments

Strongs Dictionary Open Scriptures

https://github.com/openscriptures/strongs
2•marysminefnuf•22m ago•0 comments

What makes life worth living?

1•koobear•22m ago•3 comments

Bothread – a local room where AI coding agents collaborate and communicate.

https://github.com/AdamACE9/bothread
1•AdamACE9•22m ago•1 comments

IBM Vice Chairman: Our software is not being disrupted by AI

https://www.youtube.com/watch?v=GnAoKk0i4R8
1•tcp_handshaker•24m ago•1 comments