The Demo I Wish I'd Had: OpenAI's Agents SDK... serverless! - Brook Riggio
Jun 3, 2025 · 17:51
Brook Riggio demonstrates deploying AI agent workflows on Vercel's serverless platform using OpenAI's Agents SDK and Inngest orchestration. He presents a reference architecture: Next.js frontend triggers Inngest events that invoke Python agents on Vercel serverless functions, with automatic retries and step-level observability. His demo builds a newsletter generator: users enter topics, a research agent scans news, a formatting agent structures the content, and results save to Vercel blob storage while the frontend polls for completion. He highlights that Vercel automatically detects Python functions without a config file, and Inngest's step.run ensures reliable execution within serverless time limits. The talk emphasizes cost efficiency (pay only for actual execution), full type safety via Pydantic and TypeScript, and easy integration of long-running agent tasks. The open-source repo is available for fork and contributions.