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 love to dress for the job we don't have

https://www.cnn.com/2026/10/12/style/workwear-fashion-blue-collar-modernism-book
1•Tomte•26s ago•0 comments

Coding Alone

https://mpadge.eu/blog/coding-alone.html
1•recursive-call•34s ago•0 comments

Show HN: Tapelark – Record what your Mac plays, from songs to window video

https://tapelark.com/
1•victorbuilds•38s ago•0 comments

Mindmapi

https://mindmapi.ai
1•arshedmust•2m ago•0 comments

Cisco warns of critical flaws allowing Nexus switch takeover

https://www.bleepingcomputer.com/news/security/cisco-warns-of-critical-flaws-allowing-nexus-switc...
2•wondersky•4m ago•0 comments

Show HN: A tool to visualize and quantify the butterfly effect

2•bsunter2•4m ago•0 comments

Looking at the Luddites from the Age of AI

https://read.misalignedmag.com/looking-at-the-luddites-from-the-age-of-ai-8e5cd34475fc
1•lcubw•4m ago•1 comments

A-to-Z across Toronto: First Half

https://jacobfilipp.com/atoz1/
1•surprisetalk•5m ago•0 comments

rqlite: fault-tolerant relational database built on SQLite

https://rqlite.io/
2•saikatsg•5m ago•1 comments

Hackers heat French supermarket fridges, sparking fires and food losses

https://www.reuters.com/business/retail-consumer/french-supermarket-chain-intermarche-hit-by-cybe...
4•salaryman777•6m ago•0 comments

What we stopped paying for after agents started writing our code

https://amaiko.ai/engineering/what-we-stopped-paying-for
2•mordras•6m ago•0 comments

Hanami, Why?: Introductions

https://aaronmallen.me/writing/hanami-why-introductions
1•birdculture•6m ago•0 comments

Why people have moved away from using /proc for everything

https://utcc.utoronto.ca/~cks/space/blog/unix/ProcWhyAlternativesToo
1•speckx•7m ago•0 comments

Modern Python Skill

https://github.com/353solutions/modern-python
1•tebeka•7m ago•0 comments

Are There Better Languages for Programming with LLMs?

https://akitaonrails.com/en/2026/10/11/are-there-better-languages-for-programming-with-llms/
1•arto•9m ago•0 comments

UniFi Network 11

https://blog.ui.com/article/introducing-unifi-network-11
2•janandonly•12m ago•0 comments

Why aren't AI companies being charged for hacking?

https://mortoray.com/why-arent-ai-companies-being-charged-for-hacking/
80•ingve•13m ago•35 comments

Climate Finder

https://weather.theojaffee.net
2•NaOH•14m ago•0 comments

The AI Casino

https://mandrade.me/blog/the-ai-casino/
1•mandrade2•14m ago•0 comments

Show HN: I put real mortgage rules in a Toronto SIM and nobody could buy a home

https://tdotlife.app/
2•kyleclouthier•15m ago•0 comments

Show HN: I wrote a KSP-lite game for my 7 year old

https://store.steampowered.com/app/2116950/Tiny_Solar_System/
1•last_one_in•15m ago•0 comments

Show HN: Baa – a menu bar app that frees RAM your AI agents forgot about

https://github.com/selviarora/baa
1•selviarora•15m ago•0 comments

AI Company Lets Cops Pinpoint Specific Houses Based on a Single Interior Photo

https://www.404media.co/ai-company-lets-cops-pinpoint-specific-houses-based-on-a-single-interior-...
3•gumby•18m ago•0 comments

Ario an AI-Readable Repository Snapshot for Auditable AI Memory Identity Evidenc

https://zenodo.org/records/23305805
1•xx47•18m ago•0 comments

Microagi Reached $100M Revenue Run Rate in Six Months

https://www.humanoidsdaily.com/news/microagi-100-million-revenue-run-rate-six-months
1•bogdiyan•19m ago•0 comments

Deep dive into Azure Maia 300 architecture

https://azure.microsoft.com/en-us/blog/deep-dive-into-azure-maia-300-architecture/
2•azhenley•20m ago•0 comments

Precious Linux Binaries Run on FreeBSD

https://vivianvoss.net/blog/linux-binaries
1•speckx•20m ago•0 comments

The Yandex attack in Sasovo: consequences and what's next [Ukrainian]

https://blognot.co/ataka-na-yandeks-v-sasovo/
2•e12e•21m ago•0 comments

Ubuntu 26.10 Will Have a Rust-Based GnuPG Replacement

https://itsfoss.com/news/ubuntu-sequoia-pgp-inclusion/
1•throw0101a•21m ago•0 comments

Is Universal Basic Income the Answer to A.I.-Fueled Job Losses?

https://www.nytimes.com/2026/10/12/technology/universal-basic-income-silicon-valley.html
3•gumby•21m ago•1 comments