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.

Tortoise and the Birds – an African folktale recreated with Lego animation [video]

https://www.youtube.com/watch?v=EVHlqLa7-u0
1•CodePapi_•2m ago•1 comments

Show HN: Nuzzle – adorable live wallpapers of your pets

https://usenuzzle.com
1•13001r•2m ago•0 comments

Against Dumb Vibe Coding, Not Vibe Coding

https://funnygeek.com/essays/vibe-coding-speech/
1•ifoo•4m ago•1 comments

Show HN: Drop a SQL schema, get an interactive ER diagram

https://mcdview.dev/
1•PatuDev•4m ago•0 comments

Mitchell Hashimoto: Basic Superlogical Demo

https://twitter.com/mitchellh/status/2093451043661316217
1•mdrachuk•7m ago•0 comments

The U.S. Munitions Crisis

https://www.cfr.org/articles/the-u-s-munitions-crisis
1•Betelbuddy•7m ago•0 comments

Show HN: Time tracking for solo consultants that ends in a PDF invoice

https://hourtobill.com/demo
1•Stackedboost•8m ago•0 comments

Tja – TUI for learning German verbs in your terminal, one-armed-bandit style

https://github.com/progapandist/tja
1•progapandist•8m ago•1 comments

US Threatens Britain over Falklands

https://www.telegraph.co.uk/world-news/2026/08/28/us-uk-boost-defence-spending-lose-falklands-sup...
1•Betelbuddy•10m ago•0 comments

Iceland votes against restarting talks on joining EU

https://www.bbc.com/news/articles/c70le8ed1plo
2•vinni2•11m ago•0 comments

Show HN: Train 300M/32-Layer Model in 1.5GB RAM on Base M1 Mac

1•vlad_kalinkin•11m ago•0 comments

Only believe what you can validate: a verification framework for agentic AI

https://devblogs.microsoft.com/all-things-azure/only-believe-what-you-can-validate/
1•yani__•13m ago•0 comments

Delhi Metro Jazz

https://www.delhimetrojazz.com/
1•mscholz•15m ago•0 comments

Veldo: Stop paying for App Store keywords that never pay back

https://veldo.app/
1•welsenesbros•17m ago•0 comments

Show HN: Rose – reusable foundation embeddings for industrial 1H NMR

https://github.com/romboai/rose-1h-nmr
1•zaza3311•18m ago•0 comments

The Complex Tech Behind Growing Diamonds in Minutes [video]

https://www.youtube.com/watch?v=SPAMTs6Ug20
1•binyu•18m ago•0 comments

Berlin is being blackmailed by hackers

https://www.bbc.com/news/articles/cm2q7gv3l5qo
2•dudefeliciano•20m ago•0 comments

VibeGuard – security linter for AI-generated code

https://github.com/zeroFhacker/vibeguard
1•obadafid•23m ago•0 comments

Lamb Grazing in Solar Farms

https://spacedaily.com/b-lambs-grazing-under-an-oregon-solar-farm-had-38-percent-less-grass-in-fr...
2•anu7df•26m ago•0 comments

My fat loss experiments with ChatGPT and water fasting

https://community.webminal.org/t/my-fat-loss-experiments-with-chatgpt-and-water-fasting/8846
6•giis•28m ago•2 comments

Observations Around Prominent Programmer Sentiment and AI

https://blog.g9n.com/observations-around-prominent-programmer-sentiment-and-ai
1•gb2d_hn•29m ago•0 comments

Fair Work Commission condemns 'plain wrong' AI legal advice

https://www.abc.net.au/news/2026-08-29/fair-work-commission-condemns-ai-legal-advice/107089766
5•martyvis•29m ago•0 comments

What We Tell AI

https://www.whatwetellai.com/
3•thm•33m ago•0 comments

Structure is cheaper than intelligence

https://jeroensangers.com/2026/08/30/structure-is-cheaper-than-intelligence.html
3•meetpateltech•38m ago•0 comments

A pure Rust Layer-1 with 2,048 concurrency lanes and static scheduling

https://synapticchain.xyz
2•abdulshabazz•40m ago•0 comments

Ask HN: Which repos have merged PRs worth reading?

1•justabuilder•44m ago•0 comments

RoyalSonic – Affordable business email and groupware suite

https://www.royalsonic.com/shop-2/
1•dhamanij•46m ago•0 comments

Which repos have merged PRs worth reading?

1•justabuilder•46m ago•0 comments

Does Computer Science Need Computers?

https://www.quantamagazine.org/does-computer-science-need-computers-20260828/
2•Michelangelo11•46m ago•2 comments

Spark: Sparklines in your shell

https://git.zx2c4.com/spark/about/
13•hskimse•47m ago•1 comments