Swarm

Normal
GitHub Python MIT

Description

OpenAI's experimental lightweight multi-agent orchestration with handoffs.

Key Features

  • Handoff pattern — Agents pass context to each other
  • Lightweight core — Minimal API and dependencies
  • Educational — Great for learning multi-agent concepts
  • OpenAI integration — Pairs well with OpenAI models
  • Rich examples — Many ready-to-run demos

Use Cases

💡 Demo customer triage with multiple agents.
💡 Hand off between human agents and AI in product.
💡 Quickly prototype multi-agent orchestration ideas.

Quick Start

pip install git+https://github.com/openai/swarm.git
from swarm import Swarm, Agent
client = Swarm()
response = client.run(agent=agent, messages=[...])

Related Projects