OpenAI Agents
December 4, 2025 · View on GitHub
Updated 2025: This directory contains comprehensive documentation, guides, tutorials, and code examples for building AI agents using the OpenAI API and Agents SDK (released March 2025). It provides everything you need—including starter code—to help you get started quickly.
Overview:
The OpenAI Agents SDK is a minimalist Python framework designed for creating multi-agent workflows with robust tracing and production-ready features. Released in March 2025, it represents OpenAI's approach to building production-grade agentic AI systems.
Contents:
- OpenAI Agents (Overview): Key concepts and basic setup for OpenAI agentic systems.
- OpenAI Agents SDK (Comprehensive Guide): Comprehensive guide and code examples for building agents with the OpenAI Agents SDK.
- OpenAI API Quickstart: Fast start guide for using the OpenAI API for generative tasks.
- OpenAI Agents Design Guide (Summary): Design principles and structure for OpenAI agents.
Code Examples
- Comprehensive starter codes for building agents in code folder:
- Agents basics: agents, models, tools, context, handoffs, guardrails, streaming, lifecycle, outputs, tracing, mcp, prompting, and voice_agents.
- Agents Advanced: streaming, lifecycle, outputs, tracing, mcp, prompting, and voice_agents.