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

Comments

llm-exe•12mo 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•12mo 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 Major Systems of Civilization

https://civilizationscalelevers.substack.com/p/the-major-systems-of-civilization
1•sebg•1m ago•0 comments

Canada Wants Digital Sovereignty. Bill C-22 Pulls the Other Way

https://aquisthoughts.substack.com/p/canada-wants-digital-sovereignty
1•ethanplant•5m ago•0 comments

AI Agents Modulate Their Language When Framed as Being Watched

https://arxiv.org/abs/2605.15034
1•vinicius-covas•6m ago•0 comments

Show HN: Toon Tone – guess cartoon colors from memory with HSB sliders

https://toontone.fun
1•sailorpro•6m ago•0 comments

Show HN: Chuddy, self-hosted media downloading, translation and OCR Telegram bot

https://github.com/kivirnz/chuddy
2•kivir•6m ago•0 comments

Social news aggregator Digg returns as AI and social media news aggregator

https://disassociated.com/social-news-aggregator-digg-returns-again/
1•Brajeshwar•7m ago•0 comments

Show HN: LFK – A Fast Kubernetes TUI

https://github.com/janosmiko/lfk
3•baskInEminence•10m ago•0 comments

Erdős Problem #1196 and Beyond

https://terrytao.wordpress.com/2026/05/03/primitive-sets-and-von-mangoldt-chains-erdos-problem-11...
1•yekbun123•10m ago•0 comments

Anthropic deleting my API org in 36h, 6 support escalations ignored

https://twitter.com/lenzoai/status/2055221609992995006
4•Hunattila•10m ago•0 comments

A menu bar app that shows Lemmy posts

1•tracyspacy•10m ago•0 comments

Worried About AI? Here, Have Some AI

https://nymag.com/intelligencer/article/ai-anthropic-mythos-openai-google.html
3•speckx•11m ago•0 comments

Show HN: Markanywhere – A Streaming Processor of Meanings

https://github.com/xemantic/markanywhere
2•morisil•11m ago•0 comments

Reinforcing Recursive Language Models

https://www.alphaxiv.org/blog/reinforcement-learning-for-rlms
1•gmays•11m ago•0 comments

Braids links and mapping class groups – joan birman (1974)

https://archive.org/details/braidslinksmappi0000birm
1•marysminefnuf•12m ago•0 comments

Drag a slider to read the moon and tide at any coordinate, ±5k years

https://pilgrimapp.org/moonpath/
1•momentmaker•13m ago•0 comments

Why Anthropic's ultra-dirty deal shouldn't surprise you at all

https://ketanjoshi.co/2026/05/13/why-anthropics-ultra-dirty-deal-shouldnt-surprise-you-at-all/
1•wazoox•14m ago•1 comments

Anthropic urges Uncle Sam to kneecap China's AI ambitions before 2028

https://www.theregister.com/ai-ml/2026/05/15/anthropic-urges-uncle-sam-to-kneecap-chinas-ai-ambit...
1•beardyw•15m ago•0 comments

At Samsung, the global AI boom spurred a looming strike and deep divisions

https://www.reuters.com/business/world-at-work/samsung-global-ai-boom-spurred-looming-strike-deep...
1•tartoran•15m ago•0 comments

Tips for an Effective Talk Proposal

https://bsky.app/profile/adamwiggins.com/post/3mlv5fjz4ms2p
1•mooreds•16m ago•0 comments

Prediction markets see surge in suspicious trades as popularity explodes

https://www.reuters.com/legal/government/prediction-markets-see-surge-suspicious-trades-popularit...
1•speckx•17m ago•0 comments

Your AI Frustration Is My Opportunity

https://metedata.substack.com/p/012-your-ai-frustration-is-my-opportunity
1•young_mete•17m ago•0 comments

The Secret Machine That Shapes Your Opinion of Celebrities (2025)

https://www.gq.com/story/how-the-crisis-pr-machine-shapes-what-you-think-about-celebrities
1•_tk_•19m ago•0 comments

Show HN: Mezz, a curl-able WiFi sandbox for IoT pentesting

https://github.com/ABGEO/mezz
2•ABGEO•20m ago•0 comments

Hsu's Suggestivity and Idioms (2023)

https://blog.wilsonb.com/posts/2023-07-24-suggestivity-and-idioms.html
1•tosh•21m ago•0 comments

Logic bug in the Linux kernel's __ptrace_may_access() function

https://www.openwall.com/lists/oss-security/2026/05/15/2
2•nolta•23m ago•0 comments

High-stakes courtroom drama of Musk vs. OpenAI hears closing arguments

https://www.theguardian.com/technology/2026/may/14/sam-altman-elon-musk-openai-lawsuit
4•Brajeshwar•25m ago•1 comments

Bun single, statically-linked musl binary

https://github.com/oven-sh/bun/issues/16056
1•1vuio0pswjnm7•25m ago•1 comments

Jujutsu for AI Coding Agents

https://www.panozzaj.com/blog/2025/11/22/avoid-losing-work-with-jujutsu-jj-for-ai-coding-agents/
1•thcipriani•26m ago•0 comments

Agents Have (Information) Needs

https://jbarrow.ai/2026-05-13-agentic-information-need/
2•jbarrow•27m ago•0 comments

Show HN: GH Notifier – a macOS menu bar app for GitHub notifications

https://github.com/EronWright/gh-notifier
1•eronwright•27m ago•0 comments