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.

The Normalization of Inexplicable Failures

https://www.ihatethefuture.com/2026/09/the-normalization-of-inexplicable.html
1•pxx•28s ago•0 comments

I Gave My Life over to Meta's A.I. Agent and Was Blown Away

https://www.nytimes.com/2026/09/22/technology/meta-muse-ai-agent.html
1•lxm•2m ago•0 comments

We Outsourced the Verb

https://www.yesigiveafig.com/p/we-outsourced-the-verb
1•Ariarule•3m ago•0 comments

Show HN: High-performance, zero-dependency charting engine for Svelte

https://bonguynvan.github.io/tradecanvas/
1•bonguynvan•4m ago•0 comments

Thoughts on HTML's proposed previewsrc attribute

https://shkspr.mobi/blog/2026/09/some-thoughts-on-htmls-proposed-previewsrc-attribute/
1•ajdude•6m ago•0 comments

Numeric just declared war on the journal entry

https://karthikkolapalli.substack.com/p/numeric-just-declared-war-on-the
1•grmatelich•8m ago•0 comments

What's Up with Monomorphism? (2015)

https://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html
1•Frotag•9m ago•0 comments

A20 Pro and on-device AI: It's showtime

https://rickytakkar.com/blog_a20_pro_ai.html?source=hn
1•nullnotzero•9m ago•0 comments

Show HN: Updated Ceptile AI Search Improved Answers and Research

https://www.ceptile.com/
1•ShauryaAgarwalr•12m ago•0 comments

Is AGENTS.md useful? What the research found

https://gethrbr.com/blog/is-agents-md-useful
2•shoustak•15m ago•0 comments

Snowmoon

https://vitalik.eth.limo/snowmoon/
1•mellosouls•17m ago•0 comments

What Improves Developer Productivity at Google? Code Quality

https://dl.acm.org/doi/pdf/10.1145/3540250.3558940
1•gavinhoward•17m ago•0 comments

Show HN: PedalTalk, a hands-free group bike intercom that keeps your music on

https://play.google.com/store/apps/details?id=net.mrlatte.pedaltalk&hl=en_US
1•jongha•18m ago•0 comments

Show HN: Digital Audio Workstation built with stock WebAudio nodes

https://seven.systems/xequence2/demo/demo-deploy/www/index.html
1•intrr•20m ago•0 comments

Ju! Ju! Tsu!

https://arialdo.codeberg.page/ju-ju-tsu/
1•signa11•20m ago•0 comments

Luarocks.org Security Incident, September 2026

https://luarocks.org/security-incident-september-2026
2•sondr3•21m ago•0 comments

Good News for American Renters

https://economist.com/graphic-detail/2026/09/24/good-news-for-american-renters
1•andsoitis•21m ago•0 comments

Show HN: The Standup, releases, advisories and outages for developers

https://standup.thecompound.tech
1•kyisaiah47•22m ago•0 comments

Teaching GPU programming in p5.js: now with compute shaders

https://www.davepagurek.com/blog/p5-compute-shaders/
1•signa11•23m ago•0 comments

Text Gag

https://textgag.com/
1•hackerbeat•27m ago•0 comments

Bill Gates says unchecked AI could 'cause billion deaths' in call for regulation

https://www.theguardian.com/us-news/2026/sep/27/bill-gates-artificial-intelligence-kristen-welker
1•bookofjoe•27m ago•0 comments

GPU Glossary

https://modal.com/gpu-glossary
3•sonabinu•28m ago•0 comments

Nvidia Nemotron 3: Open-weight real-time speaker diarization

https://huggingface.co/blog/nvidia/nemotron-diarization
1•CoderLim110•28m ago•0 comments

Infecting the Steam Link with NixOS

https://feyor.sh/blog/infecting-the-steam-link-with-nixos/
1•birdculture•29m ago•0 comments

Proton Mail confirmed and paid a bounty for a spoofing bug, then left it unfixed

https://github.com/alonsovidales/protonmail-sender-spoofing
1•alonsovidales•29m ago•0 comments

Transcriptome-based classification in mice with ASD-risk mutations

https://www.science.org/doi/10.1126/science.adz6688
1•bookofjoe•32m ago•0 comments

Select * the internet: DuckDB queries 100B rows in 30s

https://motherduck.com/blog/querying-the-entire-internet-100-billion-rows-with-motherduck/
1•dmkii•33m ago•1 comments

Categorization and Representation Physics Problems by Experts and Novice(1981) [pdf]

http://matt.colorado.edu/teaching/highcog/spr10/readings/cfg81.pdf
1•nill0•35m ago•0 comments

Statistical tie with Jev on BANKING77 (91.79% vs. 92.40%, p=0.27) ~1/1000th cost

https://www.reddit.com/r/learnmachinelearning/comments/1wrd95w/statistical_tie_with_jev_on_bankin...
1•KasianFranks•38m ago•0 comments

The Agentic Web

https://hkelkar.com/2026/09/27/the-agentic-web/
1•hvd•38m ago•0 comments