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:

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.