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.

Systems of Agentic Leadership

https://agenticleadership.substack.com/p/systems-of-agentic-leadership
1•johnrauser•1m ago•0 comments

The adorable love story behind Wikipedia's 'high five' photos

https://www.inverse.com/input/culture/wikipedia-high-five-too-slow-photos-mystery-couple-solved
1•ceejayoz•3m ago•0 comments

Email client TUI with messenger-like layout UI

https://gitlab.com/Linkinverse/mailchat
2•malloc-0x90•4m ago•1 comments

Shitty Sleep

https://lemurintheattic.mataroa.blog/p/shitty-sleep/
1•xyztenet•5m ago•0 comments

Zellij: Support the Kitty Image Protocol

https://github.com/zellij-org/zellij/pull/5428
1•HellsMaddy•7m ago•0 comments

Google Just Ruined One of Its Most Important Tools

https://www.theatlantic.com/technology/2026/07/google-earth-ai-images/688145/
2•fortran77•7m ago•0 comments

Types with AI: Working with LLMs Through Types

https://www.alecvo.org/blog/types-with-ai/
1•Vgoose•9m ago•0 comments

OpenAI Lost Its AI Crown–and the Fight to Win It Back

https://www.wsj.com/tech/ai/how-openai-lost-its-ai-crownand-the-fight-to-win-it-back-7d069695
1•tosh•12m ago•0 comments

Ask HN: Is discovery channel using AI?

2•adamtaylor_13•14m ago•0 comments

Show HN: Crest, a MacBook notch control room that answers Claude Code prompts

https://crestnotch.app/
1•zack40x•14m ago•0 comments

FaceTime, Zoom, and Ring cameras are warping our sense of reality

https://www.nytimes.com/2026/07/31/opinion/face-self-reflection-technology-video.html
2•Gecko4072•15m ago•0 comments

LLVM for OpenBSD/SPARC64

https://undeadly.org/cgi?action=article;sid=20260730130302
1•sillywalk•20m ago•0 comments

How rogue officers turned a nationwide camera network into a tool for stalking

https://www.washingtonpost.com/technology/2026/08/02/how-police-officers-used-vast-network-camera...
2•jaredwiener•21m ago•0 comments

Show HN: Maverik – Benchmark, compare and cost-predict your MCP agents

https://github.com/langens-jonathan/maverik
2•flowofcontrol•25m ago•1 comments

From 2027, Every Gadget in Russia Will Have a Mandatory Set of Applications

https://www1.ru/en/news/2026/08/01/426001-marusiu-vygnali-alisu-zaselili-s-2027-goda-v-kazdom-gad...
2•Sibexico•29m ago•0 comments

US measles: Cases now surpass last year's total as vaccination rates decline

https://www.bmj.com/content/394/bmj-2026-100437
2•geox•33m ago•0 comments

SANA-Video 2.0

https://nvlabs.github.io/Sana/Video2/
1•gmays•34m ago•0 comments

Burstiness is all you need for LLM serving

https://systems.seas.harvard.edu/blog/burstiness-is-all-you-need/
1•1a1a11a•35m ago•0 comments

Tom's Hardware's 30th Anniversary

https://www.tomshardware.com/pc-components/toms-hardwares-30th-anniversary-from-dip-switches-and-...
2•cebert•41m ago•0 comments

Websites Were Built Before Flexbox and Grid

https://www.jstools.space/blog/css-before-flexbox/
1•javatuts•49m ago•1 comments

Show HN: Passepartout – Create beautiful photo collages

https://joexo.codeberg.page/passepartout/
2•joexo•53m ago•1 comments

A11y.md – A context system for building accessible software

https://github.com/fecarrico/A11Y.md
2•javatuts•56m ago•0 comments

Has the New Cocaine Arrived?

https://playboy.substack.com/p/has-the-new-cocaine-finally-arrived
42•bookofjoe•56m ago•31 comments

The Wikimedians of the Year 2026

https://diff.wikimedia.org/2026/07/22/meet-the-wikimedians-of-the-year-2026/
1•altilunium•58m ago•0 comments

It's no longer enough to just contribute to open source

https://write.as/6fkj8gxtfcw3d
2•garn810•58m ago•2 comments

Show HN: iOS Style Bottom Sheet in Vanilla JavaScript

https://www.cssscript.com/ios-bottom-sheet/
1•mushstory•59m ago•0 comments

The $5k tell: AI vendors are selling you human QA for their own AI

https://okaneland.com/study/the-5000-dollar-tell/
1•ermantrout•1h ago•0 comments

Ask HN: When will the AI version of 911 happen?

3•dfps•1h ago•3 comments

There Are Only Four Billion Floats–So Test Them All (2014)

https://randomascii.wordpress.com/2014/01/27/theres-only-four-billion-floatsso-test-them-all/
2•downbad_•1h ago•0 comments

Show HN: Cordial — Roblox on Linux, Fully Open source, Yours

https://github.com/luohoa97/cordial
2•neil_luo•1h ago•1 comments