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.

Cursed cruise: how the dream of never-ending luxury at sea became a nightmare

https://www.theguardian.com/news/ng-interactive/2026/oct/31/mv-odyssey-cruise-passengers-nightmar...
1•mellosouls•2m ago•0 comments

Show HN: Ramekin – IoT development, deployment and update platform via Apptainer

https://github.com/ascension-association/ramekin
1•mrbluecoat•2m ago•0 comments

Show HN: ViBrow – A custom browser engine in pure Python for Raspberry Pi Zero

https://github.com/HYXZKAKONHNK/ViBrow
1•pfehqqq•5m ago•0 comments

The Beleaguered Chip Sellers Getting Their Revenge on Apple

https://www.wsj.com/tech/apple-iphone-memory-chips-ai-c0084cc9
1•shubhamjain•5m ago•0 comments

Drawquarium – Trailer

https://www.youtube.com/watch?v=xqkNEx5z8SI
1•nose•6m ago•0 comments

AI gave me the skills. It didn't give me people

https://apps.apple.com/us/app/neonetworking/id6818046802
2•siennakim•13m ago•0 comments

Anthropic's IPO Date Could Cost Its Employees a Year of Tax Life

https://www.forbes.com/sites/anderson-lafontant/2026/10/29/anthropics-ipo-date-could-cost-its-emp...
2•paaloeye•18m ago•0 comments

Galactus the Devourer and the exponential time hypotheses

https://www.argmin.net/p/galactus-the-devourer
1•LarsDu88•32m ago•1 comments

I take notes as a VC, and the app I built for it

https://daycarp.com/
1•coffeethursday•44m ago•1 comments

Octomind: A coding agent that recalls archived messages after compaction

https://github.com/muvon/octomind
1•donk8r•45m ago•0 comments

InstanStore – AI drafts products and sales pages for a creator store

https://instanstore.com/
1•altuzar•46m ago•0 comments

The biggest names in AI are backing a new way to opt out of scraping

https://www.theverge.com/tech/1023763/openai-google-microsoft-ai-scraping-standard-opt-out
1•noorsimar•50m ago•0 comments

Polish president turns back from Senegal trip after top court chief suspended

https://www.reuters.com/world/africa/polish-president-turns-back-senegal-trip-top-court-chief-sus...
1•aliasxneo•57m ago•1 comments

eMudhra certificate download login brute-force

https://twitter.com/neorevolt/status/2116015926927880488
2•dotmanish•58m ago•0 comments

Britain Narrowly Escaped a Grid Blackout in June 2026

https://hackaday.com/2026/10/30/how-britain-narrowly-escaped-a-grid-blackout-in-june-2026/
3•sohkamyung•1h ago•1 comments

Show HN: Dirjet – A fast, secure local file server that just works

https://github.com/skorotkiewicz/dirjet
2•modinfo•1h ago•0 comments

Parchment Paper History: How We Got Paper Perfect for Baking (2019)

https://tedium.co/2019/11/21/nonstick-parchment-paper-history/
1•colinprince•1h ago•1 comments

Show HN: Huntsman – Self-hosted web scraper that turns pages into Markdown

https://github.com/TulipFarm/huntsman
1•maddhruvhn•1h ago•0 comments

Show HN: Smallest-editor–so-far.exe (912 bytes)

2•andromaton•1h ago•0 comments

Free AI Learning Platform

https://www.aicertificationcouncil.com/
2•quietkernel•1h ago•0 comments

Trouble finding a motivated co-founder

2•emexz•1h ago•2 comments

Scribd Security Incident

https://support.scribd.com/hc/en-us/articles/53787421531284-Information-about-the-recent-security...
2•paaloeye•1h ago•0 comments

Lambda.ai Is Down?

https://lambda.ai
2•aftbit•1h ago•2 comments

Why was the kushner phone hack article flagged on HN?

4•JMiao•1h ago•6 comments

France confirms first Shamonda virus infection in a human

https://www.dw.com/en/france-confirms-first-shamonda-virus-infection-in-a-human-death-of-severely...
1•gmays•1h ago•0 comments

Visit Iceland Will Send a Real Knitter to Your Dumb Meeting So You Can Skip It

https://matadornetwork.com/read/iceland-ai-notetaker-knitting/
4•rdmuser•1h ago•1 comments

UO's Knight-funded engineering school comes at Oregon State's expense

https://www.oregonlive.com/silicon-forest/2026/10/a-lot-of-tension-uos-knight-funded-engineering-...
1•osnium123•1h ago•1 comments

Documenting Architecture Decisions (2011)

https://www.cognitect.com/blog/2011/11/15/documenting-architecture-decisions
4•apitman•1h ago•0 comments

A statement from Novaya Gazeta on the end of its existence

https://novayagazeta.ru/articles/2026/10/30/we-have-been-killed
4•geox•1h ago•1 comments

Apple's Flash Storage Suppliers Are Finally 'Getting Their Revenge'

https://www.macrumors.com/2026/10/30/apple-flash-storage-suppliers-revenge-report/
3•ksec•1h ago•0 comments