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.

Inference Cost Calculator

https://flaviocopes.com/tools/inference-cost/
1•ibobev•51s ago•0 comments

4K Analog Video Feedback Fractal Device

https://www.youtube.com/watch?v=koDCabeh5kQ
1•waltbosz•1m ago•0 comments

The Gnome LLM Policy That I Want

https://blogs.gnome.org/alatiera/2026/09/23/the-gnome-llm-policy-that-i-want/
2•ibobev•2m ago•0 comments

Fork of Adium adds support for Apple Silicon, WhatsApp, Telegram, Signal, Teams

https://github.com/KnutMann/adium
2•corywright•3m ago•1 comments

Americans' Views of Data Centers Have Turned More Negative

https://www.pewresearch.org/short-reads/2026/09/22/americans-views-of-data-centers-have-turned-mo...
2•karakoram•4m ago•0 comments

Cars, New York City 1974-1976

https://langdonclay.com/portfolio/carsnyc
1•karakoram•6m ago•0 comments

Ask HN: Which harness do you use with Qwen3.8 27B? And why?

1•grigio•6m ago•0 comments

Closing the Gap Between Float and Posit Hardware Efficiency

https://arxiv.org/abs/2603.01615
1•Miksel12•7m ago•0 comments

Oil Tanker Costs Hit Record $1.2M a Day as Iran War Disrupts Shipping

https://www.ft.com/content/f95db340-8c8f-435f-957d-4623255ac29e
1•karakoram•7m ago•1 comments

NBER Economics of Artificial Intelligence Program Conference

https://www.nber.org/conferences/economics-artificial-intelligence-fall-2026
1•m-hodges•8m ago•0 comments

The Price of Intelligence Is Falling Rapidly

https://marginalrevolution.com/marginalrevolution/2026/09/the-price-of-intelligence-is-falling.html
1•gotmedium•9m ago•0 comments

Jehovah's Witnesses allow blood-derived products but keep ban on whole-blood

https://apnews.com/article/jehovahs-witnesses-donated-blood-transfusions-plasma-13fbe733e0039109e...
2•Markoff•9m ago•2 comments

Open-source tool will eliminate "fail-fast" logic from your code

https://github.com/asstgr/asstgropensource
1•asstgr•10m ago•0 comments

Show HN: Readplace – Read the Web Not the Slop

https://readplace.com/import
1•fagnerbrack•11m ago•0 comments

Why your numbers look wrong

https://www.carmenansio.com/articles/opentype-features-css/
1•mooreds•12m ago•0 comments

The GitHub wiki is an anti-pattern

https://michaelheap.com/github-wiki-is-an-antipattern/
3•ibobev•12m ago•1 comments

Daily Food Recalls

https://dailyfoodrecalls.com/
1•rdmuser•12m ago•0 comments

How to Find WordPress Plugin Bugs and Make Profit

https://medium.com/meetcyber/how-to-find-real-wordpress-plugin-bugs-and-turn-them-into-reportable...
1•ls1911•13m ago•0 comments

Reddit and Discord Blocked in the Philippines

https://businessmirror.com.ph/2026/09/22/cicc-requires-reddit-discord-to-establish-presence-in-phl/
1•lawgimenez•13m ago•0 comments

I Don't Want the Details

https://michaelheap.com/i-dont-want-the-details/
2•mooreds•13m ago•0 comments

Phosphor Deck – one zellij session your phone and laptop share

https://github.com/rsmedrano-cloud/phosphor-deck
1•rsmedrano•14m ago•0 comments

In the Private Jet Age, the Quiet Allure of Private Rail

https://nytimes.com/2026/09/23/travel/amtrak-private-train-cars.html
1•pseudolus•16m ago•1 comments

Smart glasses are causing havoc in India

https://www.technologyreview.com/2026/09/23/1144953/smart-glasses-havoc-india/
1•BaudouinVH•16m ago•0 comments

Passed $10M/y in revenue and investment gains this year

https://twitter.com/levelsio/status/2102739359715774665
3•tosh•17m ago•0 comments

Synthetic control for city crime rates app

https://apwheele.github.io/SynthRTCI/
2•apwheele•17m ago•0 comments

Native Mail – An email client where an agent handles your inbox

https://getnative.ai
2•sebastiankade•18m ago•0 comments

Depending on Other People

https://gomakethings.com/articles/depending-on-other-people/
2•surprisetalk•18m ago•1 comments

Downgrades

https://blog.dshr.org/2026/09/downgrades.html
2•FabHK•18m ago•0 comments

HafþI – a native macOS terminal built with Swift

https://github.com/pdahlbeck/hafthi-mac
2•dahlbeck•19m ago•0 comments

Ask HN: Declarative vs. Imperative

2•KenPainter•20m ago•0 comments