frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

Five Levels of Adding AI to Your SaaS App

https://shivekkhurana.com/blog/five-levels/
1•shivekkhurana•2m ago•0 comments

The Florida woman catfishing America's political class

https://www.politico.com/news/2026/06/02/bumble-new-jersey-gamble-catfishing-crowder-00941061
1•_tk_•2m ago•0 comments

Umami: An open-source alternative to Google Analytics, Mixpanel and Amplitude

https://github.com/umami-software/umami
1•ksec•4m ago•0 comments

Free vLLM Course: Inference, Compression, Benchmarks

https://www.deeplearning.ai/courses/fast-and-efficient-llm-inference-with-vllm
2•twelvenmonkeys•6m ago•0 comments

The Bloat

https://milkandcigarettes.com/notes/devlog/the-bloat
1•tarxzvf•9m ago•0 comments

Facing life-threatening miscarriage in Arkansas, calls to governor didn't help

https://www.cnn.com/2026/05/28/health/arkansas-miscarriage-abortion-ban-propublica
4•orwin•10m ago•1 comments

The Relaunch of the Old West and Why I Chose Vanilla PHP

https://blog.alexseifert.com/2026/06/02/the-relaunch-of-the-old-west-and-why-i-chose-vanilla-php/
1•SeenNotHeard•11m ago•0 comments

Batching API Calls

https://www.mostlypython.com/batching-api-calls/
1•speckx•12m ago•0 comments

Show HN: Mashines.dev – Live-migrate microVMs between hosts without restarting

https://mashines.dev/
1•ktaraszk•14m ago•0 comments

Impermeabiliza uses AI to modernize waterproofing in Valencia

https://impermeabiliza.net/
1•ignival•17m ago•0 comments

Microsoft unveils new AI models

https://microsoft.ai/models/
5•helloplanets•18m ago•0 comments

Tesla Cybertruck resale value plunges amid sales slump

https://www.msn.com/en-us/money/companies/tesla-cybertruck-resale-value-plunges-amid-sales-slump/...
5•petethomas•18m ago•2 comments

AI enthusiasts racing against time; AI skeptics are racing against entropy

https://charitydotwtf.substack.com/p/ai-enthusiasts-are-in-a-race-against
1•SLHamlet•20m ago•0 comments

AgentSight: System-wide AI agent tracing and monitoring with eBPF

https://github.com/eunomia-bpf/agentsight
2•tanelpoder•20m ago•0 comments

I believe a whole generation of developers miss how open source used to work

https://twitter.com/mitsuhiko/status/2062181646804152626
4•tosh•21m ago•1 comments

Gooey: A GPU-accelerated UI framework for Zig

https://github.com/duanebester/gooey
3•ksec•21m ago•0 comments

Network State Propaganda

https://capirates.substack.com/p/theyre-telling-you-exactly-what-theyre
3•tjcrowley•22m ago•0 comments

The 15-minute city is a dead end

https://blogs.lse.ac.uk/covid19/2021/05/28/the-15-minute-city-is-a-dead-end-cities-must-be-places...
1•Anon84•24m ago•0 comments

Book of Cron Job [fiction]

https://www.nature.com/articles/d41586-026-01716-0
2•apotheosized•24m ago•0 comments

Show HN: Hive Trust – Ed25519-signed benchmarks for every AI inference primitive

https://thehiveryiq.com/trust/
1•thehivery•25m ago•0 comments

Knowable – Open-Source Personal AI Tutor on macOS

https://knowable.ca/
2•samuelzxu•26m ago•1 comments

See SBA Loans Around You

https://www.loanround.com
1•zarie•27m ago•0 comments

Safe Made Easy Pt.2: Don't Fear the Ref

https://ergeysay.github.io/safe-made-easy-pt2.html
3•ergeysay•27m ago•0 comments

I benchmarked Opus 4.8 vs. GPT 5.5 on 2 open source repos

https://www.stet.sh/blog/opus-48-vs-gpt-55-vs-opus-47-vs-composer-25
3•bisonbear•27m ago•0 comments

The Download: Trump's new AI order, and smart glasses for warfare

https://www.technologyreview.com/2026/06/03/1138322/the-download-trump-ai-order-smart-glasses-war...
1•joozio•29m ago•0 comments

10M requests in my bot black hole

https://gladeart.com/blog/10-million-requests-in-my-bot-black-hole-here-is-some-information
1•itsJustTrivial•30m ago•0 comments

Stats from 30K AI debates: Opus 4.7 is the most influential model

https://opper.ai/ai-roundtable/stats
5•felix089•30m ago•1 comments

How to Build an ML Framework in Rust, from Scratch, in a Weekend

https://www.erikkaum.com/blog/zml/index.html
1•tosh•31m ago•0 comments

NASA Says Farewell to Maven Mars Mission

https://www.nasa.gov/news-release/nasa-says-farewell-to-maven-mars-mission-hosts-media-call-today/
3•ironyman•32m ago•1 comments

Why open standards matter for AI infrastructure

https://openenvelope.org/writing/open-standards-ai-infrastructure/
2•ashconway•33m ago•0 comments