← Tracker · Agent framework

OpenAI Agents SDK

Updated

TL;DR: OpenAI Agents SDK (by OpenAI; category: Agent framework). OpenAI's open-source framework for building agents in Python (Python 3.10+) or TypeScript: agents with instructions, tools, guardrails and handoffs, plus sandbox agents that work in a container over long jobs, realtime and voice agents, sessions for conversation history, human-in-the-loop approvals and built-in tracing. Provider-agnostic: works with OpenAI's Responses and Chat Completions APIs and, per the README, 100+ other LLMs. Pricing: Free, open source (MIT license); you pay for the model API you call (GitHub README and LICENSE, checked Nov 11, 2026).. Best for: Python or TypeScript developers building agents with tools and handoffs.

BuildersAgent frameworkOpenAI

OpenAI's open-source framework for building agents in Python (Python 3.10+) or TypeScript: agents with instructions, tools, guardrails and handoffs, plus sandbox agents that work in a container over long jobs, realtime and voice agents, sessions for conversation history, human-in-the-loop approvals and built-in tracing. Provider-agnostic: works with OpenAI's Responses and Chat Completions APIs and, per the README, 100+ other LLMs.

Features and pricing are based on OpenAI's official site and docs (vendor claims), not our own testing. Our take is labeled separately below.

The Builder Brief Take

Who it's for

  • Python or TypeScript developers building agents with tools and handoffs
  • Prototyping multi-agent workflows quickly
  • Teams that want built-in tracing

Who should skip it

  • No-code users
  • Teams wanting explicit graph-based state machines (see LangGraph)

Where it works

  1. Support triage: A triage agent hands off to Billing and Technical specialists.
  2. Tool-using assistant: Wrap your API in a function tool so the agent can look up orders.
  3. Guardrailed workflow: Add input/output guardrails to block off-topic requests.

Pros and cons

Pros

  • Small set of primitives; quick to learn
  • Tracing in the OpenAI dashboard
  • Open source

Cons

  • API usage costs extra
  • Best experience with OpenAI models
  • Young, fast-changing API

The move: getting started with OpenAI Agents SDK

  1. python -m venv .venv and activate it
  2. pip install openai-agents
  3. export OPENAI_API_KEY=...
  4. Create an Agent and run it with Runner.run
  5. Read our full playbook for tools and handoffs

Playbooks using OpenAI Agents SDK

Industries using OpenAI Agents SDK

How it helps

Who: Python or TypeScript developers who want a small, readable framework for a first production agent.

  1. pip install openai-agents (or uv add openai-agents), set your API key and run a single text agent with one function tool.
  2. Add a human-in-the-loop approval before any tool that sends, pays or deletes.
  3. Turn on tracing and read a few real runs end to end before adding handoffs or a second agent.

Result: A working agent with approvals and traces, built on code you can move to another model provider.

Why it matters

Editorial assessment: the SDK keeps the moving parts few, which is why it's a good first framework. Two things make it safer to build on than it looks: it's MIT-licensed, and it isn't tied to OpenAI's models, so a pricing or provider change doesn't force a rewrite. Choose LangGraph instead if you need explicit state machines and checkpoints, and skip frameworks entirely if a no-code tool like n8n already does the job.

OpenAI Agents SDK alternatives

Recent changes

Putting it to work? Get a starter stack for your job in about a minute with the Stack Picker, or see how done-with-you setup works if you want help.

Get changes in your inbox

New AI tools, honest reviews and playbooks. One email a week.

Free. Unsubscribe anytime.

Make an AI tool? List your tool on Builder Brief. Free listings get the same editorial review as paid ones.