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.

OpenAI – Elevated ChatGPT Issues

https://status.openai.com
1•robeym•12s ago•0 comments

US judge dismisses Chegg, Penske antitrust suits over Google AI Overviews

https://reuters.com/legal/litigation/google-wins-dismissal-chegg-penske-media-lawsuits-over-ai-ov...
2•utiiiD•49s ago•0 comments

Anatomy of a Lean Proof for Software Engineers

https://agostbiro.net/posts/2026-10-anatomy-of-a-lean-proof/
1•abiro•1m ago•0 comments

Ovarian Biology: Revisiting the rete ovarii (2025)

https://elifesciences.org/articles/106648
1•Tomte•2m ago•0 comments

Show HN: D-Engine – deterministic LLM code edits, 42× fewer tokens than an agent

https://github.com/corruchaga/D-Engine
1•sergiocorruchag•2m ago•0 comments

Star Hop: Endless Galaxy

https://www.star-hop.app/
1•dschnelly•4m ago•0 comments

MTV Didn't Die of Bad Taste: It Died the Day the Doors Multiplied

https://comuniq.xyz/Music/post?t=1716
1•01-_-•4m ago•0 comments

First enhanced geothermal power plant completed in just 23 months

https://techcrunch.com/2026/10/01/worlds-first-enhanced-geothermal-power-plant-completed-in-just-...
1•speckx•5m ago•0 comments

I rebuilt Claude Code's terminal UI in Rust. Then I deleted 12,000 lines of it

https://medium.com/@simonrothgang/i-rebuilt-claude-codes-terminal-ui-in-rust-then-i-deleted-12-00...
1•srothgan•6m ago•0 comments

An in-the-wild iOS bug with a possible WhatsApp zero-click path

https://calif.io/research/the-great-glyph-grift
1•metrofun•7m ago•0 comments

Tell HN: Get the app to keep using Reddit

4•sippingabonedry•7m ago•1 comments

Postgres DELETE can actually scale

https://www.dbos.dev/blog/scaling-deletions-in-postgres
1•KraftyOne•12m ago•0 comments

The Programming Language That Referees Mathematics – Leo de Moura [video]

https://www.youtube.com/watch?v=ZpQFebTK75A
1•digital55•12m ago•0 comments

Fieldwork Icon Design Benchmark

https://fieldwork.software/eval/icon-design
2•jeffpersonified•14m ago•1 comments

Terminal Email: terminal email clients for every system

https://terminalemail.com/
2•shaunatfe•15m ago•0 comments

Show HN: Large Print Maker – large-print PDFs generated in the browser

https://largeprintmaker.com/
1•xmasdong•15m ago•0 comments

Show HN: Mutually beneficial agentic Common Law

https://www.peregrini.ai
1•AKalyk•15m ago•0 comments

Binance Founder's Life After Prison

https://www.nytimes.com/2026/10/01/business/changpeng-zhao-binance.html
2•igonvalue•18m ago•1 comments

PAPod 617 – The Case Against Immediate Improvement

https://preaccident-investigation-podcast.onpodium.com/episodes/papod-617-rome-wasnt-built-at-8-a...
1•rglover•18m ago•0 comments

New Hands for Atlas – Boston Dynamics [video]

https://www.youtube.com/watch?v=4whgw2gLBS8
1•twalichiewicz•20m ago•0 comments

Analyzing the known universe of Silicon Valley characters and companies

https://twitter.com/johnsillings/status/2105726380004491388
2•johnsillings•20m ago•0 comments

SaSh: Ahead-of-time Analysis of Shell Program Effects

https://github.com/atlas-brown/sash
1•matt_d•21m ago•1 comments

Anthropic Said to Target Mega-IPO Before Thanksgiving Holiday

https://www.bloomberg.com/news/articles/2026-10-01/anthropic-said-to-target-mega-ipo-before-thank...
2•mfiguiere•22m ago•0 comments

Stock trading by US senators alongside the S&P 500 in 2026

https://www.kadoa.com/congress/insights/weekly-trading
2•hubraumhugo•23m ago•1 comments

Apedia

https://apedia.study
1•agustinzago•25m ago•0 comments

Show HN: Android closed testing badge split in two

1•cs1996•28m ago•0 comments

iPod of 2026

https://sudo.music/
2•kapsteur•28m ago•1 comments

Can typesafe.ai Jev model talk? – they said no

https://github.com/huemorgan2/say-hi
1•maxheyer•29m ago•0 comments

An agent is not an extension of the employee who created it

https://getlago.com/blog/how-to-bill-ai-agents.md
1•ilreb•31m ago•0 comments

Thinking Before Thinking: Scaling Agentic Inference Through Meta-Reasoning

https://arxiv.org/abs/2609.38147
1•theanonymousone•31m ago•0 comments