
Framework OpenAI
OpenAI Agents SDK
OpenAI's lightweight, provider-agnostic framework for single and multi-agent workflows in Python and TypeScript.
What it is
The OpenAI Agents SDK is a small framework for building agents and multi-agent workflows. It is built around agents with instructions and tools, handoffs between agents, guardrails, sessions and built-in tracing, and adds sandbox agents and realtime voice agents. It supports OpenAI's APIs and many other LLMs, in Python and JavaScript/TypeScript.
What it's useful for
Building a triage agent that hands off to specialist agents, adding input/output guardrails, or prototyping a voice agent.
Key features
- Agents with tools, handoffs and agents-as-tools
- Guardrails for input and output validation
- Sessions for conversation history and built-in tracing
- Sandbox agents for long-running work in a container
- Realtime and voice agents
How to use it
Before you start
- Python 3.10+ (Python SDK)
- Node.js 22+, Deno or Bun (JS/TS SDK)
pip install openai-agentsnpm install @openai/agents zodCommands are copied from the official documentation. Check the docs for the latest version before running them.
Limitations to know
- UnixLocalSandboxClient only works on macOS and Linux; Windows needs Docker or a hosted sandbox
Alternatives
Google's open-source, code-first framework for building, evaluating and deploying agents in Python, TypeScript, Go and Java.
AWS's open-source, model-driven SDK and harness for building agents in Python and TypeScript.
Anthropic's Python and TypeScript library for building agents on the same tools and agent loop as Claude Code.
Open-source Python framework for multi-agent automation using role-based Crews and event-driven Flows.
MCP servers for this
Browserbase's hosted MCP server that lets agents drive cloud browsers with natural-language Stagehand actions.
Google Chrome team's MCP server and CLI that let coding agents control, debug and profile a live Chrome browser.
Docker Desktop's MCP Toolkit and Catalog that run MCP servers in containers and connect them to clients through one gateway.
Skills for this
Anthropic skill that guides Claude through designing, building and evaluating MCP servers in TypeScript or Python.
Related resources
Google's collection of small runnable agents built with Agent Development Kit (formerly ADK Samples), in Python, TypeScript, Go, Java and Kotlin.
Anthropic's REST API for Claude models, with official SDKs in Python, TypeScript, Go, Java, C#, PHP and Ruby.
Anthropic's collection of starter projects for building apps and agents on the Claude API.
Cloudflare starter for an AI chat agent on Workers with tools, approvals, scheduling and vision via Workers AI.