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.

New gTLD Program: 2026 Round Application Statistics

https://newgtldprogram-aps.icann.org/statistics
1•jaredwiener•13s ago•0 comments

Push Ifs Up and Fors Down: The Idiom, Its Algebra, and Its Limits

https://debasishg.github.io/blog/push-ifs-up-fors-down/
1•speckx•1m ago•0 comments

Ask HN: What will be the next AI wave?

1•mathieu_aithos•2m ago•0 comments

OpenDocRouter: A Unified API for OCR Models

https://www.opendocrouter.ai/
1•cheesyFish•3m ago•0 comments

Everyone Is an Engineer Now

https://www.jacob.co/blog/everyone-is-an-engineer
1•jacobsimon•3m ago•0 comments

Show HN: TraceUX – Self-hosted session replay in one Go binary

https://github.com/fjosue4/trace-ux
2•fjosue4•3m ago•0 comments

Proteus: A hypervisor-agnostic VPC for Triton Cloud

https://tritoncloud.io/blog/proteus-a-hypervisor-agnostic-vpc-for-triton-cloud/
2•NexRebular•3m ago•0 comments

Moon – A mood tracker where the app does the math and the LLM only writes

https://moonapp.lv/
4•nikkey80•5m ago•0 comments

A hallucinated module, a backfiring RAG pipeline and the MCP server to fix it

https://tmtabor.io/blog/genepattern-copilot/
2•tmtabor•7m ago•0 comments

Measure how often coding agents choose your devtool

https://agentpicks.io
4•iacguy•7m ago•0 comments

Ask HN: Will mental health improve as AI brings mathematicians down to earth?

2•amichail•8m ago•0 comments

'Artificial' Took on a Big Tech Giant. Hollywood Wasn't Ready

https://www.hollywoodreporter.com/movies/movie-features/artificial-exclusive-luca-guadagnino-andr...
2•laurex•9m ago•0 comments

What Will Happen to Indian IT? Past and Future of the "world's back office."

https://asteriskmag.com/issues/15/what-will-happen-to-indian-it
2•pseudolus•10m ago•0 comments

I indexed 109k events across 50 cities – 83% don't publish a price

https://arclight.events/data
2•Siddhant8019•11m ago•0 comments

Show HN: Wrapper for Free Open Router Models

https://wfform.com/
1•metaph6•11m ago•0 comments

Reverse Easter Egg from 2012

https://tobeornottobe.com
1•sans_souse•11m ago•0 comments

Show HN: Am Buffer – an iPhone alarm that blocks your apps when you wake up

https://testflight.apple.com/join/wpw36PnW
1•aggarwals5411•12m ago•0 comments

Tesla is browbeating the EU to approve its 'Full Self-Driving' tech

https://www.reuters.com/investigations/tesla-is-browbeating-eu-approve-its-full-self-driving-tech...
2•jasoncartwright•12m ago•0 comments

Connect-go v2 is here

https://buf.build/blog/connect-go-v2
2•joonas•13m ago•0 comments

Canonical Reaffirms Plans for Ubuntu 27.04 to Use Ntpd-Rs by Default

https://www.phoronix.com/news/Ubuntu-27.04-ntpd-rs-Plans
1•Bender•15m ago•0 comments

ID.me

https://en.wikipedia.org/wiki/ID.me
1•bariumbitmap•15m ago•0 comments

Oscar, the Open Source CPAP Analysis Reporter

https://www.sleepfiles.com/OSCAR/
1•axiomdata316•15m ago•0 comments

Disloyalty

https://pluralistic.net/2026/10/07/gouged/
1•hn_acker•15m ago•0 comments

First proof-native blockchain. E2E post-quantum by default. Colosseum arena

https://colosseum.com/arena/projects/parano1d
3•notsatoshinotsa•16m ago•0 comments

From iPhone to Fairphone with /E/OS

https://boehmax.org/2026/10/06/from-iphone-to-fairphone/
1•miramba•17m ago•0 comments

A model guide for the GPT‑6 family

https://openai.com/index/practical-guide-building-gpt-6/
1•saikatsg•18m ago•0 comments

Tabula rasa RL beats craftax

https://rekursiv.ai/blog/craftax/
1•dfacto•18m ago•0 comments

Federal Court Says Flock ALPR Database Searches Require a Warrant

https://www.techdirt.com/2026/10/07/federal-court-says-flock-alpr-database-searches-require-a-war...
2•hn_acker•18m ago•0 comments

Everything we know about Microsoft's Surface Laptop Ultra

https://www.engadget.com/2280302/microsoft-surface-laptop-ultra-specs/
3•flowerlad•20m ago•0 comments

Planet Candidate Found with Claude

https://zenodo.org/records/22967456
1•kinduff•20m ago•0 comments