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.

Show HN: I generated 235 system docs in a day using GPT-5.5

https://www.paxerp.com/docs
1•robeym•4m ago•0 comments

Generating OG Images in Elixir

https://jola.dev/posts/generating-og-images
1•shintoist•4m ago•0 comments

DCR Core Framework: A Core Library for Building Django Admin Tools

https://yassi.dev/projects/dj-control-room-base/
1•yassi_dev•4m ago•0 comments

World-first: therapy to make cells young again trialled in a person

https://www.nature.com/articles/d41586-026-01836-7
2•mhb•5m ago•0 comments

Bumble bees show spontaneous problem-solving, challenging big-brain assumptions

https://phys.org/news/2026-06-bumble-bees-spontaneous-problem-big.html
2•gmays•6m ago•0 comments

Show HN: Locaible – local AI agents for Cursor with pre-tuned marketplace/commu

https://locaible.com/cursor
1•locaible•7m ago•0 comments

Secure On-Premise Deployment of Open-Weights Large Language Models in Radiology

https://arxiv.org/abs/2604.22768
1•PaulHoule•7m ago•0 comments

Craig Federighi Explains Why Apple Pivoted to a Siri Chatbot App

https://www.macrumors.com/2026/06/10/federighi-explains-why-apple-pivoted-to-siri-chatbot/
1•tosh•8m ago•0 comments

I Hate (Most) Keyboard 'Fn' Keys

https://danq.me/2026/06/09/fn-keys/
1•speckx•8m ago•0 comments

Collective of economists considers 'growth' a doomed strategy

https://www.theguardian.com/commentisfree/2026/jun/10/economists-maths-growth-doomed-strategy-un-...
2•jmngomes•9m ago•0 comments

macOS 27 Golden Gate Is the Last to Support Intel Apps via Rosetta 2

https://www.macrumors.com/2026/06/10/macos-golden-gate-last-to-support-intel-apps/
1•tosh•10m ago•0 comments

LinkedIn wants to own B2B creator discovery with new creator marketplace

https://digiday.com/marketing/linkedin-wants-to-own-b2b-creator-discovery-with-new-creator-market...
2•thm•10m ago•0 comments

Oh Good, Screwworms Are Back

https://www.marginallycompelling.com/p/oh-good-screwworms-are-back
1•timr•11m ago•0 comments

Quantum error correction with the toric code on neutral atoms

https://arxiv.org/abs/2606.04079
2•nryoo•11m ago•1 comments

Show HN: GripeFind – find product pain points without Reddit API

https://gripefind.com
1•zeph_wheeler•11m ago•0 comments

Ask HN: Are most corporate SWE jobs performative?

3•hnthrow10282910•12m ago•0 comments

Scientists Precisely Edit Human Embryo Genes

https://www.nytimes.com/2026/06/04/science/embryos-gene-editing-crispr.html
1•gmays•14m ago•0 comments

Coding Agent Memory Benchmarks

1•kushalpatil07•14m ago•0 comments

Commonwealth Fusion makes the physics case for its 400 MW reactor

https://arstechnica.com/science/2026/06/__trashed-19/
2•LorenDB•16m ago•0 comments

Show HN: Employment contract analysis for Ontario's Workforce

https://basalaw.vercel.app
1•edimaudo•17m ago•0 comments

Show HN: Orange Crumbs - Wikipedia articles filtered by Hacker News

https://www.orangecrumbs.com/
1•oyster143•17m ago•0 comments

"I've lost sentences of text to this incompetent implementation."

https://unsung.aresluna.org/ive-lost-entire-sentences-of-text-to-this-incompetent-implementation/
4•speckx•18m ago•0 comments

Cybersecurity Product Launch Specifically Keeping AI in Focus

1•gladiator291288•19m ago•0 comments

Building a multi-tenant SaaS for an emerging market, what nobody tells you

https://medium.com/@walexy85/building-a-multi-tenant-saas-for-an-emerging-market-what-nobody-tell...
1•joshuaajayi•21m ago•1 comments

Not Wordle

https://notwordle0.netlify.app
1•kamphey•21m ago•1 comments

Meta's attempts to play catch-up with AI

https://arstechnica.com/ai/2026/06/inside-metas-attempts-to-play-catch-up-with-ai/
1•gmays•22m ago•0 comments

Show HN: Ray Hosting – Topology-aware game server orchestrator made from scratch

https://ray-hosting.com/en-US
1•bardhyliis•23m ago•0 comments

OWASP Dependency-Track 5.0 Is Now Generally Available

https://owasp.org/blog/2026/06/09/dependency-track-v5
1•jruohonen•25m ago•0 comments

Re-quantizing a local LLM 14x faster by skipping the tensors that didn't change

https://andreaborio.substack.com/p/re-quantizing-a-local-model-14-faster
3•andreaborio•25m ago•0 comments

The Tick-Tock AI Development Cycle

https://wilsoniumite.com/2026/06/10/the-tick-tock-ai-development-cycle/
1•Wilsoniumite•26m ago•0 comments