Install
pip install openai-agents
$
A Python framework (3.10+) for orchestrating one or more LLM agents, working with OpenAI's Responses and Chat Completions APIs plus 100+ other models. Agents are configured with instructions, tools (functions, MCP, hosted), handoffs to other agents, and guardrails, while sessions track history and built-in tracing helps debug runs. Use it when you need multi-agent collaboration with human-in-the-loop checks; sandbox agents extend it to filesystem work.