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.

This Week in Plasma: An Avalanche of Performance Improvements and Bug Fixes

https://blogs.kde.org/2026/10/31/this-week-in-plasma-an-avalanche-of-performance-improvements-and...
1•flyaway123•9m ago•0 comments

Show HN: TheirShelf – Book recommendations by founders, scientists, and thinkers

https://theirshelf.org
1•f18m•10m ago•0 comments

Median net worth of U.S. households under 35 fell 23% from 2022 to 2025 (real)

https://www.keepingup.com/benchmarks/net-worth/age-30-33
5•jpmulhausen•12m ago•0 comments

Show HN: Share agents and context across devices

https://smatt989.github.io/agentremote-site/
2•matthewslotkin•17m ago•0 comments

Djs: A JavaScript and ts engine for pi's codemode by earendil

https://earendil-works.github.io/djs/introduction.html
1•RebelPotato•18m ago•0 comments

Own Your HackerTube,an AI Curator Inspired by Karpathy's HackerTube

https://ownhackertube.cc/
2•RileyMorgan093•27m ago•0 comments

Software freedom is about our human desire to share, tinker, and collaborate

https://educatingtobehuman.org/software-freedom-and-the-case-for-open-with-matthias-kirschner
4•markjgraham•27m ago•2 comments

Show HN: I built a little browser game to practice Vim commands

https://hjkl.duy.run
1•dh1011•31m ago•0 comments

Show HN: Rustable is an open source database client built in Rust

https://rustable.app
1•JaTochNietDan•34m ago•1 comments

Claude's new rules against game cloning won't stop the AI copying boom

https://arstechnica.com/ai/2026/11/claudes-new-rules-against-game-cloning-wont-stop-the-ai-copyin...
1•martincmartin•35m ago•2 comments

Open-source "codes of conduct" are cancer and need to be retired

https://twitter.com/GeoffreyHuntley/status/2117127384126095636
2•MrBuddyCasino•40m ago•1 comments

Open-Source 5G Ran Platforms: A Dual Perspective on Performance and Capabilities

https://arxiv.org/abs/2608.25820
3•teleforce•42m ago•0 comments

Ask HN: What Cryptography book do you recommend for reading with 10 year olds?

1•mike_richards•48m ago•2 comments

Zeabur is closing. Where should you go?

https://neatread.net/zeabur-is-closing-where-should-you-go
2•piter6917•48m ago•0 comments

Show HN: PhoneUse – Phones for AI Agents

https://www.phoneuse.com/
2•dyscrete•50m ago•0 comments

5th tranche of UAP files released by the Department of War

https://www.war.gov/UFO/release/05/?releaseDate=Release+05&release=05
2•mark336•50m ago•1 comments

Viewpoint: Part-legalisation may eradicate bribery (2012)

https://www.bbc.com/news/business-20218833
2•thunderbong•55m ago•0 comments

Paper straws worse for the environment than plastic ones

https://nypost.com/2026/10/26/lifestyle/paper-straws-worse-for-the-environment-than-plastic-ones-...
4•Screaming_O•56m ago•2 comments

Biden-Harris Administration Awards $117M for Wireless Innovation (2025)

https://www.ntia.gov/press-release/2025/biden-harris-administration-awards-117-million-wireless-i...
3•teleforce•56m ago•0 comments

K2 Space CEO Sets Out Expansive Growth Plan as High-Power Demand Increases

https://www.satellitetoday.com/manufacturing/2026/10/30/k2-space-ceo-sets-out-expansive-growth-pl...
2•gmays•57m ago•0 comments

Is counting circular? Frege and the meaning of finite number

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

An AI visibility checker that runs in the browser

https://lumi-geo.pages.dev/
1•GoarDev•1h ago•0 comments

Apple's Growth Machine Is Slowing. High Prices Might Not Save It

https://www.wsj.com/tech/apple-beats-wall-street-expectations-with-boost-from-higher-prices-36749418
3•fortran77•1h ago•1 comments

Detroit techno pioneer Juan Atkins dead at 64

https://www.synthtopia.com/content/2026/11/02/detroit-techno-pioneer-electronic-music-visionary-j...
2•anigbrowl•1h ago•0 comments

2010 Pose Idea (2026)

https://www.mollysoda.exposed/2010poseidea.HTML
1•justin-reeves•1h ago•0 comments

The Cooked Curve Hypothesis

https://travishiggins.substack.com/p/the-cooked-curve-hypothesis
1•trvhig•1h ago•0 comments

Show HN: Tiny Tally - Free local only finances

https://apps.tarwin.art/tiny-tally/
1•tarwin•1h ago•0 comments

Email Should Be Opt-In

https://fgclue.org/blog/emails-should-be-opt-in/
3•fgclue•1h ago•0 comments

Future startup ideas, excavated from science fiction

https://absurd.website/startup-archaeology/
3•thunderbong•1h ago•0 comments

Palantir tech unused or little used by 29 NHS trusts said to be benefiting from

https://www.theguardian.com/technology/2026/nov/02/palantir-unused-nhs-hospital-trusts
2•botanical•1h ago•0 comments