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.

Open source tools for Quantum resistance security Post Quantum Protection

https://github.com/SCDcomputing/PostQuantumProtection
1•CyberSpin•10s ago•0 comments

Compliant Mechanisms Lecture Series [video]

https://www.youtube.com/watch?v=j1lT1RtKnms&list=PLWeErkRyxkhKL_pjYBCR2jYcvAh5PaXoP
1•o4c•3m ago•0 comments

FDA approves first mRNA flu shot, from Moderna

https://www.nbcnews.com/health/health-news/fda-approves-1st-mrna-flu-shot-moderna-rcna590599
2•OutOfHere•6m ago•1 comments

Google's Top AI Brains Are Leaving–and Launching Their Own AI Startup

https://www.wired.com/story/jeff-dean-google-discovery-loop-startup/
1•dnikitan97•7m ago•0 comments

SpaceX First Report Card

https://askmelon.com/beta/articles/2026-08-05T0100-eighteen-billion-in-ninety-days
1•alvations•8m ago•0 comments

Accelerating biomass loss from forest disturbances across Europe

https://www.nature.com/articles/s41561-026-02032-y
1•littlexsparkee•9m ago•0 comments

'Only one conclusion': study suggests life on Earth arose twice

https://www.sciencealert.com/radical-study-suggests-life-on-earth-arose-from-non-living-matter-twice
1•arto•10m ago•0 comments

Broadcaster Wins Broad US Blocking Injunction Covering Non-Existing Pirate Sites

https://torrentfreak.com/broadcaster-wins-broad-u-s-blocking-injunction-covering-pirate-sites-tha...
1•gslin•13m ago•0 comments

Microsoft is serious about fixing Windows, and it's doing things right this time

https://www.windowscentral.com/microsoft/windows-11/i-tested-5-major-changes-and-improvements-com...
1•thunderbong•27m ago•2 comments

LinuxViz – 3D Linux Kernel Architecture Explorer

https://tomasantunes.github.io/LinuxViz/
4•tomasantunes89•43m ago•1 comments

Black lung rates in Appalachia are high as the 1970s, thousands of miners sick

https://www.npr.org/2026/08/05/nx-s1-5894884/appalachia-black-lung-coal-miners-silica-dust
5•Jimmc414•44m ago•0 comments

Show HN: Is It an OS?

https://iiao.algor.ist
1•indydevs•45m ago•0 comments

QoD: Is Lucid in the early stages of failure?

https://www.thetruthaboutcars.com/cars/news-blog/question-of-the-day-is-lucid-in-the-early-stages...
1•RickJWagner•46m ago•0 comments

Libraries Are Leading the Fight for Physical Media Ownership

https://www.arl.org/blog/consumers-are-worried-about-the-loss-of-physical-media-ownership-librari...
2•donohoe•46m ago•0 comments

Show HN: MusicMonitor – Turn your extra monitor into a Spotify now-playing view

https://github.com/j-sofia/MusicMonitor
2•j-sofia•47m ago•1 comments

The Investors Whose SpaceX Shares Vanished Before They Could Cash In

https://www.wsj.com/finance/stocks/spacex-ipo-spv-investors-2698a174
4•JumpCrisscross•51m ago•0 comments

AI agents that inherit the user's permissions, not API keys

https://blog.cloudflare.com/how-we-use-ai-with-cloudflare-os/
1•thoughtpeddler•51m ago•0 comments

Industrial Revolution to AI tech upheavals: The Catholic principle guiding popes

https://theconversation.com/the-catholic-principle-guiding-popes-through-tech-upheavals-from-the-...
3•1659447091•55m ago•0 comments

A composer published a paper in physics. His lack of credentials drew criticism

https://retractionwatch.com/2026/08/05/a-composer-published-a-paper-on-theoretical-physics-his-la...
1•unprovable•58m ago•1 comments

China's EV Boom Is Quietly Undermining Oil's Biggest Chokepoint

https://oilprice.com/Energy/Energy-General/Chinas-EV-Boom-Is-Quietly-Undermining-Oils-Biggest-Cho...
1•toomuchtodo•59m ago•0 comments

Country and State Maps in LOTR Style

https://lordofmaps.com/
1•silver92bullet•1h ago•0 comments

The Once-Shameless President Is Deeply Embarrassed

https://www.theatlantic.com/politics/2026/08/trump-humiliated-iran-reflecting-pool/688184/
8•petethomas•1h ago•1 comments

How to Install Python3.14 from source on Ubuntu 26.04

https://jamesoclaire.com/2026/08/06/how-to-install-python3-14-from-source-on-ubuntu-26-04/
1•ddxv•1h ago•3 comments

Thomson Reuters Employees Demand That ICE "Leave Our Cities"

https://www.thenation.com/article/politics/thomson-reuters-ice-immigration-voting-data/
7•petethomas•1h ago•5 comments

OpenAI models shared hacking tips on a messaging board before HuggingFace breach

https://www.politico.com/news/2026/08/05/openai-models-shared-hacking-tips-secret-messaging-board...
2•0in•1h ago•0 comments

Unprecedented images may explain one of greatest mysteries of the sun

https://www.theguardian.com/science/2026/aug/05/unprecedented-images-may-explain-one-of-greatest-...
5•colinprince•1h ago•0 comments

Investors are having doubts about Elon Musk's grandiose ambitions

https://economist.com/business/2026/08/05/investors-are-having-doubts-about-elon-musks-grandiose-...
13•andsoitis•1h ago•6 comments

To Predict the Next Token

https://sanghoon.io/journal/2026-08-04-distillation
1•sanghoonio•1h ago•0 comments

Codex Users Are Losing Banked Rate Limit Resets to a Quiet 30 Day Clock

https://startupfortune.com/codex-users-are-losing-banked-rate-limit-resets-to-a-quiet-30-day-clock/
2•newsomix9xl•1h ago•1 comments

Esp32pin.com: a pinout reference for ESP32 series

https://esp32pin.com/
3•sohkamyung•1h ago•0 comments