Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

OpenAI Agents SDK (Python)

Official SDK for building and running agents with OpenAI models.

Model SDKs PyPI MIT

Used in agent projects
10
0.6% of 1,622 Python repos built with AI coding agents; 220 counting our dependency samples
Gid Score
67 /100
#389 of 3,794 tools, #11 in model sdks · ranking
Rank in model sdks
#23 of 79
by use in those projects
Downloads
3.3M
PyPI, last 7 days, openai-agents
GitHub stars
30.2K
5,066 forks · last push Oct 20, 2026

How OpenAI Agents SDK (Python) is used

OpenAI Agents SDK (Python) is a dependency in 10 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 220 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Anthropic Python SDK (113 projects). Projects that use it most often also use OpenAI Python Library (72.3%), python-dotenv (71.8%), Pydantic (51.4%).

OpenAI Agents SDK (Python) popularity over time

Top tools by Gid Score

OpenAI Agents SDK (Python): downloads per weekPyPI, openai-agents 3,232,404
OpenAI Agents SDK (Python): GitHub starsopenai/openai-agents-python 30,160

Gid Score 67: downloads 75, use in agent projects 62, GitHub stars 68, downloads trend 52 (each 0-100). How it is calculated.

Often used with OpenAI Agents SDK (Python)

OpenAI Python Library72.3% of OpenAI Agents SDK (Python) projects · 18.3× more than average
python-dotenv71.8% of OpenAI Agents SDK (Python) projects · 7.8× more than average
Pydantic51.4% of OpenAI Agents SDK (Python) projects · 5.9× more than average
Requests44.1% of OpenAI Agents SDK (Python) projects · 6.5× more than average
Uvicorn40.5% of OpenAI Agents SDK (Python) projects · 5.3× more than average
FastAPI35.9% of OpenAI Agents SDK (Python) projects · 4.8× more than average
Model Context Protocol SDK (Python)33.2% of OpenAI Agents SDK (Python) projects · 4.1× more than average
NumPy30.0% of OpenAI Agents SDK (Python) projects · 5.1× more than average

From all 220 projects in our scan that use OpenAI Agents SDK (Python), including the dependency samples.

By coding agent

GitHub Copilot0.3% of projects set up for it

Share of public repos configured for each agent that list OpenAI Agents SDK (Python) as a dependency.

Install

Packagepip install openai-agents
Main stacksPython (219), Next.js (1)
Example projectsonlyphantom/llm-python, qx-labs/agents-deep-research, agulli/atlas-agents, instavm/open-skills, sinanuozdemir/oreilly-ai-agents

Alternatives to OpenAI Agents SDK (Python)

All model sdks

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside OpenAI Agents SDK (Python) are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
Anthropic Python SDK pypi
Official Python library for calling Claude via the Anthropic API.
73 113 (7.0%) 42.7M 3,980 MIT
Google GenAI Python SDK pypi
Official Python SDK for Google's generative AI models including Gemini.
72 102 (6.3%) 36.6M 4,034 Apache-2.0
Claude Agent SDK pypi
Python SDK for Claude AI with agent capabilities and tool support.
63 22 (1.4%) 7.8M 8,304 MIT
DashScope SDK pypi
Official Python client SDK for Alibaba DashScope API to call language models.
50 6 (0.4%) 770K — Apache-2.0
Mistral AI SDK pypi
Official Python SDK for the Mistral AI API to call Mistral language models.
47 4 (0.2%) 3.3M 774 Apache-2.0
Cohere pypi
Official SDK for accessing Cohere's language models and APIs.
49 2 (0.1%) 2.6M 406 MIT

More in Model SDKs: OpenAI AI SDK OpenAI Python Library Anthropic SDK Google Generative AI Hugging Face Hub LiteLLM Ollama

Is OpenAI Agents SDK (Python) right for your project? Ask AgentGid →