30.9K ·GitHub
What is this?
It is the OpenAI Agents SDK: a lightweight yet powerful Python framework for building multi-agent workflows, where an agent is an LLM configured with instructions, tools, guardrails and handoffs.
Is it a framework I write code against, or a ready-made app I run?
A Python SDK you install into your own project: you define and run agents in code. There is also a separate JavaScript/TypeScript version of the SDK.
How do I add it to a project?
pip install openai-agents in a Python 3.10+ environment (or uv add openai-agents). Extras like 'openai-agents[voice]' add voice support, Redis sessions or a Docker sandbox, and you set the OPENAI_API_KEY environment variable before running.
Am I locked into OpenAI models?
No — the SDK is provider-agnostic: it supports the OpenAI Responses and Chat Completions APIs plus 100+ other LLMs, with any-llm and LiteLLM as optional dependencies.
Does everything work on Windows out of the box?
Not the local sandbox: sandbox agents run natively only on macOS and Linux, so on Windows you need the DockerSandboxClient with the openai-agents[docker] extra or a hosted sandbox client.
What are sandbox agents for?
Long-horizon work: they come preconfigured to run inside a container, where the agent can inspect files, run commands, apply patches and preserve workspace state across a longer task.
Can agents delegate to each other?
Yes — you can pass one agent to another as a tool or use handoffs, so a workflow can route each task to a specialized agent.
How do I see what an agent did during a run?
Tracing is built in: agent runs are tracked automatically so you can view, debug and optimize your workflows.
Is there a JavaScript or TypeScript version?
Yes, the README links to a separate Agents SDK JS/TS package for non-Python projects.
What are similar projects?
agentscope, harness-sdk, ai-agents-the-definitive-guide, trueforge, hive, adk-python, ten-framework, omnigent
Which topics is it in?
guardrails, tracing, tool-calling, human-in-the-loop, voice-assistant, python-library, speech-to-text, text-to-speech, harness, sandbox, real-time, agent-orchestration