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.

Deepfakes Tore a High School Apart

https://www.404media.co/radnor-high-school-pennsylvania-ai-deepfakes-child-sexual-abuse-material/
1•Brajeshwar•1m ago•0 comments

Moss: Self-Evolution Through Source-Level Rewriting in Autonomous Agent Systems

https://arxiv.org/abs/2605.22794
1•Timofeibu•5m ago•0 comments

UniFi 5G Backup

https://blog.ui.com/article/introducing-unifi-5g-backup
1•jpalomaki•6m ago•1 comments

The Writer Who Dared Criticize Silicon Valley

https://www.nytimes.com/2025/11/27/technology/writer-silicon-valley-criticism.html
1•rbanffy•9m ago•0 comments

Show HN: I threw away my analytics dashboard and replaced it with 42 MCP tools

1•hholen•10m ago•0 comments

CodeAlta an efficient agentic AI coding CLI assistant coded in C#/.NET

https://codealta.github.io/
1•xoofx•11m ago•0 comments

Cloning a voice at 48 kHz with VoxCPM2 in ElevenLabs API quality

https://soniqo.audio/blog/voxcpm2-voice-cloning
1•ipotapov•13m ago•0 comments

Ask HN: What are you Building? (May 22)

1•Armonsrer•16m ago•1 comments

"A Digital Prison": Surveillance and the suppression of civil society in Serbia

https://securitylab.amnesty.org/latest/2024/12/a-digital-prison-surveillance-and-the-suppression-...
1•Cider9986•20m ago•0 comments

Apple seeks Supreme Court review for Epic Games case

https://9to5mac.com/2026/05/21/apple-seeks-supreme-court-review-of-contempt-finding-and-injunctio...
2•alberto-m•20m ago•0 comments

Spec-Driven Development: Everything Old Is New Again

https://superluminar.io/2026/04/28/spec-driven-development-everything-old-is-new-again/
1•schnipseljagd•24m ago•0 comments

Sentry.io Is Down?

https://sentry.io/auth/login/
1•gianpaj•25m ago•1 comments

I2C Notes

https://rana-emaan.com/read/notes/i2c/
1•signa11•25m ago•0 comments

Cisco used AI to write security incident reports, with mixed results

https://www.theregister.com/security/2026/05/22/cisco-used-ai-to-write-security-incident-reports-...
3•01-_-•33m ago•0 comments

AI progress creates more work for humans, not less

https://every.to/p/after-automation
1•trueduke•34m ago•0 comments

The Inheritance of Survival

https://brandypigeon.substack.com/p/the-inheritance-of-survival
1•rendx•34m ago•0 comments

Acrisure layoffs to number 2,250, attributed to AI advancements

https://www.detroitnews.com/story/business/2026/05/20/grand-rapids-acrisure-to-cut-2250-jobs-cite...
1•01-_-•34m ago•0 comments

You can't whisper at an AI agent

https://stripe.dev/blog/ai-steering-experiments
1•vinhnx•36m ago•0 comments

Matching Principle: Adversarial, augmentation, etc. are estimators of one matrix

https://arxiv.org/abs/2605.22800
2•visark_42•37m ago•0 comments

Roundtables: Can AI Learn to Understand the World?

https://www.technologyreview.com/2026/05/21/1137756/roundtables-can-ai-learn-to-understand-the-wo...
2•joozio•43m ago•0 comments

Are no-frills utility knives the underrated sweet spot for EDC?

https://www.paragon-knives.com/
1•bgzlsxaz•44m ago•0 comments

Technology Today Influence Us

https://negativestarinnovators.com/
1•pizzly•45m ago•1 comments

Pokélike

https://pokelike.xyz/
4•Areibman•48m ago•0 comments

The humiliation of finding secret Israeli bases in Iraq

https://responsiblestatecraft.org/israeli-bases-iraq/
1•KoftaBob•48m ago•0 comments

Report Alleges Chinese Influence Behind AI Data Center Pushback in the U.S.

https://dominotheory.com/report-alleges-chinese-influence-behind-the-ai-data-center-pushback-in-t...
2•ironyman•50m ago•0 comments

Picovoice Discointinues Free Tier

https://console.picovoice.ai/
1•vghaisas•51m ago•1 comments

Duster: Tor Service Attribution Based on Flow Watermarking with Track Hiding [pdf]

https://www.usenix.org/system/files/raid2019-iacovazzi.pdf
2•rbanffy•58m ago•0 comments

Can a Mouse Survive a Fall from a High-Rise?

https://johnmjennings.com/can-a-mouse-survive-a-fall-from-a-high-rise/
1•thunderbong•1h ago•0 comments

Attributing Northvolt's Bankruptcy

https://www.globaltimes.cn/page/202602/1354840.shtml
1•leonidasrup•1h ago•0 comments

Will Ever David Defeat Goliath? Epic vs. Apple

https://www.macrumors.com/2026/05/21/apple-supreme-court-epic-games-case/
1•enricotal•1h ago•0 comments