Agent Framework
openai/openai-agents-python
openai/openai-agents-python· Python
OpenAI's official Python SDK for building multi-agent workflows with handoffs, tools, and tracing.
GitHub stats
- Stars
- 25,561
- Forks
- 3,901
- Watchers
- 202
- Open issues
- 64
meta
- License
- MIT
- Primary language
- Python
- Last commit
- 2026-04-29
- Stats fetched at
- 2026-04-29
A minimal Python framework from OpenAI for building agent systems around three primitives: Agents (LLM + instructions + tools), Handoffs (delegation between agents), and Guardrails (input/output validation). Comes with built-in tracing, async support, and works with any model that speaks the Chat Completions or Responses API — not just OpenAI's. Install with `pip install openai-agents` and you can wire up a multi-agent loop in ~20 lines.
Editor's verdict
If you're already on the OpenAI stack and want something less bloated than LangGraph or CrewAI, this is the cleanest option — the abstractions are thin enough to read in an afternoon, and the tracing dashboard is genuinely useful for debugging handoff loops. The trade-off is feature surface: no built-in graph visualization, no human-in-the-loop primitives, weaker memory/state story than LangGraph. Skip it if you need complex DAG control flow or heavy persistence — reach for LangGraph instead.