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.

Why Don't Computers Just Use One Type of Memory?

https://www.youtube.com/watch?v=TfhL5kBiQVI
1•randfur•29s ago•0 comments

Show HN: News about positive advances in medicine, climate tech, research

https://thegoodreport.co/
1•dreadsword•4m ago•0 comments

The SpaceX IPO is great for Elon Musk and terrible for you

https://www.theverge.com/ai-artificial-intelligence/940001/elon-musk-spacex-ipo-ai
2•1vuio0pswjnm7•7m ago•0 comments

A pictorial introduction to differential geometry (2017)

https://arxiv.org/abs/1709.08492
2•ricudis•12m ago•0 comments

How LLMs Work

https://arpitbhayani.me/blogs/how-llms-work/
2•dharaniES•24m ago•0 comments

We contain Claude across products

https://www.anthropic.com/engineering/how-we-contain-claude
2•Tomte•25m ago•0 comments

Show HN: V0.6.0-pre.14 hopefully the last release before v0.6.0

https://codeberg.org/ordinarylabs/Ordinary/releases/tag/v0.6.0-pre.14
2•seanwatters•30m ago•0 comments

Show HN: Komi-learn – continuous memory and self-improvement for coding agents

https://github.com/kurikomi-labs/komi-learn
2•rainxchzed•31m ago•0 comments

Blackwall – OSINT exposure scanner that pulls from real sources

https://theblackwall.vercel.app/
2•jwallace•38m ago•0 comments

Gradient animation using a WebGL shader

https://garden.bradwoods.io/notes/shaders/gradient
2•bradwoodsio•40m ago•0 comments

A standard for building production AI agents (+ installable Claude Code skills)

https://github.com/AlexDuchDev/agentic-product-standard
2•AlexDuch•42m ago•0 comments

OMP – pi agent with batteries included and a coding agent with the IDE wired in

https://omp.sh/
3•himata4113•44m ago•0 comments

The Last Coder: A Mockumentary

https://twitter.com/deepwhitman/status/2060938449541345294
3•bilater•48m ago•0 comments

The Two Doors

https://pilgrima.ge/p/the-two-doors
3•xenophonf•48m ago•0 comments

Update notifications for your CLI app

https://github.com/sindresorhus/update-notifier
2•ankitg12•49m ago•0 comments

The Record

https://soundbarrier.io/posts/the_record/
2•oneofthose•51m ago•0 comments

Ask HN: How you pass legacy to others?

2•jojwong•52m ago•0 comments

Ferrari Built the Luce for Outsiders. Its Own Fans Are the Only Ones Talking

https://getcarcurious.com/stories/ferrari-luce-podcast-reaction
2•mountaineer•53m ago•0 comments

Aliens.gov

https://www.whitehouse.gov/aliens/
2•sarkarghya•53m ago•4 comments

I made an free unlimited captcha alternative

2•david3289•54m ago•1 comments

Travel back to 1998 and use Lovable on Windows 98

https://www.sinalytica.com/
2•teddyX•58m ago•0 comments

Ahoy, DECmate II the little PDP-8 that could

http://oldvcr.blogspot.com/2026/05/ahoy-decmate-ii-little-pdp-8-that-could.html
10•TMWNN•1h ago•0 comments

Building a LangGraph pipeline for production data engineering

https://labyrinthanalyticsconsulting.com/blog/building-first-langgraph-pipeline
6•labyrinthAC•1h ago•0 comments

Peter Thiel's Move to Argentina Reflects Billionaire Trend

https://www.businessinsider.com/peter-thiel-argentina-billionaire-moving-abroad-2026-5
5•nreece•1h ago•1 comments

Microsoft NetMeeting was more important than you think [video]

https://www.youtube.com/watch?v=qhay6VryyvE
2•jervant•1h ago•0 comments

Just for fun, generate your websites alter ego

https://webalterego.com
2•pointscard•1h ago•1 comments

Ghostbase – describe an agent in plain English, it runs on a webhook or cron

https://ghostbase.ai/
2•florianberisha•1h ago•0 comments

Cancer jab can eradicate tumours in patients, trial shows

https://www.theguardian.com/science/2026/may/30/cancer-jab-can-eradicate-entire-tumours-in-patien...
5•Teever•1h ago•0 comments

If Windows were designed today, would the Registry exist? [video]

https://www.youtube.com/watch?v=bkrbew3Ls60
5•LelouBil•1h ago•1 comments

86Box v6.0

https://86box.net/2026/05/31/86box-v6-0.html
5•chungy•1h ago•3 comments