OpenAI Agents SDK Integration
Enforce Control Zero policies on OpenAI Agents SDK tool calls, handoffs, and guardrails.
Overview
The OpenAI Agents SDK (formerly Swarm) provides a lightweight framework for building multi-agent systems with tool calling, handoffs between agents, and built-in guardrails. Control Zero integrates at the tool execution layer: every tool call is checked against your policies before the function runs. Denied calls raise a PolicyDeniedError that the agent framework surfaces as a tool error.
Installation
pip install controlzero openai-agents