openai-agents
OpenAI Agents SDK
Install
openai-agents on PyPI
pip
pip install openai-agentsuv
uv add openai-agentspoetry
poetry add openai-agentsPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — griffelib, mcp, openai, pydantic, requests, typing-extensions, websockets |
| Maintenance | actively maintained — 2 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: openai_agents-0.20.0-py3-none-any.whl
About openai-agents
from the package's own PyPI description — quoted content, verbatim
OpenAI Agents SDK PyPI (image)
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows. It is provider-agnostic, supporting the OpenAI Responses and Chat Completions APIs, as well as 100+ other LLMs.
<img src="https://cdn.openai.com/API/docs/images/orchestration.png" alt="Image of the Agents Tracing UI" style="max-height: 803px;">
> [!NOTE] > Looking for the JavaScript/TypeScript version? Check out Agents SDK JS/TS.
Core concepts:
- Agents: LLMs configured with instructions, tools, guardrails, and handoffs
- Sandbox agents: Agents preconfigured to work with a container to perform work over long time horizons.
- Realtime agents: Build powerful voice agents with
gpt-realtime-2.1and full agent features - [**Voice...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
A framework for building multi-agent AI workflows supporting text, voice, realtime, and sandbox agents with tools, guardrails, and human-in-the-loop capabilities.
Low friction: pure Python wheel with seven well-maintained runtime dependencies. Released 2 days ago with active maintenance and high community adoption (top 1000 PyPI tier).
MIT license (permissive) allows commercial and private use with minimal restrictions—standard open-source terms suitable for most projects.
Usage
pip install openai-agents
from openai_agents import Agent, Runner
agent = Agent(name="Assistant", instructions="You are a helpful assistant")
result = Runner.run_sync(agent, "Write a haiku about recursion.")
print(result.final_output)
Requires Python 3.10 or newer; OPENAI_API_KEY environment variable must be set.
Verdict: A production-ready, actively maintained agent framework with zero known vulnerabilities, low install friction, and MIT licensing. The recent release (2 days ago), active repository status, and comprehensive feature set make it suitable for building sophisticated multi-agent workflows.
Needs verification
- Whether optional dependencies (voice, redis, docker extras) introduce additional system-level requirements or compilation steps.
- Performance characteristics and latency expectations for realtime agents over WebSocket in production.
- Compatibility details with the 100+ other LLMs mentioned beyond OpenAI's own APIs.
- Whether the seven runtime dependencies (openai, pydantic, requests, websockets, mcp, griffelib, typing-extensions) are all required for basic usage or if some are optional.
Similar packages
permissive · top 1,000 on PyPI
mistralaiunclear · top 1,000 on PyPI
mcppermissive · top 1,000 on PyPI
langchainpermissive · top 1,000 on PyPI
testcontainerspermissive · top 1,000 on PyPI
litellmpermissive · top 100 on PyPI
openaipermissive · top 1,000 on PyPI
temporaliopermissive · top 1,000 on PyPI
langgraphpermissive · top 1,000 on PyPI
mlflowpermissive · top 1,000 on PyPI