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.

The Computer and the Brain: John von Neumann

https://en.wikipedia.org/wiki/The_Computer_and_the_Brain
1•adityaathalye•4s ago•1 comments

Show HN: Run Full Kimi K3 with 29 GB of RAM

https://github.com/sqliteai/waste/
1•marcobambini•4m ago•0 comments

Subsurface Confinement: Evidence from Submariners of the Benefits of Mindfulness

https://pmc.ncbi.nlm.nih.gov/articles/PMC8267514/
1•rramadass•4m ago•0 comments

Show HN: Emboss – a Python PDF engine that keeps documents as structured data

https://github.com/GGChamp85/Emboss
1•gauravgupta85•5m ago•1 comments

Yoga in the Military: A Comprehensive Overview

https://erickimphotography.com/yoga-in-the-military-a-comprehensive-overview/
1•rramadass•6m ago•0 comments

Apprenticeships: You Can Get into Tech in the UK and USA for Free and Get Paid

https://reprodev.com/how-you-can-get-into-tech-in-the-uk-and-around-the-world-for-free/
1•reprodev•6m ago•0 comments

NBA streaming tonight Reddit: where the game-day threads live now

https://iptvusa.tv/
1•aramirez454•7m ago•0 comments

Claude is down for 2nd consecutive day

https://status.claude.com/incidents/fsh2zzzl2c4l
2•cosmicorsini•7m ago•1 comments

First Proof

https://1stproof.org/
1•gone35•9m ago•0 comments

Through the Agentic Looking Glass

https://www.alexself.dev/blog/through-the-agentic-looking-glass
1•aself101•9m ago•1 comments

NBA streaming tonight Reddit: offseason, threads are still open

https://iptvusa.tv/app
1•aramirez454•11m ago•0 comments

Is This QRcode a Scam?

https://www.yoyosup.com/tools/qr-check/
1•tcurtis801•12m ago•0 comments

Show HN: Edge Drop- #1 productivity and unique clipboard 200 stars on GitHub

https://github.com/Deepender25/Edge-Drop
2•Deepender25•13m ago•0 comments

Why Do We Tolerate Elon Musk's Racist Commentary?

https://www.nytimes.com/2026/07/29/opinion/elon-musk-far-right-remigration.html
1•SLHamlet•14m ago•1 comments

Elon Musk's xAI sues Minnesota over law banning 'nudification' technology

https://www.theguardian.com/technology/2026/jul/29/xai-sues-minnesota-nudification-technology
2•Symbiote•17m ago•0 comments

When nature not only restores, but fortifies

https://www.mpg.de/26891042/when-nature-not-only-restores-but-fortifies
1•XzetaU8•17m ago•0 comments

AI or Not?

https://tracydurnell.com/2026/07/29/ai-or-not/
2•meetpateltech•17m ago•0 comments

Kolektor: Self-hosted manager for a coin and paper money collection

https://github.com/marinfrankovic/Kolektor
1•taubek•19m ago•0 comments

Show HN: Vedic Astrology Chart – free sidereal birth chart

https://vedicastrologychart.net/
1•toolina•20m ago•0 comments

Ask HN: Should authors disclose if they are paid to write a blog post?

1•wseqyrku•26m ago•0 comments

4k iptv app firestick: sideload setup that doesn't fight you

https://4kliveiptv.tv/app
1•sarahgreen•26m ago•0 comments

Defeating vanishing gradients in deep neural networks: Quotient Tree Arithmetic

https://arxiv.org/abs/2607.22612
1•EGreg•32m ago•0 comments

Show HN: Dibba – Automated Personal Finance

https://apps.apple.com/us/app/dibba/id6759825700
1•safonovklim•34m ago•0 comments

Best Firestick IPTV Subscription: Channels, Setup, and Real Pricing

https://firestickiptvs.com/
1•sarahgreen•39m ago•0 comments

'Vibe coding' is fun and easy, but there's a major catch

https://theconversation.com/vibe-coding-is-fun-and-easy-but-theres-a-major-catch-287693
3•billybuckwheat•41m ago•0 comments

EU AI Act compliance, scan your repo and get automatic results

https://scanara.io
3•ThiloBa•43m ago•0 comments

1,741 "informed" consents with one click? GDPR complaint filed

https://noyb.eu/en/1741-informed-consents-one-click-gdpr-complaint-against-dictcc-filed
22•dotcoma•43m ago•1 comments

3D thermal cloak hides objects from heat in any direction

https://news.illinois.edu/new-3d-thermal-cloak-hides-objects-from-heat-in-any-direction/
1•geox•44m ago•0 comments

Hugging Face Storage Buckets

https://huggingface.co/storage
2•jonbaer•47m ago•0 comments

A curated list of tools and resources for lead generation

https://github.com/dariubs/awesome-lead-generation
2•armandomaxim•50m ago•0 comments