Open navigation menu

OpenAI Agents SDK

OpenAI

Open Source

Production successor to Swarm for agentic OpenAI workflows with broader model support.

Curated by Tiberiu ArvaVerified

MITVersion 0.18.2Released 2026-07-1127,802

Strengths

  • Hosted tracing support
  • Production successor to Swarm
  • Handoffs and tool orchestration

Practitioner note

Fast path for OpenAI-centric agent builds, though portability and provider concentration should be weighed before making it a platform default.

Warning

OpenAI Agents SDK: OpenAI Swarm was replaced by the Agents SDK.

Governance posture

Reviewed 2026-05-26
PartialData residency

Library is self-hosted, but built-in tracing sends run data to OpenAI's platform unless disabled.

Source
YesDeployment model

pip-installed SDK (self-hosted); API calls go to OpenAI's hosted endpoints. (self-hosted)

Source
PartialAudit logging

Hosted tracing logs runs to OpenAI's platform; self-hosted logging is operator-implemented.

Source
N/ASOC 2

Self-hosted library; SOC 2 applies to the operator's infrastructure, not the package.

N/AISO 27001

Self-hosted library; ISO 27001 applies to the operator's ISMS, not the package.

N/AISO 42001

Self-hosted library; ISO 42001 applies to the deploying organisation.

N/AEU AI Act

Developer component, not an AI system placed on the market; obligations rest with the deployer. (role: not-applicable)

YesLicense risk

MIT — permissive, OSI-approved. (low)

Source

Change history

Source-backed and auto-detected events for this tool, newest first.

  1. Release

    OpenAI Agents SDK 0.18.2 added GPT-5.6 request controls and hosted multi-agent beta support, plus sandbox and usage fixes.

    Release v0.18.2 · openai/openai-agents-python
  2. Release

    OpenAI Agents SDK 0.18.1 added GPT-5.6 model defaults and migrated examples, with cache-write usage fixes.

    Release v0.18.1 · openai/openai-agents-python
  3. Release

    OpenAI Agents SDK 0.18.0 changed the default RealtimeAgent model to gpt-realtime-2.1.

    Release v0.18.0 · openai/openai-agents-python
  4. Release

    OpenAI Agents SDK 0.17.8 added invalid final-output recovery handling and fixed realtime session cancellation propagation.

    Release v0.17.8 · openai/openai-agents-python
  5. ReleaseHigh impact

    OpenAI Agents SDK 0.17.7 exposed configurable WebSocket size limits, added buffered Chat Completions tool-call streaming, made AdvancedSQLiteSession add_items atomic, and tightened sandbox, guardrail, and Realtime multi-agent edge cases.

    Release v0.17.7 · openai/openai-agents-python
  6. ReleaseHigh impact

    OpenAI Agents SDK 0.17.6 added pre-approval tool-input guardrails and SDK-only custom tool-output metadata, tightening human approval control points around agent tool execution.

    Release v0.17.6 · openai/openai-agents-python
  7. ReleaseHigh impact

    OpenAI Agents SDK 0.16.0 changed the default model to gpt-5.4-mini for runs without an explicit model, altering baseline behavior, reasoning defaults, and potential cost/perf expectations.

    Release v0.16.0 · openai/openai-agents-python · GitHub
  8. ReleaseHigh impact

    OpenAI Agents SDK 0.15.0 changed refusal handling to raise ModelRefusalError explicitly instead of surfacing empty outputs, a behavior change that can affect run-loop integrations.

    Release v0.15.0 · openai/openai-agents-python · GitHub
  9. Release
    OpenAI Agents SDK release hardens tracing and SQL session handling

    The OpenAI Agents SDK April 9 release hardened SQLite and SQLAlchemy session handling and expanded tracing documentation, signaling continued stabilization of the production agent stack.

    Releases · openai/openai-agents-python

Explore the category

Compare this tool against the rest of its category and the cloud platform foundation layer.