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.

"It's either this or death": Canada renews LJI and extends journalism tax credit

https://www.niemanlab.org/2026/11/its-either-this-or-death-frankly-canada-renews-the-local-journa...
1•rdmuser•1m ago•1 comments

Short seller flagged Jensen Huang ties to suspected Chinese spy 6 months before

https://techcrunch.com/2026/11/09/a-short-seller-flagged-nvidia-ceos-ties-to-a-suspected-chinese-...
1•donsupreme•3m ago•0 comments

Anthropic reportedly plans to move forward with IPO plans

https://techcrunch.com/2026/11/09/anthropic-reportedly-plans-to-move-forward-with-ipo-plans/
1•inthebay•5m ago•0 comments

CUDA+ROCm dual-back ends LLM inference for mixed-vendor GPUs (up to 48% faster)

https://github.com/mw00/project-maya/pull/879
2•renwujun•6m ago•1 comments

Checking Module Boundaries in a Java Monolith

https://foojay.io/today/enforce-java-module-boundaries-with-modulith-rules/
1•fksubs•6m ago•0 comments

Show HN: Blabla Meter – Jev scores how useful page content is before you read it

https://github.com/maths-oliveira/blabla-meter
1•mmaths•6m ago•0 comments

N-Able Disables Cloud Services Following Disclosure of Able2Shell Exploit Chains

https://www.huntress.com/blog/n-able-disables-cloud-services-following-disclosure-of-able2shell-e...
1•jodrellblank•11m ago•1 comments

Database Architects: The Benchmarking Crisis

http://databasearchitects.blogspot.com/2026/10/the-benchmarking-crisis.html
1•muehlbau•11m ago•0 comments

Boston Dynamics Launches Next Generation Stretch Robot

https://bostondynamics.com/news/boston-dynamics-launches-next-generation-stretch-robot/
1•gmays•11m ago•0 comments

Tabernetes: Kubernetes in the Browser Tab

https://jkroepke.de/tabernetes/
2•linkdd•11m ago•0 comments

Database Architects: Next-Level Benchmarking Overfitting

http://databasearchitects.blogspot.com/2026/11/next-level-benchmarking-overfitting.html
1•muehlbau•12m ago•0 comments

Use ChatGPT subscription for "good" iPhone autocorrect

https://apps.apple.com/us/app/intellikey/id1667188645
1•unktomi•13m ago•1 comments

Starship – Go for Orbit [video]

https://www.youtube.com/watch?v=8ySMdUIF3cY
1•moondistance•14m ago•0 comments

Torrent Underground: inside the exclusive world of private torrent trackers

https://www.theverge.com/cs/features/1027614/torrent-movies-file-sharing-download-piracy
1•ValentineC•14m ago•0 comments

AI and Irontown

https://lucumr.pocoo.org/2026/11/9/irontown/
1•lumpa•14m ago•0 comments

Formalizing CPython

https://broyojo.com/python-formalization/
2•carnevalem•14m ago•0 comments

Muru: HTTPS in Development

https://grahamdumpleton.me/posts/2026/11/muru-https-in-development/
1•lumpa•14m ago•0 comments

Measuring how AI agents handle everyday wet-lab science

https://openai.com/index/measuring-how-ai-agents-handle-wet-lab-science/
1•gmays•20m ago•0 comments

New FreeBSD pkgbase-update(8) Tool

https://vermaden.wordpress.com/2026/11/10/freebsd-pkgbase-update-tool/
2•vermaden•29m ago•0 comments

How a mathematical discovery changed the rules of chess

https://www.infinitelymore.xyz/p/thue-morse-sequence
1•FillMaths•32m ago•0 comments

Salary Negotiation (2026)

https://venki.com/notes/salary-negotiation
1•venkii•33m ago•0 comments

Blink

https://blink.sh/
2•TED1•35m ago•0 comments

Seedream 5.5 – 100-Round Editing, Native RGBA and Small Text

1•duke_ai•36m ago•0 comments

Toptal AI – Full-Stack AI Services Company in the World for Agent Creation

https://www.toptal.ai/
1•artur_makly•40m ago•0 comments

The Ethereum Foundation is officially a corporate suicide cult

https://davidgerard.co.uk/blockchain/2026/11/10/the-ethereum-foundation-is-officially-a-corporate...
2•bryanrasmussen•41m ago•1 comments

I asked Claude to interview itself

https://www.youtube.com/watch?v=_wYr3FexNIM
1•morgyn-io•43m ago•0 comments

FDA orders class-wide GLP-1 label update to include risk for rare eye disease

https://www.biospace.com/fda/fda-orders-class-wide-glp-1-label-update-to-include-potential-risk-f...
1•randycupertino•47m ago•0 comments

JPEG XL Is Becoming a Practical Choice for the Web

https://joshuamorris.info/notes/2026/11/06/jpeg-xl-is-back-and-the-web-is-better-for-it/
2•TheWoollyBully•51m ago•0 comments

Ask HN: How do you check the security of AI-generated code before shipping?

https://www.getpublishub.com
1•valmirjunior•54m ago•0 comments

Show HN: CMusee – C/C++ timeless debugger, record every function called

https://veefuse.com/en/cmusee/
1•veexx103•54m ago•1 comments