#44th of 15 in Agent frameworks and SDKs
openai-agents-python
Python SDK for multi-agent workflows with handoffs, guardrails and tracing
- Stars
- 30k
- License
- MIT
- Last commit
- Oct 2026
- Last release
- Oct 2026
- Language
- Python
19,953 on 24 Mar 202630,029 on 13 Oct 2026
From GitHub's daily star counts.
Checked on GitHub.
OpenAI is hiring: 806 open roles
Overview
Python library from OpenAI for building agents with instructions, tools, guardrails and handoffs between agents. It supports the OpenAI Responses and Chat Completions APIs and, per the README, 100+ other LLMs. It also includes sandbox agents, realtime and voice agents, sessions for conversation history, human-in-the-loop controls and built-in tracing.
Who it is for: Python developers building tool-using or multi-agent LLM apps
Strengths
- Small API: Agent and Runner cover a text agent in a few lines
- Tools can be Python functions, MCP servers or hosted tools
- Built-in tracing, guardrails, sessions and human-in-the-loop support
- Includes sandbox, realtime and voice agents; MIT license, Python 3.10+
Weaknesses
- Examples assume OPENAI_API_KEY; non-OpenAI models go through optional LiteLLM or any-llm
- Pull requests limited to repository collaborators
- Python only; JS/TS version is a separate repository
- Realtime agents use gpt-realtime-2.1, an OpenAI-hosted model
What it needs
- no GPU
- Needs OpenAI API key, Python 3.10+, optional: Redis, optional: SQLAlchemy, optional: websockets, optional: LiteLLM or any-llm, optional: Docker
- Models: OpenAI Responses API, OpenAI Chat Completions API, 100+ other LLMs via LiteLLM or any-llm
Head to head
Also in Agent frameworks and SDKs
See all 15| Rank | Project | Score |
|---|---|---|
| 1 | langchainPython framework for building LLM agents and apps from interoperable components | 88 out of 100 |
| 2 | browser-usePython library that lets an LLM agent control a web browser | 88 out of 100 |
| 3 | crewaiPython framework for multi-agent workflows with role-based Crews and event-driven Flows | 80 out of 100 |
| #5 | agnoPython SDK and runtime for building and serving agents behind a REST API | 76 out of 100 |
| #6 | mastraTypeScript framework for building AI agents and workflows | 74 out of 100 |