The openai-agents SDK requires Python 3.10+ and a modern OpenAI client (v3+); core dependencies include pydantic, mcp, and websockets; additional features like voice, Redis sessions, sandboxes, and orchestration platforms are available via optional extras. Optional extras enable specialized capabilities: voice adds audio I/O, redis/encrypt/sqlalchemy provide session backends, docker/e2b/modal/temporal support different sandbox and workflow environments.
The current published version of openai-agents is 0.22.0, and the package is licensed under the MIT License.[1]
The openai-agents SDK requires Python 3.10 or newer (requires-python = ">=3.10") and supports CPython 3.10 through 3.14.[1]
The openai-agents package depends on openai>=3.0.0,<4, meaning the OpenAI Python v3/HTTPX2 client is the minimum supported version; the openai<3 compatibility shim was removed.[1] pydantic>=2.12.2,<3 is a required core dependency of openai-agents.[1] mcp>=1.19.0,<3 is a required core dependency of openai-agents for Python 3.10+.[1] websockets>=15.0,<17 is a required core dependency of openai-agents.[1]
Voice support requires the voice extra (pip install 'openai-agents[voice]'), which adds numpy>=2.2.0,<3 and websockets>=15.0,<17.[1] The any-llm optional extra requires Python 3.11+ (python_version >= '3.11'), unlike most other extras that support Python 3.10+; it pulls in any-llm-sdk>=1.11.0,<2.[1]
Redis session support requires the redis extra (pip install 'openai-agents[redis]'), which adds redis>=7.[1] The encrypt optional extra adds cryptography>=45.0,<46 for encrypted session storage.[1] The sqlalchemy optional extra adds SQLAlchemy>=2.0 and asyncpg>=0.29.0 for SQLAlchemy-backed session storage.[1]
The docker optional extra (pip install 'openai-agents[docker]') adds docker>=6.1 and enables DockerSandboxClient for sandbox workloads on Windows or any Docker-capable host.[1] The e2b optional extra pins exact versions: e2b==2.31.0 and e2b-code-interpreter==2.8.1.[1] The modal optional extra pins an exact version: modal==1.4.3.[1] The temporal optional extra pins exact versions: temporalio==1.26.0 and textual>=8.2.3,<8.3.[1]
Sources