OpenAI Agents SDK
A lightweight SDK for building multi-agent workflows.
by OpenAI
What is OpenAI Agents SDK?
The OpenAI Agents SDK is an open-source framework with a small set of primitives — agents, tools, handoffs and guardrails — plus built-in tracing. It is available for Python and TypeScript and supports non-OpenAI models as well.
Key features
- Agents, handoffs and guardrails primitives
- Built-in tracing
- Python and TypeScript
- Voice agent support
Use cases
- Customer-facing agents
- Multi-agent handoffs
- Quick prototypes
OpenAI Agents SDK alternatives
Compare all →The agent harness behind Claude Code, as an SDK.
Build controllable, stateful agents as graphs.
Orchestrate role-playing, collaborative AI agent teams.
Microsoft’s open-source framework for multi-agent applications.
The TypeScript agent framework.
Type-safe agent framework from the Pydantic team.
OpenAI Agents SDK FAQ
What is OpenAI Agents SDK?
The OpenAI Agents SDK is an open-source framework with a small set of primitives — agents, tools, handoffs and guardrails — plus built-in tracing. It is available for Python and TypeScript and supports non-OpenAI models as well.
How much does OpenAI Agents SDK cost?
OpenAI Agents SDK is open source. Free and open source; you pay for model usage. Check the official website for current pricing.
Who is OpenAI Agents SDK best for?
Developers who want a minimal, well-documented agent SDK.
Is OpenAI Agents SDK open source?
Yes, OpenAI Agents SDK is open source.
What are the best alternatives to OpenAI Agents SDK?
Popular alternatives include Claude Agent SDK, LangGraph, CrewAI, AutoGen. See our full list of OpenAI Agents SDK alternatives for a comparison.
Listing last reviewed November 2026. Spotted something out of date? Tell us.