← Tracker · Agent framework

OpenAI Agents SDK

BuildersAgent frameworkOpenAI

Lightweight framework for building multi-agent workflows with tools, handoffs and tracing.

Best for / Not for

Best for

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

Not for

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

3 concrete use cases

  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

How to get started with OpenAI Agents SDK in 10 minutes

  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

OpenAI Agents SDK alternatives

Recent changes

Weekly updates for OpenAI Agents SDK will be logged here as they appear in issues.

Get changes in your inbox