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.

Can we have the day off?

https://mlsu.io/posts/day-off/
1•mlsu•2m ago•0 comments

Xerolith

https://xerolith.com/
1•XerolithAI•6m ago•0 comments

The Pioneer Anomaly

https://en.wikipedia.org/wiki/Pioneer_anomaly
1•Jimmc414•8m ago•0 comments

Woman without right hand charged for holding phone in right hand while driving

https://cbs12.com/news/local/florida-news-viral-tiktok-charges-dismissed-for-woman-without-right-...
2•hn_acker•9m ago•2 comments

Show HN: An update to our long-turn FreeCiv experience

https://freeciv.andrewmcgrath.info/
2•verelo•18m ago•0 comments

StumbleTV: Chat Roulette but for Exposed Webcams

https://stumbletv.alectrocute.workers.dev/c/2e6ff336f1235cc1
2•arm32•20m ago•0 comments

The millionaires tax was pitched as a $2B revenue source. It's blown past that

https://www.bostonglobe.com/2026/05/25/metro/millionaires-tax-massachusetts/
2•ceejayoz•23m ago•0 comments

Delaware court upholds voting by companies in small town's election

https://www.reuters.com/legal/government/delaware-court-upholds-voting-by-companies-small-towns-e...
3•anigbrowl•24m ago•0 comments

Poll: Would you allow a first generation plumber robot in your home?

2•Bender•32m ago•1 comments

Amazon Strikes $6B Deal with Snowflake for Agentic Computing Chips

https://www.wsj.com/tech/amazon-strikes-6-billion-deal-with-snowflake-for-its-agentic-computing-c...
3•jpau•32m ago•0 comments

Breaking Rust

https://en.wikipedia.org/wiki/Breaking_Rust
2•petethomas•35m ago•0 comments

Agents can sign up for Composio

https://composio.dev/blog/your-agents-can-signup-for-composio
2•mooreds•36m ago•0 comments

Xania Monet

https://en.wikipedia.org/wiki/Xania_Monet
2•petethomas•37m ago•0 comments

Agent Security Is a Systems Problem

https://arxiv.org/abs/2605.18991
2•yakkomajuri•40m ago•0 comments

Attrition: The Chinese Family Collapse

https://www.strategypage.com/htmw/htatrit/articles/2026052754034.aspx
3•skmurphy•40m ago•1 comments

The Authorization Paradox: Who Has the Keys to Your AI? [video]

https://www.youtube.com/watch?v=5UUpxgcGKXk
2•mooreds•42m ago•0 comments

GitMo – Auto sync your local project files to GitHub while you work.

https://github.com/KyleBenzle/GitMo/tree/main
2•WWIII_Historian•45m ago•0 comments

Ansel: Complete Pipeline Overhaul

https://ansel.photos/en/news/complete-pipeline-overhaul/
2•neucoas•50m ago•0 comments

Dutch block US takeover of Solvinity as against public interest

https://www.reuters.com/technology/dutch-government-block-takeover-cloud-services-company-solvini...
4•rectang•56m ago•1 comments

Show HN: Liiists, a Markdown-first, iOS and CLI list app

https://github.com/djt53/liiists
2•dtingle•56m ago•0 comments

What Will Happen When the AI Barons Give Back?

https://www.nytimes.com/2026/05/27/opinion/ai-philanthropy-charity.html
2•berkeleyjunk•58m ago•0 comments

You Should Not Update Your Dependencies

https://www.mendral.com/blog/you-should-not-update
16•OlivierCG•1h ago•2 comments

Atom Exhaustion Is Not a Footgun. It's One Third of Our CVEs

https://www.erlef.org/blog/eef/atom-exhaustion
2•croottree•1h ago•0 comments

A non-coding coding agent

https://zserge.com/posts/socreates/
2•croottree•1h ago•0 comments

OpenDisplay – open standard for e-paper screens

https://opendisplay.org/
3•balloob•1h ago•0 comments

Building the Future of Accessible Tech: Inside Uvilox AI

https://uvilox-aiwebsite.pages.dev/
2•Pallav123•1h ago•0 comments

Monome at Twenty

https://monome.org/twenty
3•robenkleene•1h ago•0 comments

Monome at 20: memories of the grid, in pictures

https://cdm.link/monome-at-20-memories-of-the-grid-in-pictures/
2•robenkleene•1h ago•0 comments

Did Newton know that force is mass times acceleration?

https://hsm.stackexchange.com/questions/19441/did-newton-know-that-force-is-mass-times-acceleration
3•kristianp•1h ago•0 comments

Am I a Bad Friend?

https://drobinin.com/posts/am-i-a-bad-friend/
3•valzevul•1h ago•0 comments