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.

Best thing I read today, "how open is your software factory"

https://tessl.io/blog/how-open-is-your-software-factory
1•rohansrma•3m ago•0 comments

The piano test for program verification (2011)

https://blog.regehr.org/archives/364
1•azhenley•3m ago•0 comments

Dhwani: A self-hosted voice notes app built with Whistle by Cactus Compute

https://github.com/snehaldutta/Dhwani
1•deepDutta_003•3m ago•0 comments

Show HN: I use it to find ideas and figure out direction

https://seekstar.app
1•hanstyle•5m ago•0 comments

Discovering and exploiting vulnerabilities in critical software with Claude

https://www.anthropic.com/research/discovering-vulnerabilities-with-claude
2•serioussecurity•8m ago•0 comments

A QE Q&A [pdf]

https://www.hks.harvard.edu/sites/default/files/centers/mrcbg/files/PSheardQEQAAugust2014.pdf
1•burekqueen•11m ago•0 comments

A Second Look at Apple's Secure Kernel

https://www.antid0te.com/blog/secure-kernel-first-look-erratum.html
1•frostbyte7•11m ago•0 comments

Spatial Reality Display ELF-MN1 Developer Site

https://xyn.sony.net/en/developer/spatial-reality-display-mini
1•Bluestein•13m ago•0 comments

Mathematics of the Future [pdf]

https://math.mit.edu/~etingof/futuremath.pdf
1•the-mitr•23m ago•0 comments

Weibel Labs

https://weibellabs.com/
1•lokimedes•42m ago•0 comments

Each filter was right; together they let through two sentences a day

https://iampneuma.com/each-filter-was-right/
1•barronai•47m ago•0 comments

zzz.com – Jason's Page

https://zzz.com/
1•gregsadetsky•48m ago•0 comments

Soda Honey Boost ReviEwS (2026): We Tried It My Honest Review

https://prezi.com/i/ak3xz3qui1ai/soda-honey-boost-reviews-2026-we-tried-it-my-honest-review
1•gayplaku•49m ago•0 comments

Eyespots in Automeris Moths Mimic Sympatric Owl Species

https://onlinelibrary.wiley.com/doi/full/10.1002/ece3.74144
1•bryanrasmussen•49m ago•0 comments

VisualMaths

https://www.visualmaths.world/en
3•smallkelly•53m ago•0 comments

Retrace: Find the Origin of Any Image

https://retrace.archivarix.net
1•archivarix•57m ago•1 comments

Research paper: early ratings create herding bias in product review systems

https://dlab.epfl.ch/2017-08-30-of-sheep-and-beer/
2•shanedevane•59m ago•0 comments

Exiled Brazilian political opponent's desperate run for the US through Argentina

https://www.cnn.com/2026/10/27/americas/flavio-bolsonaro-brazil-passports-latam-intl
1•felipelalli•1h ago•0 comments

Mrzkh

https://tryorbs.com/
1•ZKH211•1h ago•0 comments

Show HN: CI-Lifeboat – Offload GitHub Action runners to your desktop

https://github.com/olaryn-lab/ci-lifeboat
2•pankaj4u4m•1h ago•0 comments

RAG retrieval accuracy depends on chunking. I measured how much

https://medium.com/@sankeerthan.kasilingam/rag-retrieval-accuracy-depends-on-chunking-i-measured-...
2•sankeerthan•1h ago•0 comments

Operative report for the first liver transplant (1963)

https://imgur.com/gallery/ArnHHRU
1•HNuseraccount•1h ago•1 comments

From May-October this year, I recovered 490 pieces of the famous Doves Type

https://www.instagram.com/p/DevvGHjjlvL/
1•robin_reala•1h ago•0 comments

Worm is Getting a 2027 Comic Adaptation with IDW Publishing

https://parahumans.wordpress.com/2026/10/27/worm-is-getting-a-2027-comic-adaptation-with-idw-publ...
1•networked•1h ago•0 comments

Melting glaciers in Dolomites reveal cache of first world war munitions

https://www.theguardian.com/world/2026/oct/27/melting-glaciers-dolomites-first-world-war-munition...
1•Teever•1h ago•0 comments

Satellites show some of the strongest evidence the AMOC is weakening

https://www.newscientist.com/article/2595629-satellites-show-some-of-the-strongest-evidence-the-a...
3•signa11•1h ago•0 comments

Why My Dad Didn't Have a Cell Phone

https://blog.jim-nielsen.com/2026/why-dad-didnt-have-cellphone/
3•Curiositry•1h ago•1 comments

Building an AI Predictive Stock Algorithm

https://getfintab.com/blog/ai-predictive-stock-algorithm
3•conschy•1h ago•1 comments

Sony ELF-MN1 Spatial Reality Display

https://xyn.sony.net/en/news/2026-srd-elf-mn1_release
2•armcat•1h ago•0 comments

AetherGrid, an open-source distributed AI workload orchestrator

https://github.com/wycliffRotich-dev/aethergrid
1•WycliffeRotich•1h ago•0 comments