OpenAI Agents & Orchestration
Official OpenAI examples for building agents: agent orchestration, coding agent with GPT-4.1, reasoning + function calls, multi-agent systems with structured outputs. Real code from the OpenAI team.
Agent Orchestration: Routines and Handoffs
Patterns for building multi-agent systems: routines as step sequences, handoffs for transferring control between agents, implementation from scratch and with the Swarm library.
Coding Agent with GPT-4.1
Building a coding agent with the Agents SDK: apply_patch and shell tools, isolated workspace, user feedback loop.