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.

Hollywood's Video Game Era Is Here. Will It Be Any Good?

https://www.statsignificant.com/p/hollywoods-video-game-era-is-here
1•NomNew•40s ago•0 comments

How the Heck Do Record Players Work? (An Interactive Exploration)

https://perthirtysix.com/how-the-heck-do-record-players-work
1•embedding-shape•52s ago•0 comments

Filtering silent audio chunks broke transcript finalization

https://geekbye.com/blog/the-silence-was-load-bearing
1•Sebi_Mos•1m ago•0 comments

Reverse recruiting and the HR shift: what changes when talent also chooses

https://www.foxapply.com/blog/en/reverse-recruiting-hr-talent-also-chooses
1•josanjohnata•1m ago•0 comments

Fixing Rust's supply chain security: The good, the bad and the ugly

https://kerkour.com/fixing-rust-supply-chain-security
2•zishha1b0njq•2m ago•0 comments

The model picker is a dead end

https://lovable.dev/blog/the-model-picker-is-a-dead-end
1•gmays•3m ago•0 comments

Ask HN: Why is AI civil tech and not military first?

2•esher•3m ago•0 comments

Launching Route 53 Files

https://www.daemonology.net/blog/2026-08-27-Launching-Route-53-Files.html
3•louis-paul•4m ago•0 comments

How the Heat Is Messing with Your Sleep

https://nautil.us/how-the-heat-is-messing-with-your-sleep-1284501
3•Brajeshwar•4m ago•0 comments

Show HN: Baiseball.org – Google for historical baseball stats

https://baiseball.org/
3•jaypinho•4m ago•0 comments

Salesforce and Anthropic Announce Claudeforce

https://www.salesforce.com/news/press-releases/2026/08/26/salesforce-and-anthropic-announce-claud...
4•wslh•7m ago•0 comments

Navigation App for People with Blindness and Low Vision

https://seas.harvard.edu/news/smartphone-navigation-app-people-blindness-and-low-vision
3•geox•8m ago•0 comments

Stdio MCP Tunnels: Connecting Mobile/Cloud Agents to iMsg/WhatsApp/Linkedin

https://twitter.com/Eito_Miyamura/status/2092636887378964502
4•Miyamura80•8m ago•2 comments

Bug in LINQPad causes it to crash on startup

https://forum.linqpad.net/discussion/3641/ezirizs-net-reactor-expired
2•gwbas1c•9m ago•0 comments

Agent Observability Standard

https://aos.owasp.org/
2•mooreds•10m ago•0 comments

Ask HN: Hugging Face is out. Who is hosting open models?

3•FireUpTheTorren•10m ago•0 comments

AWS Acquires DuckLabs

https://aws.amazon.com/blogs/big-data/aws-and-ducklabs-building-the-future-of-analytics-together/
3•ruckfool•10m ago•0 comments

Tell HN: Gmail can mark legit mail from google.com as spam

4•salviati•11m ago•1 comments

The Rising Compass

https://risingcompass.net/
2•chadworksweb•12m ago•0 comments

Faulty reward functions in the wild (2016)

https://openai.com/index/faulty-reward-functions/
2•tosh•12m ago•0 comments

Encrypted Client Hello – the last puzzle piece to privacy – Cloudflare Blog

https://blog.cloudflare.com/announcing-encrypted-client-hello/
2•xnx•13m ago•0 comments

The asteroid currently hitting front end web development

https://nolanlawson.com/2026/08/23/the-asteroid-currently-hitting-frontend-web-development/
3•codechicago277•14m ago•0 comments

How to make a live video call at less than 150Kbps: use TCP

https://fawcettinnovations.com/index.html
2•jfawcett•16m ago•0 comments

Classical chess ranks 562nd of 960 starting positions after 460,800 games

https://chess960v2.com/en/news/2026-08-14-halfway
3•lavren1974•17m ago•1 comments

Reducing Grok Bot consumption with durable state

https://github.com/professorpalmer/automaton-durable-state
3•carypalmer•17m ago•0 comments

Agentic Horizons – When the Wheels Start to Wobble

https://codemanship.wordpress.com/2026/08/27/agentic-horizons-when-the-wheels-start-to-wobble/
2•flail•17m ago•0 comments

Scientists unleashed 130k baby octopuses to fight off a blue crab invasion

https://www.scientificamerican.com/article/scientists-just-unleashed-an-army-of-130-000-baby-octo...
2•noleary•18m ago•0 comments

Pagerduty Layoffs Today

https://www.teamblind.com/post/pagerduty-layoffs-today-jsci6r8a
3•garbawarb•19m ago•0 comments

Aburi C/C++ compiler 0.2: Derleyici, now compiling Linux Kernel

https://serjective.org/blog/aburi-0.2-derleyici/
2•motownphilly•19m ago•0 comments

Gptel Emacs AI Client : Beyond Just a Chat Interface (YT) [video]

https://www.youtube.com/watch?v=xHEnWvKmSKM
2•signa11•20m ago•0 comments