frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

Knowledge Graphs for AI Coding Assistants

https://graphify.net/
1•pmg101•6m ago•0 comments

Static websites had a good run

https://www.interactlabs.ai/blog-article/introducing-interact-ai
1•Suyash_karn•6m ago•0 comments

Situational Awareness LP Q1 13F Filings Are Public

https://kiankyars.github.io/investing/2026/05/18/situational-awareness-lp.html
1•kyars•10m ago•0 comments

Musk Warns of Killer AI, While He and Silicon Valley Cash in on AI That Kills

https://theintercept.com/2026/05/01/elon-musk-openai-lawsuit-trial/
2•cdrnsf•11m ago•0 comments

Pentagon walks away from Canada-U.S. defence board

https://www.cbc.ca/news/politics/trump-canada-us-joint-defence-board-9.7203211
2•Teever•12m ago•0 comments

There Is a Soul, but Not a Transcendent One

https://www.noemamag.com/there-is-a-soul-but-not-a-transcendent-one/
1•Gooblebrai•13m ago•0 comments

Moving my app subscriptions to Europe

https://rewiring.bearblog.dev/moving-my-subscriptions-to-europe/
1•Mossy9•13m ago•0 comments

Tour of Datacenters in the SLC Valley

https://discuss.systems/@ricci/116556373280824179
1•zdw•13m ago•0 comments

Why does Amazon have no Western rivals?

https://www.bbc.com/news/articles/cg7p5nr307mo
3•devonnull•14m ago•0 comments

Game Theory in the Age of AI

https://medium.com/@rakesh.sheshadri44/game-theory-when-everyone-uses-ai-b771f863051f
1•alexdesouza•14m ago•0 comments

Canvas hack: is it a good idea to pay a ransom, and what happens to the data?

https://www.theguardian.com/technology/2026/may/17/canvas-hack-cyber-criminals-data-ransom-paid
3•billybuckwheat•18m ago•0 comments

New Windows 'MiniPlasma' zero-day exploit gives SYSTEM access, PoC released

https://www.bleepingcomputer.com/news/microsoft/new-windows-miniplasma-zero-day-exploit-gives-sys...
2•akyuu•19m ago•0 comments

Admin of darknet market that shut down in 2019 arrested after buying gold bars

https://www.justice.gov/usao-ndga/pr/german-citizen-charged-laundering-funds-linked-prominent-dar...
1•rzk•23m ago•0 comments

Building audit logging in Postgres without triggers

https://runharbor.com/blog/2026-05-18-building-automatic-contextual-clinical-trial-audit-logging-...
2•18nleung•23m ago•0 comments

Why Distributed Training Is Hard: DTensor and the Costs of Abstraction

https://runwayml.com/news/dtensor-distributed-training
3•nielka•24m ago•0 comments

From Open Source Software to Open Source Strategy

https://p3institute.substack.com/p/from-open-source-software-to-open
4•AnhTho_FR•25m ago•0 comments

Displaying a crafted file in Tabby terminal can run shell commands

https://github.com/Eugeny/tabby/security/advisories/GHSA-qr3x-j8g9-xhf6
2•logickkk1•25m ago•0 comments

Your Most Improbable Life

https://kk.org/thetechnium/your-most-improbable-life/
3•zdw•29m ago•0 comments

Show HN: Beacon - The open-source layer for local AI agent visibility

https://github.com/Asymptote-Labs/agent-beacon
8•jqdsouza•29m ago•2 comments

New York to tax luxury second homes in NYC

https://apnews.com/article/mamdani-nyc-hochul-tax-rich-a30833850bfdbd638634def266ca76dd
4•geox•30m ago•0 comments

Pith

https://pith.science/
1•gone35•30m ago•0 comments

loopmaster – Livecoding Music IDE

https://loopmaster.xyz/
2•stagas•31m ago•0 comments

The cellphone that implicates Argentina's president in the $Libra case

https://english.elpais.com/international/2026-03-30/mauricio-novelli-the-owner-of-the-cellphone-t...
2•janandonly•32m ago•0 comments

All Polymarket temperature markets missing, along with money bet on them

https://www.autodidacts.io/polymarket-temperature-markets-dissappear/
4•Curiositry•32m ago•0 comments

Agora-1: The Multi-Agent World Model

https://odyssey.ml/introducing-agora-1
7•olivercameron•32m ago•1 comments

Migrating from Go to Rust

https://corrode.dev/learn/migration-guides/go-to-rust/
1•zdw•32m ago•0 comments

Grief in the AI Age

https://bradfrost.com/blog/post/grief-in-the-ai-age/
1•speckx•35m ago•0 comments

Musk Loses Case Against OpenAI

https://www.cnn.com/2026/05/18/tech/openai-musk-lawsuit-verdict
3•jamesgill•36m ago•0 comments

Elon Musk Loses Landmark Lawsuit Against OpenAI

https://www.wired.com/story/musk-v-altman-jury-verdict/
4•thunderbong•36m ago•0 comments

A Markdown-based test suite

https://blogsystem5.substack.com/p/markdown-based-test-suite
2•zdw•37m ago•0 comments