← Library · Tool

OpenAI Agents SDK

The OpenAI Agents SDK is a Python-first library for building AI applications with autonomous agents. It provides primitives like agents (LLMs with instructions and tools), agent-to-agent delegation (handoffs), and guardrails for input/output validation. This SDK is for developers who want to create complex, multi-step AI workflows, manage tool invocation, and maintain conversational context across turns. Developers appreciate its lightweight nature, built-in tracing for debugging, and capabilities for running agents in isolated sandbox environments for secure code execution.

Why it matters

It offers a robust framework for creating sophisticated, goal-driven AI applications that can interact with real-world tools and environments.

Build agentic AI apps in Python

Learn one new AI thing every day.

Daily Deck sends you seven plain-English cards like this every morning. Free.

Start free