Dev & Engineering ✓ OpenAI · Official python-sdkmulti-agent-workflowsfunction-callingmcpguardrailsrealtime-voicesandboxingtracing

OpenAI Agents SDK

A Python framework for tool-using, observable multi-agent workflows.

FollowAgents review · FARS-2.1
Use with care
64/ 100 5-point scale 3.2 / 5
1 2 3 4 5 6
Per-dimension scores and reasoning
1Trust18 / 29 · 3.1/5

Evidence shows: framework provides sandbox agents, human-in-the-loop mechanisms, input/output validation (guardrails), session management, and configurable permissions (e.g., sandbox path grants). Dependencies have version ranges and lock files (uv.lock) and dependency groups. External effects: sandbox agents restrict filesystem access, but no explicit rollback mechanism. Deductions: rollback not explicit, dependency security audit not evident in static files.

2Reliability9 / 14 · 3.2/5

Evidence shows: codebase has strict type checking (mypy strict), linting (ruff), and test configuration (pytest), and test files exist. Dependencies have version ranges but no availability guarantee. Failure messages: tests and code provide error messages, but not systematic. Deductions: dependency availability not guaranteed, failure message completeness not fully assessed.

3Adaptability12 / 18 · 3.3/5

Evidence shows: README describes multiple use cases (text, sandbox, realtime, voice agents) and provides examples. Capability boundaries defined via tools, guardrails, and sandbox mechanisms. Trigger precision: agent instructions and tool definitions are clear. Environment fit: supports multiple Python versions and OS, with optional dependencies. Deductions: known limitations not explicitly listed.

4Convention11 / 18 · 3.1/5

Evidence shows: README provides clear information architecture, detailed install notes, stable naming (version number explicit), rich examples, MIT license, versioning via pyproject.toml and CHANGELOG (not provided), maintenance responsibility by OpenAI. Deductions: known limitations not explicitly listed, CHANGELOG not provided.

5Effectiveness9 / 13 · 3.5/5

Evidence shows: output usability high, multiple run modes (sync, async, streaming), high marginal value (multi-agent workflows, sandbox, realtime), cost-benefit reasonable (open source, MIT). Deductions: none.

6Verifiability5 / 8 · 3.1/5

Evidence shows: README claims consistent with code and docs, supported by tests and examples, facts and inferences clearly separated. Deductions: none.

Evidence confidence: Low Reviewed Aug 09, 2026 Reviewed revision aec2dfaa127a
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Static review cannot verify actual runtime behavior; all scores based on source code and documentation.
  • Dependency security audit not evident in static files; recommend checking for dependency vulnerabilities.
  • Rollback mechanism not explicit; recommend reviewing documentation or code for recovery strategies.
  • Known limitations not listed in README; may affect user expectations.
Review evidence [1][2][3][4][5][6][7][8][9]
See the full review method →

What does this agent do, and when should you use it?

OpenAI Agents SDK is a Python framework for building multi-agent workflows, not a finished end-user assistant. Developers define an Agent, SandboxAgent, or RealtimeAgent with instructions, tools, guardrails, and handoffs, then execute work through Runner. It supports the OpenAI Responses and Chat Completions APIs as well as more than 100 other LLMs. The framework includes function, MCP, and hosted tools; input and output guardrails; human-in-the-loop mechanisms; sessions; and tracing. SandboxAgent can inspect files, run commands, apply patches, and preserve workspace state through a sandbox, while RealtimeAgent targets low-latency voice and multimodal experiences over WebSocket.

A developer creates an Agent, SandboxAgent, or RealtimeAgent and configures its name, instructions, and optionally tools, guardrails, and handoffs. Runner.run_sync executes text or sandbox work and returns result.final_output; the sandbox example supplies a repository through Manifest and GitRepo, then runs it with SandboxRunConfig and UnixLocalSandboxClient so the agent can inspect the workspace, execute commands, and apply patches. RealtimeRunner starts a RealtimeAgent session, where an application can call session.send_message and consume audio, history_added, and agent_end events. The SDK also manages conversation history across runs and records agent runs for viewing, debugging, and workflow optimization.

  1. A Python backend team decomposing a task among specialized agents through handoffs or agents as tools.
  2. A macOS or Linux development-automation workflow where an agent must inspect a Git workspace, run commands, and apply patches.
  3. An application that needs to connect function, MCP, or hosted tools to agent actions while validating inputs and outputs with guardrails.
  4. A product team preserving conversation history across runs and using tracing to investigate or optimize an agent workflow.
  5. A developer building a low-latency voice or multimodal interaction that uses RealtimeAgent and RealtimeRunner over WebSocket.

What are this agent's strengths and limitations?

Pros
  • One Python framework covers text, sandbox, and realtime agent execution models.
  • It explicitly supports OpenAI's Responses and Chat Completions APIs alongside more than 100 other LLMs.
  • It includes workflow primitives for handoffs, agents as tools, function/MCP/hosted tools, guardrails, human involvement, sessions, and tracing.
  • SandboxAgent supports longer-running workspace tasks through manifests and sandbox clients that can inspect files, run commands, and apply patches.
Limitations
  • The examples require OPENAI_API_KEY; although the SDK states it supports other LLMs, the supplied material does not document their configuration.
  • UnixLocalSandboxClient is limited to macOS and Linux; Windows requires DockerSandboxClient, the docker extra, or a hosted sandbox client.
  • Voice support, Redis sessions, and Docker sandboxing each require their corresponding optional dependency group.
  • The supplied material does not specify pricing, a production deployment topology, adaptation steps for other LLMs, or service-availability commitments.

How do you install or deploy this agent?

Python 3.10 or newer is required. Create an environment and install:

python -m venv .venv
source .venv/bin/activate
pip install openai-agents

Or with uv:

uv init
uv add openai-agents

For voice support, install with pip install 'openai-agents[voice]'. For Redis sessions, install with pip install 'openai-agents[redis]'. Set OPENAI_API_KEY before running the provided examples.

How do you use this agent?

Minimal text agent:

from agents import Agent, Runner
agent = Agent(name="Assistant", instructions="You are a helpful assistant")
result = Runner.run_sync(agent, "Write a haiku about recursion in programming.")
print(result.final_output)

For voice, use RealtimeAgent and RealtimeRunner from agents.realtime, then call await session.send_message(...). For workspace work, use SandboxAgent; the documented UnixLocalSandboxClient example works on macOS and Linux. On Windows, use DockerSandboxClient with openai-agents[docker], or a hosted sandbox client.

How does this agent compare with similar options?

For JavaScript or TypeScript projects, the repository points to a separate Agents SDK JS/TS project; this repository is the Python version.

FAQ

Is this a ready-to-deploy chatbot?
No. It is a Python framework: developers define agents, instructions, and an execution model, then invoke Runner from their application.
Is OpenAI the only model option?
No. The material states support for OpenAI Responses and Chat Completions APIs plus more than 100 other LLMs, but it does not detail configuration for those other providers.
What permission-sensitive actions can a sandbox agent take?
SandboxAgent can inspect files, run commands, apply patches, and retain workspace state. The deploying team must control workspace and execution access through its selected sandbox client.
Can I use the documented local sandbox example on Windows?
Not with UnixLocalSandboxClient. On Windows, use DockerSandboxClient with openai-agents[docker], or use a hosted sandbox client.
What does it cost?
The supplied material does not state pricing for the SDK, model calls, hosted tools, or sandbox services.

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents