OpenAI Agents SDK
Lightweight Python framework for agents, handoffs and guardrails.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
The OpenAI Agents SDK is a small Python framework with a few primitives: agents with instructions and tools, handoffs between agents, guardrails and built-in tracing. A TypeScript version is also available.
Best for
Developers who want a minimal agent framework with tracing included.
Skills it helps with
Learn OpenAI Agents SDK by doing
- Add human approval to agent actions
Pause risky tool calls, show the exact arguments, resume on approve or reject, then log and test it.
- Build your first agent in Python
Three tools, a hard turn limit, a clear stop condition and a log of every tool call it makes.
Related tools
Agent Development Kit (ADK)
Google's code-first framework for building, evaluating and deploying agents.
Claude Agent SDK
Build agents on the same harness that powers Claude Code.
Microsoft Agent Framework
Microsoft's open-source framework for agents and multi-agent workflows.
Agno
Python framework for agents, teams and workflows, served as APIs with AgentOS.
CrewAI
Python framework for role-based teams of agents, with a paid platform for running them.
Deep Agents
LangChain harness with planning, files and subagents.