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.

Feds Killed Polestar and Spared Volvo. That Should Terrify You

https://www.thedrive.com/news/feds-killed-polestar-and-spared-volvo-that-should-terrify-you
2•mraniki•5m ago•1 comments

I built a 100% local network privacy appliance to stop smart home spying

https://www.edgedefenseai.com/
1•arundass•7m ago•1 comments

China Has Matched Anthropic in Cybersecurity, Resetting AI Race

https://www.wsj.com/tech/ai/chinese-ai-anthropic-mythos-cybersecurity-574b02c2
1•madars•8m ago•2 comments

What Happens When You Run 10k Concurrent Lambda Functions Against DynamoDB

https://medium.com/@yalovoy/what-happens-when-you-run-10-000-concurrent-lambda-functions-against-...
1•zero-ground-445•9m ago•0 comments

Amble One

https://driveamble.com/pages/amble-one
2•dnw•13m ago•0 comments

Show HN: FSM – an advanced system monitor for Linux

https://github.com/mskrasnov/FSM
1•mskrasnov•14m ago•0 comments

The AI "Super Bubble" Warning Is a Filter, Not a Funeral

https://www.pentesty.co/blog/ai-super-bubble-cybersecurity-filter-2026
2•johnzoro107•17m ago•0 comments

Show HN: SpinnerRecruit – targeted job ads in CLI for AI wait states

https://www.spinnerrecruit.dev/
1•jamessmu•20m ago•2 comments

Response to AI slop is from Robin Williams

https://jayacunzo.com/blog/your-move-chief
5•herbertl•32m ago•0 comments

Chrome Extension to Bypass Paywalls

https://gitflic.ru/project/magnolia1234/bypass-paywalls-chrome-clean
1•thunderbong•33m ago•1 comments

Turning music into a chore is how I became a musician

https://the.scapegoat.dev/turning-music-into-a-chore-is-what-made-me-an-artist/
2•herbertl•38m ago•0 comments

Microchip June 2026: AVR LA Family [pdf]

https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/Brochures/AVR-L...
1•dragontamer•39m ago•1 comments

Show HN: Decomp Academy – Learn to decompile GameCube games into matching C

https://decomp-academy.dev
13•jackpriceburns•39m ago•3 comments

Show HN: Shopify UCP is insanely powerful

https://stack412.com/
2•westche2222•48m ago•2 comments

I designed and synthesized PAC-832 in a chemistry lab I built in my garage

https://twitter.com/DouglasYaoDY/status/2070904914050797582
2•gasull•51m ago•1 comments

People and Blogs Interview: David Cain, Raptitude

https://manuelmoreale.com/interview/david-cain
3•Curiositry•52m ago•0 comments

Why Entertainmentindustry.ai Will Not Be Developed in Australia

https://entertainmentindustry.ai/
2•DavidFrangiosa•58m ago•1 comments

From Prompting Agents to Loop Engineering

https://twitter.com/omarsar0/status/2068008743153832264
5•gmays•1h ago•1 comments

Slop, trust, and a three-line patch

https://klez.me/2026/06/28/slop-trust-and-a-three-line-patch/
2•the_kLeZ•1h ago•1 comments

Google Patent Reveals Satellite Messages May Carry Device Tracking Data

https://patentlyze.com/patent/google-stuffing-device-data-satellite-messages/
3•Dfol•1h ago•2 comments

Show HN: Moumantai – self-hosted, agent-driven apps you can use on any device

https://github.com/xiang-deng/moumantai
2•no_0044•1h ago•0 comments

AMD Strix Halo RDMA Cluster Setup Guide

https://github.com/kyuz0/amd-strix-halo-vllm-toolboxes/blob/main/rdma_cluster/setup_guide.md
17•jakogut•1h ago•0 comments

GTA 3 on a Volumetric Display (2025) [video]

https://www.youtube.com/watch?v=onYH5gvlnzE
2•Tiberium•1h ago•0 comments

Australia to double maximum penalty for platforms in breach of social media ban

https://www.bbc.co.uk/news/articles/c78yv5g74e9o
2•bbg2401•1h ago•1 comments

Never before have so many been trapped in place

https://kindofvoiceless.substack.com/p/there-will-be-nowhere-to-go
4•OgsyedIE•1h ago•0 comments

Why American data centers can't plug in

https://worksinprogress.co/issue/why-american-data-centers-cant-plug-in/
4•Gaishan•1h ago•0 comments

The Lost Discipline of the Alarm: What Notification Design Forgot [video]

https://www.youtube.com/watch?v=Ira28fgSF7M
3•jumpocelot•1h ago•0 comments

Nix Taco Sprint 2026

https://jrdsgl.com/nix-taco-sprint-2026/
6•alurm•1h ago•0 comments

Show HN: QR code renderer in a TrueType font

https://qr.jim.sh/
2•foodevl•1h ago•1 comments

Gary Marcus Trademarked a Rebranded Failed Prediction

https://aidatumpoint.substack.com/p/gary-marcus-trademarked-a-rebranded
2•MadCatBureau•1h ago•1 comments