#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
Stars, last 29 weeks+10,076
24 Mar 2026: 19,953 stars31 Mar 2026: 20,160 stars7 Apr 2026: 20,333 stars14 Apr 2026: 20,495 stars21 Apr 2026: 24,095 stars28 Apr 2026: 25,155 stars5 May 2026: 25,579 stars12 May 2026: 25,935 stars19 May 2026: 26,186 stars26 May 2026: 26,402 stars2 Jun 2026: 26,597 stars9 Jun 2026: 26,792 stars16 Jun 2026: 26,972 stars23 Jun 2026: 27,163 stars30 Jun 2026: 27,343 stars7 Jul 2026: 27,530 stars14 Jul 2026: 27,734 stars21 Jul 2026: 27,908 stars28 Jul 2026: 28,111 stars4 Aug 2026: 28,257 stars11 Aug 2026: 28,447 stars18 Aug 2026: 28,650 stars25 Aug 2026: 28,873 stars1 Sept 2026: 29,054 stars8 Sept 2026: 29,218 stars15 Sept 2026: 29,421 stars22 Sept 2026: 29,605 stars29 Sept 2026: 29,743 stars6 Oct 2026: 29,858 stars13 Oct 2026: 30,029 stars

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
Also in Agent frameworks and SDKs
RankProjectScore
1langchainPython framework for building LLM agents and apps from interoperable components147.8k starsMIT88 out of 100
2browser-usePython library that lets an LLM agent control a web browser Live demo ↗ (opens in a new tab)117.9k starsMIT88 out of 100
3crewaiPython framework for multi-agent workflows with role-based Crews and event-driven Flows59.7k starsMIT80 out of 100
#5agnoPython SDK and runtime for building and serving agents behind a REST API42.7k starsApache-2.076 out of 100
#6mastraTypeScript framework for building AI agents and workflows28.8k starscustom license74 out of 100