Why you'd want it
The OpenAI Agents SDK is a lightweight Python framework where agents are LLMs configured with instructions, tools, guardrails and handoffs to other agents. It is provider-agnostic, supporting the OpenAI Responses and Chat Completions APIs plus 100+ other LLMs, and includes sessions for conversation history, human-in-the-loop, and built-in tracing of agent runs. It also covers sandbox agents that work in a container over long tasks, plus realtime and voice agents.
Best for
- Multi-agent apps with handoffs
- Voice and realtime agents
- Teams on the OpenAI API
Use it when
You want a small set of primitives (agents, tools, handoffs, guardrails) with tracing built in, and may want voice or sandboxed agents later.
Skip it if
You work in JavaScript or TypeScript; use the separate Agents SDK JS/TS (openai/openai-agents-js) instead. The Python package needs Python 3.10 or newer.