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.

A Feather Found in Dinosaur Poop Might Explain How Birds Beat Extinction

https://www.nytimes.com/2026/09/17/science/feather-dinosaur-poop-bird-extinction.html
1•jvnewman•25s ago•0 comments

VortexKV – 6.8M ops/s pure Go Redis alternative with Web Studio

1•ianshugarg•27s ago•0 comments

Review-comments.nvim: Do code review in Neovim – pass review comments to agents

https://github.com/narqo/review-comments.nvim
1•varankinv•2m ago•0 comments

Goldman Sachs – Physical AI

https://finvaulta.com/share/IiHiYMiUB7CdVQWuq-EKpw
1•campervans•2m ago•1 comments

How macOS Works

https://www.macinternals.app/en
1•terminalbraid•3m ago•0 comments

Poll: Bi-partisan supermajority see serious risk of AI destroying humanity

https://www.politico.com/news/2026/09/16/poll-ai-technology-risks-humanity-trump-voters-01078087
1•JumpCrisscross•4m ago•1 comments

The Auroral Oval [pdf]

https://secwww.jhuapl.edu/techdigest/Content/techdigest/pdf/APL-V06-N02/APL-06-02-Zmuda.pdf
1•joebig•5m ago•0 comments

Streaming real-time HDR reflections to every device

https://www.miris.com/blog/streaming-real-time-hdr-reflections-to-the-web
1•fagnerbrack•5m ago•0 comments

Adventures in Microcontroller Circuit Debugging

https://www.bigmessowires.com/2026/08/30/adventures-in-microcontroller-circuit-debugging/
1•lateatdesk•5m ago•0 comments

A supermajority wants to slow AI down

https://www.natesilver.net/p/a-supermajority-wants-to-slow-ai
1•JumpCrisscross•5m ago•0 comments

Show HN: The Endless Museum, Wikipedia as a walkable museum

https://theendlessmuseum.com/
2•edwardbonnett•8m ago•0 comments

How India Built (and Broke) the Biggest Options Casino

https://www.bloomberg.com/features/2026-india-options-market-boom-bust-sebi/
1•macleginn•11m ago•1 comments

Show HN: OpenUTV professional media player for the masses

https://github.com/openutv/utv
1•mcoliver•13m ago•0 comments

Tell HN: Stop posting your departures from AI labs

1•throwaway-doome•15m ago•0 comments

My first open source feature request

https://github.com/microsoft/WSL/issues/41625
1•ramzxs•17m ago•0 comments

China Stockpiled Oil, and Now It Could Dominate the Energy Landscape

https://www.nytimes.com/2026/09/17/business/energy-environment/china-oil-iran-war.html
1•JumpCrisscross•17m ago•1 comments

Jemalloc 5.4.0 Released

https://github.com/jemalloc/jemalloc/releases/tag/5.4.0
1•gaffneyc•18m ago•0 comments

GPT-6 Astra Solves a WWI German Radio Cipher

https://www.prinzai.com/p/gpt-6-astra-solves-a-wwi-german-radio
3•gwintrob•18m ago•0 comments

From a compose to a trained model – OpenWALDO

https://openwaldo.org/posts/
1•otoburb•19m ago•0 comments

Why Suddenly higgsfield made its core repo Opensource?

1•varshith17•21m ago•0 comments

Taking Out the Trash in Postgres

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

What Is a SCSI Host Adapter?

https://www.hoa.org/blog/jack-allweiss/what-is-a-scsi-host-adapter/
1•bigwheels•24m ago•0 comments

Cook keeping John Ternus away from controversy by attending White House dinner

https://9to5mac.com/2026/09/17/tim-cook-keeping-john-ternus-away-from-controversy-by-attending-wh...
6•alwillis•25m ago•0 comments

Researchers file First Amendment challenge to NIH grant screening

https://www.science.org/content/article/researchers-file-first-amendment-challenge-nih-grant-scre...
2•pseudolus•28m ago•0 comments

Europrogramming: From Eurotheory to Practice

https://www.fabriziomontesi.com/bliki/Europrogramming
1•modaloperator•29m ago•0 comments

Show HN: Publiclandsdata.com – US public lands visitation, reservations, economy

http://www.publiclandsdata.com
3•krndl•29m ago•0 comments

The Bend Programming Language

https://bend-lang.org
2•marvinborner•30m ago•0 comments

Magpie: An app for reading and listening that can also be operated by voice

https://www.henrydashwood.com/posts/magpie
2•HenryDashwood•30m ago•1 comments

Show HN: Animated dither wallpapers for Helium's new tab page

https://github.com/jshph/helium-dither-ntp
1•jphorism•31m ago•0 comments

AI Quant Agora: a forum where only AI agents may post

http://ttob.site/agora/
1•agora-kimi•33m ago•1 comments