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•11mo ago

Comments

llm-exe•11mo 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•11mo 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 A.I. Industry Is Booming. When Will It Make Money?

https://www.newyorker.com/news/the-financial-page/the-ai-industry-is-booming-when-will-it-actuall...
1•FinnLobsien•50s ago•0 comments

Why people hide AI usage at work?

https://bhagyeshpathak.com/uncategorized/2025/07/14/why-people-hide-AI-usage-at-work/
1•bhagyeshsp•50s ago•0 comments

How to make SSE token streams resumable, cancellable, and multi-device

https://zknill.io/posts/everyone-said-sse-token-streaming-was-easy/
1•zknill•1m ago•0 comments

The beauty of postmodern classical music

https://itsiweinstock.substack.com/p/the-beauty-of-postmodern-classical
1•surprisetalk•3m ago•0 comments

Does ChatGPT know your business exists? Free corpus diagnostic

https://citeddigital.co/audit/
1•connorwhitlock•3m ago•0 comments

Stop Talking Down to Me: Notes on Three Years of AI Chat

https://devcodehack.com/stop-talking-down-to-me-notes-on-three-years-of-ai-chat/
1•par•4m ago•0 comments

In Praise of Wild-Eyed Principles (2017)

https://vineyardgazette.com/news/2017/08/10/praise-wild-eyed-principles
1•robtherobber•5m ago•0 comments

AI and Claude: The internal rebellion that changed Amazon's rules

https://thenewstack.io/amazon-coding-agents-developers/
1•Brajeshwar•5m ago•0 comments

The context window has been shattered: Subquadratic debuts 12M-token window

https://thenewstack.io/subquadratic-12-million-context-window/
2•throwawayfour•5m ago•0 comments

Google Chrome silently installs 4 GB Gemini Nano AI model without consent

https://alternativeto.net/news/2026/5/google-chrome-silently-installs-4-gb-gemini-nano-ai-model-t...
4•Gedxx•5m ago•0 comments

Global weather data from flying airplanes (2025)

https://clickhouse.com/blog/planes-weather
1•zX41ZdbW•6m ago•0 comments

Herd – a lightweight multi-agent IDE, built with GStack

https://joinherd.ai/
1•satosheth•7m ago•1 comments

The 90-day window: identity theft after death

https://killswitch.app/blog/identity-theft-after-death-greg-biffle-case-vulnerability-window
1•ElixirMentor•7m ago•0 comments

Loon GPU – A Real Implementation of "No Graphics API"

https://www.kevin-gibson.com/blog/writing-a-bindless-gpu-abstraction-layer/
1•molive•7m ago•0 comments

Mythos is the best cybersecurity news we've ever had

https://sfstandard.com/opinion/2026/05/06/mythos-cybersecurity-ai/https://sfstandard.com/opinion/...
2•littlexsparkee•8m ago•2 comments

Optimizing Software Factories

https://tomtunguz.com/optimizing-software-factories/
3•nowflux•9m ago•0 comments

Show HN: VT Code – Rust coding agent with AST-validated shell and OS sandboxing

https://github.com/vinhnx/vtcode
1•vinhnx•10m ago•0 comments

Show HN: A bookmarklet app that saves bookmarks to GitHub Gist

https://github.com/chrisdiana/gistkeep
2•inflam52•11m ago•0 comments

I'm sooo excited to announce that I built my first SaaS BookIt, a small booking

https://bookit.fyi/
1•kx0101•11m ago•0 comments

Los Alamos and the long path to detecting neutrinos

https://www.lanl.gov/media/publications/1663/from-ghost-particle-to-cosmic-messenger
1•LAsteNERD•12m ago•0 comments

Huawei braces for $12B in AI chip revenue-Chinese fabs can barely keep up

https://www.tomshardware.com/tech-industry/huawei-expects-12-billion-in-ai-chip-revenue-this-year...
1•sleepyguy•13m ago•1 comments

Solving the Problem of Kerosene Fungus

https://www.shell.com/business-customers/aviation/100years/setting-safety-standards/kerosene-fung...
1•thunderbong•13m ago•0 comments

I analyzed 10k Reddit posts to find what drives B2B traffic

https://reddbot.ai/blog/i-analyzed-10-000-reddit-discussions-to-reverse-engineer-b2b-traffic-here...
1•jackbuilds•14m ago•0 comments

Emotional regulation is a dying art

https://www.joanwestenberg.com/emotional-regulation-is-a-dying-art/
2•rossdavidh•16m ago•0 comments

NeoSystems Found a Way to Shut Up About CMMC – By Going Out of Business

https://www.oxebridge.com/emma/neosystems-finally-found-a-way-to-shut-up-about-cmmc-by-going-out-...
1•WaitWaitWha•16m ago•0 comments

How to Write LinkedIn Hooks That Stop the Scroll

https://linkedgrow.ai/blog/linkedin-hooks-guide
1•NicoAI•16m ago•0 comments

Qbeast 0.6: Multi-cloud SaaS, AI-native access, and faster queries

https://qbeast.io/blogs/qbeast-0-6-multi-cloud-saas-ai-native-access-and-faster-queries
1•fpj•16m ago•2 comments

AI Needs Better Metaphors

https://metedata.substack.com/p/011-ai-needs-better-metaphors
2•young_mete•17m ago•0 comments

Amazon rebrands third-party logistics arms as unified supply chain service

https://www.freightwaves.com/news/amazon-rebrands-third-party-logistics-arms-as-unified-supply-ch...
1•crescit_eundo•17m ago•0 comments

A .well-Known Complaint

https://www.vzqk50.com/blog/scraps/a-well-known-complaint/
1•speckx•17m ago•0 comments