# OpenAI Agents SDK

CreateWithAI Hub page: https://createwithaihub.com/frameworks/openai-agents-sdk
Latest version of this file: https://createwithaihub.com/frameworks/openai-agents-sdk.md

- Type: Framework · Category: Harnesses & Frameworks
- Publisher: OpenAI
- Pricing: Free · License: MIT

OpenAI's lightweight, provider-agnostic framework for single and multi-agent workflows in Python and TypeScript.

The OpenAI Agents SDK is a small framework for building agents and multi-agent workflows. It is built around agents with instructions and tools, handoffs between agents, guardrails, sessions and built-in tracing, and adds sandbox agents and realtime voice agents. It supports OpenAI's APIs and many other LLMs, in Python and JavaScript/TypeScript.

Useful for: Building a triage agent that hands off to specialist agents, adding input/output guardrails, or prototyping a voice agent.

## Key features

- Agents with tools, handoffs and agents-as-tools
- Guardrails for input and output validation
- Sessions for conversation history and built-in tracing
- Sandbox agents for long-running work in a container
- Realtime and voice agents

## Connection

- Language: Python, TypeScript / JS
- Focus: Agents & tool use, Multi-agent
- Model support: Multi-provider

## Before you start

- Python 3.10+ (Python SDK)
- Node.js 22+, Deno or Bun (JS/TS SDK)

## Install steps from the official documentation

Python:

```
pip install openai-agents
```

TypeScript:

```
npm install @openai/agents zod
```

## Limitations

- UnixLocalSandboxClient only works on macOS and Linux; Windows needs Docker or a hosted sandbox

## Official links

- Source repository: https://github.com/openai/openai-agents-python
- Documentation: https://openai.github.io/openai-agents-python/
- Source: https://github.com/openai/openai-agents-python (README: core concepts, provider-agnostic support, Python 3.10+, install commands, sandbox note; MIT)
- Source: https://github.com/openai/openai-agents-js (JS/TS install command and supported environments; MIT)
