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.

An atlas of periodic solutions to the three-body problem

https://www.threebodyorbits.com/
1•danielmorozoff•4m ago•0 comments

Revolut Confirms Sending Passport and Bitcoin Records to Fake Government Email

https://beincrypto.com/revolut-data-breach-fake-government-request/
1•Daniel_sk•4m ago•0 comments

Anti-Conversion Laws: WHO Gave the Mob a Badge?

https://substack.com/profile/549397477-india-unfiltered/note/c-335340749
1•INDIAUNFILTERED•5m ago•0 comments

Anatomy of the AI Debate

https://piotrzientara.pl/anatomy-of-the-ai-debate/
1•piotrzientara•8m ago•0 comments

'Immature playground boasting': Mathematicians uneasy at OpenAI's latest scalp

https://www.theguardian.com/science/2026/sep/12/openai-mathematicians-millennium-prize-problem
2•sbulaev•10m ago•0 comments

Google Might Have Achieved RSI

https://twitter.com/pankajkumar_dev/status/2098534988107133082
2•Bluestein•16m ago•0 comments

A Design Space Exploration of Async/Await

https://arxiv.org/abs/2608.20677
2•vinhnx•18m ago•0 comments

Glutensa – Privacy-first gluten scanner PWA

1•kregtr•21m ago•0 comments

Open Letter on the Massacre in Gaza from an Editor in Israel (2025)

https://lithub.com/an-open-letter-on-the-massacre-in-gaza-from-an-editor-in-israel/
1•sanbor•26m ago•0 comments

The Courage of the Polymaths

https://protesilaos.com/commentary/2026-09-12-courage-polymaths/
2•dalvrosa•26m ago•0 comments

The four-colour theorem was only the start

https://lemire.me/blog/2026/09/11/the-four-colour-theorem-was-only-the-start/
1•dalvrosa•26m ago•0 comments

Show HN: Portspan – A self-hosted ngrok alternative with wildcard subdomains

https://github.com/famasya/portspan
1•pacific01•27m ago•0 comments

Google Has Achieved RSI

1•AlexWApp•31m ago•0 comments

Optimizing a Spin-Lock

https://david.alvarezrosa.com/posts/optimizing-a-spin-lock/
4•signa11•33m ago•1 comments

Small Asian Grocery Stores Can Improve Local Product Discovery

2•yatifoods•33m ago•0 comments

Amazon expands shoppable features on Prime Video

https://press.aboutamazon.com/prime-video/2026/9/the-prime-video-shop-the-show-experience-introdu...
2•thm•36m ago•0 comments

Grigori Perelman

https://en.wikipedia.org/wiki/Grigori_Perelman
2•YeGoblynQueenne•40m ago•0 comments

Why Authenticity Matters in Personal Development

https://medium.com/@flaviopilotodasilva/why-authenticity-matters-in-personal-development-d75de9a3...
2•flaviopilotodas•44m ago•0 comments

Hallucinate got a jetpack – MMO Rave

https://hallucinate.site/?hn
3•stagas•47m ago•0 comments

BabaCAD Robotics Web – free browser-based industrial robot simulator

https://www.babacad.com/robotics/web/
2•comirza•48m ago•0 comments

Pnpm 12.4 can install Rust crates and Python packages

https://pnpm.io/blog/releases/12.4
1•novoreorx•50m ago•0 comments

Show HN: We built a local-first Android agent. Then Meta launched Muse

https://creepy.im/
2•kotleta552•51m ago•0 comments

The core arguments behind the Rockstar union busting trial

https://www.gamedeveloper.com/production/rockstar-and-fired-gta-developers-outline-core-arguments...
3•EvgeniyZh•54m ago•0 comments

Decky: Open-source DIY stream deck

https://github.com/Fenish/decky
3•thunderbong•55m ago•0 comments

Deep dive on evals for agents [video]

https://www.youtube.com/watch?v=UxMZfbWI3LY&list=PLo2EIpI_JMQvQZm-kVlz4wY1vWF0LBcf5&index=1
2•porridgeraisin•55m ago•0 comments

New Solar Panel Technology Trends for 2026 (UK)

https://spectrumenergysystems.co.uk/articles/new-solar-panel-technology-trends-for-2026/
2•DamonHD•1h ago•0 comments

Resistance Training Prescription for Muscle Function, Hypertrophy in Health

https://pmc.ncbi.nlm.nih.gov/articles/PMC12965823/
8•ultral•1h ago•0 comments

Perplexity trusts GPT‑6 Astra with end-to-end systems

https://openai.com/index/perplexity-improving-accuracy-with-astra/
2•ENOMEM•1h ago•0 comments

What do you think of controlling your agent via Siri

1•in_making•1h ago•0 comments

Rust-Like Syntax for WebAssembly

https://github.com/ocsigen/wax
3•alex_hirner•1h ago•0 comments