OpenAI Agents SDK Advanced Multi‑Agent (Python)
OpenAI Agents SDK Advanced Multi‑Agent (Python)
Section titled “OpenAI Agents SDK Advanced Multi‑Agent (Python)”Last verified: 2025-11 Upstream: https://github.com/openai/openai-python | https://github.com/openai/openai-agents (if available)
Patterns
Section titled “Patterns”- Role routing and capability routing
- Handoff to human or specialized agent
- Guardrails before/after steps
Skeleton
Section titled “Skeleton”class Router: def pick(self, msg: str) -> str: if "search" in msg: return "researcher" return "writer"