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.

How to Make xt850 Match xt 850

https://medium.com/@s_nikolaev/how-to-make-xt850-match-xt-850-2175e701fbfe
1•snikolaev•7m ago•0 comments

Self Hosted Jukebox with NFC Cards

https://www.pedaldrivenprogramming.com/2026/05/self-hosted-jukebox-with-nfc-cards/
1•Fudgel•10m ago•0 comments

Annotate PDF: A zero-server, privacy-first PDF annatator

https://annotatepdf.io/
1•prius-lab•15m ago•0 comments

Hows the weather? A theoretically self improving weather app

https://plc.vc/42z
1•pclark•17m ago•1 comments

Nine Crypto Whales Dominate Polymarket Disputes Worth Billions

https://www.bloomberg.com/news/videos/2026-05-26/nine-crypto-whales-dominate-polymarket-disputes-...
1•igortru•18m ago•0 comments

Show HN: Programming language demand index ranked by real job listings

https://www.datamatastudios.com/languages
1•datamatastudios•21m ago•0 comments

The AI Agent Harness: The Glue That Turns LLMs into Digital Workers

https://thingswithai.org/posts/ai-agent-harness
1•UtkarshPatel13•23m ago•0 comments

Ask HN: Is magnifica humanitas a big deal?

2•alonsovm44•23m ago•2 comments

•24m ago

Show HN: Tasmap – Canva for Maps

https://tasmap.app/
1•apolkingg8•27m ago•0 comments

Show HN: Stumbleback – StumbleUpon for the bookmarks you've been hoarding

https://chromewebstore.google.com/detail/stumbleback/fkmbjmmdkpfpcnmbgnpmnkhnhecieigk
1•jimsojim•29m ago•0 comments

Tell HN: Android Chrome deletes your browsing history silently

1•grehbies•31m ago•0 comments

The Other Side of On-Call

https://i0exception.substack.com/p/the-other-side-of-on-call
1•wapasta•33m ago•0 comments

Did the Pope use AI to write about the dangers of AI?

https://www.theverge.com/ai-artificial-intelligence/937801/pope-leo-xiv-magnifica-humanitas-ai-pa...
4•droidjj•33m ago•1 comments

An invisible problem in California housing

https://jonharris665470.substack.com/p/what-the-hell-are-we-building-here
1•Inspector_guy•34m ago•0 comments

Advancing Mathematics Research with AI-Driven Formal Proof Search

https://arxiv.org/abs/2605.22763
1•mrkn1•36m ago•0 comments

Shareholder groups push companies for stricter AI oversight

https://www.theglobeandmail.com/business/article-ai-oversight-artificial-intelligence-shareholder...
2•1vuio0pswjnm7•36m ago•1 comments

Show HN: Posthorn, self-hosted mail without the mail server

https://github.com/craigmccaskill/posthorn
2•craigmccaskill•37m ago•0 comments

Ho-scale slot car racing in the Santa Cruz Mountains

https://stewartraceway.org/
1•HoldOnAMinute•39m ago•0 comments

Microsoft Edge Multiple Vulnerabilities

https://www.hkcert.org/security-bulletin/microsoft-edge-multiple-vulnerabilities_20260527
1•GeorgeWoff25•40m ago•0 comments

Tintello: A color quiz where cobalt is named after a goblin

https://medium.com/@paul.gedeon/tintello-judgment-is-harder-to-delegate-than-code-54fa16d09508
1•airpaulg•41m ago•0 comments

IBM Confidential System/360 File Organization [video]

https://www.youtube.com/watch?v=zokKqP0plrM
1•1970-01-01•41m ago•0 comments

The Pope Should Be Going to War Against A.I. Why Isn't He?

https://www.nytimes.com/2026/05/26/opinion/pope-leo-encyclical-ai.html
1•1vuio0pswjnm7•43m ago•2 comments

Free Co-working at nonprofit art space in SOMA

https://decentered.org/studio
2•Liz_Cahill•43m ago•2 comments

Hyperscaler Debt Flood Brings Derivatives Bonanza

https://www.bloomberg.com/news/articles/2026-05-23/hyperscaler-debt-flood-brings-derivatives-bona...
1•1vuio0pswjnm7•44m ago•0 comments

I built a free stock research tool for beginners using SEC data and AI

https://www.mrguyinvests.com
1•infeez•48m ago•0 comments

California's Anti-Density Consensus Isolated the Homeowners Who Built It

https://maxmautner.com/2026/05/25/speed-surveying-neighbor.html
4•mslate•49m ago•0 comments

Extending Ruby LSP with Prism

https://janko.io/extending-ruby-lsp-with-prism/
1•thunderbong•49m ago•0 comments

Barycentric Simplicial Hashing: ANN Search at 38 bytes/vector (90% Recall)

https://zenodo.org/records/20389817
1•andrespi•51m ago•0 comments

FlashLib: Bringing Flash Magic to Classical Machine Learning Operators

https://flashml-org.github.io/
1•matt_d•51m ago•0 comments