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.

PlusOS: OS for the Macintosh Plus and SE

https://github.com/g91/PlusOS
1•phendrenad2•8s ago•0 comments

AML Cycle 2 results are approaching: What should agent memory benchmarks reveal?

https://twitter.com/AgentMemoryL/status/2118704959344493029
1•IreneAI•31s ago•0 comments

Anthropic, stop silently degrading models. You will undermine trust

https://www.reddit.com/r/ClaudeCode/comments/1xqtslm/rant_anthropic_stop_silently_degrading_models/
1•cft•45s ago•0 comments

Official Wanting Data Centers on Public Lands Has >10M Invested in AI Industry

https://www.propublica.org/article/burgum-public-land-data-centers-investments
1•Jimmc414•3m ago•0 comments

Show HN: Mindfries- AI Interviewer based on real eng skill not on L**tC*de

https://company.mindfries.com/login
1•Gseries00•5m ago•0 comments

A 24-hour fast triggers a microbiome repair response in the gut

https://www.pnas.org/doi/10.1073/pnas.2529215123
1•Jimmc414•11m ago•1 comments

Type in Any Task. Get the Best AI Model for It

https://taskrouter.com/tasks
1•robmay•14m ago•0 comments

The Rust I Wanted Had No Future (2023)

https://web.archive.org/web/20230629213449/https://graydon2.dreamwidth.org/307291.html
1•xiaoyu2006•15m ago•1 comments

The Qlobe: Rotating Quine (2010)

http://mamememo.blogspot.com/2010/09/qlobe.html
2•niceguitars•20m ago•0 comments

Build a repeatable PHP-to-Java migration engine with Kiro

https://aws.amazon.com/blogs/machine-learning/build-a-repeatable-php-to-java-migration-engine-wit...
1•fksubs•20m ago•0 comments

A 100KB SVG that does real-time 3D PCA and convex hulls on CMS open data

https://zenodo.org/records/24068477
1•zwanemakki•20m ago•0 comments

Unremarkable things we made in 2026

https://www.neilchen.co/blog/things2026
1•NWChen•22m ago•0 comments

Everything to automate and make your device,like aPC and phone,smart as a robot

1•Drfoxi•22m ago•0 comments

Royal 240: The Beginning of the End for the Typewriter

https://nicole.express/2026/cutting-edge-technology.html
1•nicole_express•26m ago•0 comments

Asahi Linux Drops MIT, Goes Full GPL After AI Used to Steal Unreleased Code

https://itsfoss.com/news/asahi-linux-drops-mit-for-gpl/
4•majorchord•28m ago•2 comments

F/OSS Comics #14: BSD Unix, Part 4 – The Formation of CSRG

https://fosscomics.com/posts/14.%20BSD%20Unix%20Part%204%20-%20The%20Formation%20of%20CSRG/
1•joonehur•35m ago•0 comments

Why Doctors in Thailand Fear KFC

https://www.nytimes.com/2026/11/04/world/asia/thailand-kfc-curse-doctors.html
2•bookofjoe•35m ago•0 comments

Show HN: A web based client for the 1995 virtual world WorldsAway

https://worldsaway.app/
2•brianhama•39m ago•0 comments

Elevation of Serum Prestin in Patients with Tinnitus

https://pubmed.ncbi.nlm.nih.gov/41398620/
2•hbarka•48m ago•0 comments

A Strange Quantum Theorem Has Killed Einstein's Reality

https://www.quantamagazine.org/a-strange-quantum-theorem-has-killed-einsteins-reality-20261106/
1•pseudolus•48m ago•0 comments

A Bit about Email

https://maurycyz.com/misc/email/
1•vinhnx•49m ago•0 comments

Show HN: ICC display calibration QR code markers

https://iccqr.github.io
2•snshn•51m ago•0 comments

New Research Tests Whether AI Models Know Their Own Thoughts

https://www.quantamagazine.org/new-research-tests-whether-ai-models-know-their-own-thoughts-20261...
1•brandonb•56m ago•0 comments

Show HN: NLP capabilities of Opus, Astra, Argon measured by Codenames skills

https://wordspies.com/hn
1•daluan•1h ago•0 comments

Chinese tech helps repressive African governments crush dissent

https://economist.com/culture/2026/11/05/chinese-tech-helps-repressive-african-governments-crush-...
4•andsoitis•1h ago•0 comments

Ask HN: Is it normal to not write code for a years as software engineer?

1•khalidahmad•1h ago•0 comments

Game Market Atlas – See how your game idea would compete on Steam

https://gamemarketatlas.com/
1•robertvaradan•1h ago•0 comments

Your Experience Studying in 2026?

1•loose-cannon•1h ago•2 comments

Instant Receipts – receipt scanning and BAS prep for Australian sole traders

https://instantreceipts.com.au
2•talhaq•1h ago•0 comments

Amutable Foundations: A Technical Overview

https://amutable.com/blog/amutable-foundations-technical-overview
1•wmf•1h ago•0 comments