How Mux shipped durable video workflows with their @mux/ai SDK
We invited Dylan Jhaveri from Mux to share how they shipped durable workflows with their @mux/ai SDK. AI workflows have a frustrating habit of failing halfway through. Your content moderation check passes, you're generating video chapters, and then you hit a network timeout, a rate limit, or a random 500 from a provider having a bad day. Now you're stuck. Do you restart from scratch and pay for that moderation check again? Or do you write a bunch of state management code to remember where you left off? This is where durable execution changes everything. When we set out to build @mux/ai (https://github.com/muxinc/ai), an open-source SDK to help our customers build AI features on top of Mux's video infrastructure, we faced a fundamental question: how do we ship durable workflows in a way that's easy for developers to adopt, without forcing them into complex infrastructure decisions? The answer was Vercel's Workflow DevKit (https://useworkflow.dev/).
Read more (https://vercel.com/blog/how-mux-shipped-durable-video-workflows-with-their-mux-ai-sdk)