Agent framework - verified
OpenAI Agents SDK: features, install and latest version
OpenAI Agents SDK is an AI agent framework maintained by OpenAI. As its docs describe it: The OpenAI Agents SDK is an open-source Python and TypeScript framework from OpenAI for building multi-agent workflows from a small set of primitives: agents, agents as tools or handoffs, and guardrails, with built-in tracing. It supports Python and TypeScript. License: MIT. Latest releases: Python package openai-agents 0.24.0 (October 15, 2026) and TypeScript package @openai/agents 0.20.0 (October 8, 2026).
Homepage - Source on GitHub - License - In our tools directory
- Languages
- 2
- Latest Python
- 0.24.0
- Released
- 2026-10-15
- Features documented
- 9 of 10
Install
Copied verbatim from the page linked under each command.
Python
pip install openai-agentsTypeScript
npm install @openai/agents zodQuickstart
The first example from the official docs, unchanged. It may need an API key for the model provider it calls.
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)
# Code within the code,
# Functions calling themselves,
# Infinite loop's dance.Features
What the OpenAI Agents SDK docs say it supports. Not stated means the docs do not say either way.
| Feature | Value | Source |
|---|---|---|
| MCP | Yes | openai.github.io/openai-agents-python |
| Multi-agent | Yes | openai.github.io/openai-agents-python |
| Durable execution | Yes | openai.github.io/openai-agents-python/running_agents |
| Human in the loop | Yes | openai.github.io/openai-agents-python |
| Streaming | Yes | openai.github.io/openai-agents-python/running_agents |
| Structured output | Yes | openai.github.io/openai-agents-python/agents |
| Tracing | Yes | openai.github.io/openai-agents-python |
| Memory | Yes | openai.github.io/openai-agents-python |
| Evals | Not stated | Docs do not say |
| Model-agnostic | Yes | github.com/openai/openai-agents-python |
| Languages | Python, TypeScript | See sources below |
| License | MIT | github.com/openai/openai-agents-python/blob/main/LICENSE |
| Latest Python release | openai-agents 0.24.0October 15, 2026 | pypi.org/project/openai-agents |
| Latest TypeScript release | @openai/agents 0.20.0October 8, 2026 | registry.npmjs.org/@openai/agents |
OpenAI Agents SDK on Developers Digest
Compare OpenAI Agents SDK
- OpenAI Agents SDK vs Google Agent Development Kit (ADK)
- Strands Agents vs OpenAI Agents SDK
- OpenAI Agents SDK vs Claude Agent SDKArticle
- Claude Agent SDK vs OpenAI Agents SDKTool comparison
- LangChain vs OpenAI Agents SDKTool comparison
- OpenAI Agents SDK in our tools directoryTool page
- All agent frameworks in one tableFeature matrix
FAQ
Does OpenAI Agents SDK support MCP?
Which languages does OpenAI Agents SDK support?
Python and TypeScript. Published packages: openai-agents (Python) and @openai/agents (TypeScript).
How do I install OpenAI Agents SDK?
For Python: "pip install openai-agents", as shown at https://openai.github.io/openai-agents-python/. This page lists 2 install commands, each copied from the linked source.
What is the latest version of OpenAI Agents SDK?
As of October 18, 2026: Python package openai-agents 0.24.0 (October 15, 2026), https://pypi.org/project/openai-agents/ and TypeScript package @openai/agents 0.20.0 (October 8, 2026), https://registry.npmjs.org/@openai/agents.
What license is OpenAI Agents SDK released under?
MIT. The license is at https://github.com/openai/openai-agents-python/blob/main/LICENSE.
Does OpenAI Agents SDK support durable execution?
Yes, per https://openai.github.io/openai-agents-python/running_agents/
Does OpenAI Agents SDK support human-in-the-loop?
Is OpenAI Agents SDK model-agnostic?
Which features does OpenAI Agents SDK document?
9 of the 10 tracked here: MCP, Multi-agent, Durable execution, Human in the loop, Streaming, Structured output, Tracing, Memory and Model-agnostic. Not stated in its docs: Evals.
Sources
Last verified from the pages below.
- Official docs (Python) - openai.github.io
- Running agents docs (streaming, durable execution integrations) - openai.github.io
- Agents docs (output types) - openai.github.io
- Models docs - openai.github.io
- GitHub README (Python) - github.com
- GitHub README (JavaScript/TypeScript) - github.com
- PyPI: openai-agents - pypi.org
- npm registry: @openai/agents - registry.npmjs.org
Newsletter
Agent frameworks, every week
One email per week. Framework releases, new agent tooling and what they mean for what you build.