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.

Show HN: Vexus – tells Claude Code where to look before it greps your repo

https://github.com/faique43/vexus
1•faique43•42s ago•0 comments

Finding Xanadu: Inside a JRPG classic translation 15 years in the making

https://readonlymemo.com/legend-of-xanadu-pc-engine-fan-translation-interview-making-of/
1•speckx•2m ago•0 comments

The Tragedy of the Oxide Root of Trust

https://danielmangum.com/posts/tragedy-oxide-rot/
1•hasheddan•3m ago•0 comments

A barbarian tribe's mythic origin story is true, ancient DNA reveals

https://www.science.org/content/article/barbarian-tribe-s-mythic-origin-story-true-ancient-dna-re...
1•Brajeshwar•3m ago•0 comments

Aggression experience and observation drive shared behavioural andneural changes

https://www.nature.com/articles/s41586-026-11217-9
1•bookofjoe•3m ago•0 comments

Why am I so small [video]

https://www.youtube.com/watch?v=SmA0cV9_vco
1•surprisetalk•3m ago•0 comments

Apps Can Now Try to Stop You from Canceling Subscriptions

https://www.macrumors.com/2026/11/04/app-store-subscription-retention/
1•Brajeshwar•3m ago•0 comments

Show HN: Ferry, a highly customizable and feature-rich file manager for macOS

https://ferry.indus3.org/
2•jailbirdBD•4m ago•0 comments

I wish tech companies knew more about me

https://rakhim.exotext.com/i-wish-tech-companies-knew-more-about-me
2•freetonik•6m ago•0 comments

What makes background music distracting? Investigating the role of song lyrics

https://www.tandfonline.com/doi/full/10.1080/20445911.2023.2209346
1•RickJWagner•7m ago•0 comments

Smart Glasses for Disabilities

https://www.eenewseurope.com/en/smart-glasses-for-disabilities/
1•rbanffy•10m ago•0 comments

Ties to Kalshi Throw Gambling Addiction Group into Disarray

https://www.barrons.com/articles/kalshi-prediction-market-gambling-addiction-hotline-f4e64c71
1•berkeleyjunk•11m ago•0 comments

Setting a new standard for responsible AI infrastructure

https://openai.com/index/setting-new-standard-responsible-ai-infrastructure/
1•giuliomagnifico•13m ago•0 comments

Show HN: AI Heat Map generated real-time from over 140 News Feeds

https://ai-news.jagular.io/
3•psiberaktiv•13m ago•0 comments

EU deportations: 'Alternatives' to detention include surveillance and coercion

https://statewatch.org/news/2026/november/eu-returns-alternatives-to-detention-and-increased-cont...
1•iamnothere•14m ago•0 comments

From Crisis to Care: A Framework for Repatriated Civilian Hostages

https://www.mdpi.com/2227-9032/14/18/3057
1•wslh•14m ago•0 comments

That "Thunking" Noise: Coroutines for the DIYer

https://reindeereffect.com/0004
1•kmstout•14m ago•0 comments

Ask HN: Are you writing your own programming language?

2•empath75•15m ago•2 comments

Show HN: See an AI-drafted LinkedIn post and quote graphic, no signup or card

https://engine.goviralpromo.com/try
2•Matthew25•16m ago•0 comments

Show HN: Practical, change Mac calendar events by typing what's different

https://david-alves.com/practical/
1•Adjadj•16m ago•0 comments

The Dock's Trash doesn't delete anything, and other macOS surprises

https://tendedero.app/blog/macos-surprises/
2•alejandrobujan•16m ago•0 comments

Verification debt has moved from code into reports, tenders and courtrooms

https://philip.lilius.io/notes/somebody-has-to-read-it/
1•devolve•17m ago•0 comments

State of StableCoins and Payments

https://www.allium.so/reports/state-of-stablecoins-and-payments-q3-2026
1•usacoder•18m ago•0 comments

Show HN: Depquiet, Triage NPM/pip/Dependabot alerts by reachability

https://github.com/samuelrojas-dev/depquiet
1•samuelitemaster•19m ago•0 comments

Why Vaadin Browserless Testing Is a Game Changer for AI Generated Web Apps

https://martinelli.ch/why-vaadin-browserless-testing-is-a-game-changer-for-ai-generated-web-appli...
1•spicyroman•20m ago•0 comments

Show HN: Maintenant, self-hosted monitoring for Docker and Kubernetes

https://github.com/kOlapsis/maintenant
1•benjy3379•22m ago•1 comments

Show HN: Find people on X asking for a product like yours

https://ownfeed.dev/check
2•shun_dev•22m ago•0 comments

Sailing Solo Around Britain

https://sites.google.com/view/sailing-solo-around-britain/leisure-27-dark-star
2•dmonay•23m ago•1 comments

The Limits of Test-Time Compute for Self-Evaluation

https://anirudhb11.github.io/blog/scorpio/
1•martincsweiss•23m ago•0 comments

Exceptions to 1.1.1: When the Alt Text Isn't the Answer

https://tarnoff.info/2026/10/12/exceptions-to-1-1-1-when-the-alt-text-isnt-the-answer/
1•speckx•25m ago•0 comments