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.

Hacker News API Documentation

https://github.com/HackerNews/API
1•asma33•1m ago•0 comments

Ubuntu 26.10 ships with initial upki support

https://discourse.ubuntu.com/t/introducing-initial-upki-support/91540
2•ruimarquesXYZ•8m ago•0 comments

Do the day's losing stocks still bounce in the last half hour? A registered test

https://arxiv.org/abs/2611.09286
5•svidov222•9m ago•0 comments

Why does Reddit want me to use the iOS app on my desktop?

4•corroclaro•12m ago•0 comments

The Challenge of Separating All Things Seen from All Things Unseen

https://www.jagregory.com/abrash-black-book/#the-challenge-of-separating-all-things-seen-from-all...
1•taspeotis•13m ago•0 comments

Show HN: 130M mutations against Solana's consensus parsers, zero crashes

https://github.com/latent-9/chainoffuzz
1•latent-9•18m ago•0 comments

Reddit's app download popup is blocking desktop browsing

https://www.reddit.com/r/bugs/comments/1xtdlv7/windowsweb_it_seems_like_the_ios_get_the_app/
4•pavelrub•20m ago•0 comments

QNet: An open-source post-quantum state machine built in Rust

https://github.com/AIQnetLab/QNet-Blockchain
1•egheose13•22m ago•0 comments

Will It Tip?

https://kerfcraft.app/blog/will-it-tip/
1•asoorm•23m ago•0 comments

Phala Confidential AI Compromised

https://phala.com/posts/phala-november-preliminary-incident-report
2•miohtama•23m ago•0 comments

AI companion that matches humans

https://kindredso.social
1•harunselam1•26m ago•1 comments

Show HN: Ascope – Daily App Store and Google Play keyword ranks, native Mac app

https://ascope.app/
2•ssarisen•27m ago•0 comments

Discovery of doughnut-like topology at tipping points breaks physics convention

https://www.scmp.com/news/china/science/article/3371371/chinese-discovery-doughnut-topology-tippi...
1•bryanrasmussen•29m ago•0 comments

Update on Code of Conduct Actions

https://discourse.gnome.org/t/update-on-code-of-conduct-actions/39994
1•lakeviewterrace•32m ago•0 comments

Technology Radar Vol 35

https://www.thoughtworks.com/en-de/radar
6•epaga•36m ago•0 comments

GeminiRealEstate

https://gemini-real-estate-b-u220.bolt.host/
2•emmanuelnyonges•36m ago•0 comments

Extensible Web Apps

https://aifoc.us/extensible-web-apps/
1•kinlan•38m ago•0 comments

'Apple Support Community' Permanently Closing on November 20

https://www.macrumors.com/2026/11/10/apple-support-community-closing-november-20/
2•thm•38m ago•0 comments

An AI flyer designer that generates designs with code, not images

https://www.tryanvil.dev/
1•Alumu•40m ago•0 comments

We Run a Bootstrapped AI Startup on Almost Zero Operating Costs

https://dmv.is-a.dev/writing/how-we-run-a-bootstrapped-ai-startup-on-almost-zero-operating-costs
1•divija07•40m ago•0 comments

How to Scrape Apple App Store Reviews and App Data

https://scrapfly.io/blog/posts/how-to-scrape-app-store
4•Dylan-Hayes•40m ago•0 comments

Claude Harness to Avoid Getting Trapped in Junior Developer Purgatory

https://piethanegraaf.github.io/en/
2•Piet_Hanegraaf•41m ago•0 comments

The Lost World of Aquaterra

https://www.theatlantic.com/magazine/2026/12/aquaterra-ancient-human-migration/689029/
1•admp•41m ago•0 comments

The Outsiders of Uskoken Castle

https://en.wikipedia.org/wiki/The_Outsiders_of_Uskoken_Castle
1•tosh•43m ago•0 comments

Show HN: Torko – Search Indian parliamentary debates by topic, member and place

https://torko.in
2•oitihjya•43m ago•0 comments

Load Native Angular Translations at Runtime

https://medium.com/@tomasreznar/how-to-load-angular-translations-at-runtime-one-build-for-every-l...
1•anianz•43m ago•0 comments

Where Does the Experience Come From?

https://bytecode.news/posts/2026/11/where-does-the-experience-come-from
1•theanonymousone•44m ago•0 comments

Just Write Rust

https://hamy.xyz/blog/2026-11_just-write-rust
2•speckx•47m ago•1 comments

Nintendo Targets Picofly Switch Modchip Firmware in GitHub DMCA Takedown

https://torrentfreak.com/nintendo-targets-picofly-switch-modchip-firmware-in-github-dmca-takedown/
3•rdmuser•52m ago•0 comments

Earliest polar vortex collapse threatens to unleash weather chaos

https://www.telegraph.co.uk/world-news/2026/11/06/earliest-polar-vortex-collapse-threatens-weathe...
2•tosh•53m ago•0 comments