openai/openai-realtime-agents
A Next.js TypeScript demo showcasing advanced voice agent patterns built on OpenAI's Realtime API and Agents SDK.

This project demonstrates two advanced agentic patterns: a Chat-Supervisor architecture where a realtime voice agent works alongside a more capable text-based supervisor model for complex tasks, and a Sequential Handoff pattern where specialized agents transfer users to handle specific intents. It uses the OpenAI Agents SDK for unified agent behavior definition, tool integrations, state management, and multi-agent orchestration, with built-in support for handoffs and guardrails.