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.

AI Computing Infrastructure·Technical Explainer – H200 NDR 400G / B300 XDR 800G

https://www.quora.com/profile/Lanra-1/How-should-I-choose-fiber-cabling-for-400G-and-800G-InfiniB...
1•Lanra-KEXINT•8m ago•0 comments

List of Individual Cats

https://en.wikipedia.org/wiki/List_of_individual_cats
1•cl3misch•9m ago•0 comments

Local Analytics Doesn't Need a Database Server

https://duckdb.org/2026/11/12/local-analytics-without-a-database-server
1•marklit•10m ago•0 comments

MailsDaddy PST to Office 365 Migration

https://www.mailsdaddy.com/pst-to-office-365-migration-tool/
1•rajatjaw•10m ago•0 comments

Show HN: An interactive family tree of programming languages

http://www.peopleplotr.com/storytree/guide/programming-languages/
1•alexkearns•12m ago•0 comments

SBC-emu: single-board computers emulated in Rust

https://joakimeriksson.github.io/sbc-emu/
1•adunk•14m ago•0 comments

Far can you travel across Great Britain in 24 hours using only local buses

https://edjefferson.com/dingding/
1•mariuz•22m ago•0 comments

The Last Room in Riemann's House

https://medium.com/the-quantastic-journal/the-last-room-in-riemanns-house-ffbc3e924ed7
1•cadeos•23m ago•0 comments

Confluent spent 3 months rewriting Kafka's client in Rust and had to restart

https://thenewstack.io/confluent-kafka-rust-agents/
1•theanonymousone•26m ago•0 comments

Cgo's pointer check is all over the place

https://theconsensus.dev/p/2026/11/15/cgos-pointer-check.html
3•birdculture•31m ago•0 comments

Someone checked every link that made the Hacker News front page since 2007

https://reddit.com/r/DataHoarder/comments/1y50qju/i_checked_every_link_that_made_the_hacker_news/
3•justauserid•36m ago•2 comments

The rise of AI in mathematics – and science [pdf]

https://www.nature.com/articles/s43588-026-01112-8.pdf
2•greekanalyst•40m ago•0 comments

Why Automated Proof-Solving Is the Same Old Dead End

https://arxiv.org/abs/2611.31286
3•pseudohadamard•42m ago•1 comments

Tidal Bans AI-Generated Music

https://variety.com/2026/music/news/tidal-bans-ai-generated-music-tracks-1236956924/
3•daniel_iversen•43m ago•0 comments

Rayfast: A 167 KB macOS launcher using about 12 MB at rest

https://www.adagradschool.com/rayfast/
2•adagradschool•43m ago•0 comments

Half of NASA's aging Mars fleet knocked offline by technical issues

https://arstechnica.com/space/2026/11/half-of-nasas-aging-mars-fleet-knocked-offline-by-technical...
2•dverlaeckt80•44m ago•0 comments

iTerm2 Arbitrary Command Execution via Kitty Image Protocol APC Injection

https://ii4gsp.github.io/iterm2-rce/
2•dverlaeckt80•44m ago•0 comments

Scanning every new crates.io crate for malicious code with decision models

https://rustfoundation.org/media/needles-haystacks-and-numbers-between-0-and-1/
3•dverlaeckt80•44m ago•0 comments

Testing DuckDB with Hypothesis

https://wyounas.github.io/2026/10/26/finding-bugs-in-duckdb-with-property-based-testing/
2•simplegeek•47m ago•0 comments

Show HN: Production Grammar-Guided Decoding in vLLM with Xgrammar Benchmarks

https://github.com/grfdsasdvef/vllm-constrained-decoding-cookbook
2•snowdensay•49m ago•0 comments

Guide to Fortnite Golden Week Loot, Rewards and Events

https://goldenweek.wiki/
2•daisyjin•54m ago•0 comments

Show HN: AdaptOrch reviews the explanation. You review the change

https://adaptorch.com/
2•dmae97•54m ago•0 comments

Unified Foundations for Mathematics

https://arxiv.org/pdf/math/0403186
3•greekanalyst•55m ago•0 comments

Magnitude – Run powerful open models on the hardware you own

https://magnitude.dev
2•epaga•57m ago•0 comments

VasoHard – Benefits, Features and Complete Product Guide

https://open.spotify.com/episode/4cK7zpgE8o8ng1xFX8QdlU
1•samveldridg•58m ago•1 comments

DBHub 2.0.0

https://dbhub.ai/blog/dbhub-2-0-0
1•jinqueeny•1h ago•0 comments

WordPress Drops to 38.4% of the Web, Down Nearly 5 Points in a Year

https://www.searchenginejournal.com/wordpress-drops-to-38-5-of-the-web-down-nearly-5-points-in-a-...
2•mirza_rizvi•1h ago•0 comments

Ghost strikes: the new drone superpowers raining death from above

https://www.theguardian.com/global-development/ng-interactive/2026/nov/25/ghost-strikes-the-rise-...
7•xyzal•1h ago•0 comments

How Could Thermal Noise Transmit Data?

https://spectrum.ieee.org/thermal-noise-communication-impedance
2•ersinesen•1h ago•0 comments

Jcorp-nomad: An compact offline media server for Movies, Shows, Music

https://github.com/Jstudner/jcorp-nomad
1•thunderbong•1h ago•0 comments