OpenAI Agents SDK
Lightweight Python and TypeScript SDK for building agents with tools, hand-offs, guardrails and tracing.
The Agents SDK provides a small set of primitives — agents, tools, hand-offs between agents, guardrails and sessions — with built-in tracing. It is designed for OpenAI models but can call other providers through compatible adapters. Open source under MIT.
- Type
- SDK
- Category
- AI & ML
- Maintainer
- OpenAI
- First released
- 2025
- License
- Open source (MIT)
- Pricing
- Open source — SDK is free; model usage is billed by the provider.
- Level
- Intermediate
- Technologies
- python, typescript, llm, agents
- GitHub stars
- 31,057
- Weekly downloads
- 4,924,107 (pypi)
- Latest release
- [object Object]
- Last verified
- 26 Nov 2026
What OpenAI Agents SDK is used for
- Tool-calling agents
- Multi-agent hand-offs
- Voice agents
Strengths
- Small API
- Built-in tracing
- MCP support
Limitations
- Best experience with OpenAI models
OpenAI Agents SDK alternatives
How it relates to other tools
- OpenAI Agents SDK works with OpenAI API
- OpenAI Agents SDK works with Model Context Protocol (MCP)
Built with the same technologies
Official links
- Official website
- Documentation
- Source code (openai/openai-agents-python)
- pypi: openai-agents
- npm: @openai/agents