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.

We review 4x more AI code without reading every line

https://thenewstack.io/scale-ai-code-reviews/
1•Brajeshwar•2m ago•0 comments

Climate change transforms the colors of our world

https://apps.npr.org/color-climate-change-coral-lakes/
1•geox•2m ago•0 comments

RedisME: Redis GUI in the World

https://www.hepengju.com/
1•hepengju•3m ago•0 comments

Meridian – an experimental web browser built on Servo and GPUI

https://op.tngl.io/meridian/
1•birdculture•3m ago•0 comments

Controversy Surrounding Anduril Industries

https://discourse.haskell.org/t/controversy-surrounding-anduril-industries/10253?page=4
1•n_plus_1_acc•4m ago•0 comments

AI stance is not binary

https://carette.xyz/posts/ai-stance-is-not-binary/
1•LucidLynx•4m ago•0 comments

Mercedes Gives Its Cars an AI Upgrade

https://www.wsj.com/cio-journal/mercedes-gives-its-cars-an-ai-upgrade-607daae2
1•bookofjoe•6m ago•1 comments

Musk documentary from Alex Gibney (2026)

https://en.wikipedia.org/wiki/Musk_(film)
1•1vuio0pswjnm7•7m ago•0 comments

Show HN: Nino – deterministic binary serialization across .NET, Unity, Go, Rust

https://github.com/JasonXuDeveloper/Nino
1•jnx11•8m ago•0 comments

Show HN: Lipwise

https://getlipwise.com/
1•lnenad•10m ago•0 comments

The worl went video, professional ecosystem didn't

https://apps.apple.com/gb/app/zeedeo/id6450534767
1•Zeedeo_•10m ago•0 comments

Git Good User Guide

https://100allora.it/gg/
2•baol•12m ago•0 comments

Show HN: Cross-device passkey auth on Android 9, synced with Bitwarden

https://rsnel.github.io/passkeychain/
1•riksnel•12m ago•0 comments

Gg is Git good. An UI to inspect and update Git repos

https://github.com/baol/gg
2•baol•12m ago•0 comments

My secret life as a relapsed alcoholic

https://www.theguardian.com/news/ng-interactive/2026/nov/03/my-secret-life-as-a-relapsed-alcoholi...
1•tosh•15m ago•0 comments

Show HN: Study Scout, a novelty search with no NOVEL verdict

https://github.com/inspectorSlap/Study-Scout
1•inspectorSlap•15m ago•0 comments

DoorDash Shareholders Aren't Convinced the Company Can Take on Amazon

https://www.wsj.com/business/retail/doordash-shareholders-arent-convinced-the-company-can-take-on...
1•ryan_j_naughton•22m ago•1 comments

Agentic Software Engineering (ASE) 2.0: Grilling, Task Boards, Agents, and More

https://ase.tools/news/
2•rse•22m ago•0 comments

The Learjet Repo Man

https://www.salon.com/2009/06/06/lear_jet_repo_man/
2•HR01•23m ago•2 comments

Amp Code Launches Spaces

https://ampcode.com/news/spaces
1•chaosprint•23m ago•0 comments

Rosstat Leaks: combat deaths and mortality

https://rosstat-leaks.com/?lang=en#forecast
2•Tomte•23m ago•0 comments

Show HN: Fuel prices in 11 European countries, with maps and border comparisons

https://fuelpriceatlas.com/
1•smirnofftom•28m ago•0 comments

Show HN: After decades, I have my almost perfect music player

https://github.com/skhaz/overdrive
2•mococa•28m ago•0 comments

The GPT Architecture, on a Napkin (2022)

https://dugas.ch/artificial_curiosity/GPT_architecture.html
1•zenincognito•29m ago•0 comments

My browser OCR couldn't read a sunscreen bottle. Here's what fixed it

https://devpack.app/blog/making-browser-ocr-read-phone-photos
2•thunderbong•30m ago•1 comments

Archimedes: AI agents that design physical things

https://standardphysics.com/archimedes
1•torutofu•30m ago•0 comments

Anthropic Let an Outsider Check Its AI Progress. Here's What We Can't See

https://www.youtube.com/watch?v=oFuoPEtIqWg
1•lroe•31m ago•1 comments

A 55-Year-Old Math Problem Was Solved–This Time by Humans

https://www.wired.com/story/a-55-year-old-math-problem-was-solved-this-time-by-humans/
1•Brajeshwar•36m ago•0 comments

Photo of the ISS Next to Jupiter Was Two Years in the Making

https://nautil.us/this-photo-of-the-iss-next-to-jupiter-was-two-years-in-the-making-1286407
2•Brajeshwar•36m ago•0 comments

Earth's Rocks Have a Missing Layer Spanning Up to a Billion Years

https://nautil.us/earths-rocks-have-a-missing-layer-spanning-up-to-a-billion-years-1286417
1•Brajeshwar•36m ago•0 comments