Updated

OpenAI Swarm

OpenAI's small, experimental Python library for orchestrating several agents through handoffs and routines, released for learning rather than production. OpenAI replaced it with the Agents SDK.

Open source

Users being moved: "Swarm is now replaced by the OpenAI Agents SDK", which OpenAI calls its production-ready evolution and recommends migrating to. The repository is not archived but no longer developed. Source ↗

Profile checked

Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

How makers use OpenAI Swarm

What OpenAI Swarm is used for

AI SDK & Agent Framework · Multi-agent orchestration →Learning how agent handoffs and routines work, in a tiny Python library.Trade-off: Replaced by the OpenAI Agents SDK, which OpenAI recommends migrating to.
LangChain66Mastra24LlamaIndex16AI SDK5CrewAI3OpenAI Swarm0Makers' products on each, for AI SDK & agent framework

OpenAI Swarm vs the alternatives makers chose

OptionMakers' productsOpen source
LangChain66 57%Yes
Mastra24 21%Yes
LlamaIndex16 14%Yes
AI SDK5 4%Yes
CrewAI3 3%Yes
LangGraph1 1%Yes
OpenAI Swarm0 0%Yes

For AI SDK & agent framework: how many of the 115 makers' products we know the AI SDK & agent framework of chose each option.

When to use OpenAI Swarm, and when not

Something else fits better if

  • Your app is TypeScript and you want agents without adding a Python service: AI SDK or Mastra.
  • You want a small typed agent loop in Python, close to the raw API: Pydantic AI or OpenAI Agents SDK.
  • Your agent works on files and runs commands, like a coding or research agent: Claude Agent SDK.
  • You need many prebuilt connectors for models, tools and data sources: LangChain.
  • Your agent is a long-running workflow with branches, saved state and human approval steps: LangGraph.
From each decision's guide, written from what makers' products chose and why.

Who uses it

No maker's live product on record yet.

We haven't found a product that uses OpenAI Swarm yet.

Alternatives to OpenAI Swarm

All alternatives by situation →

Further reading

Questions makers ask about OpenAI Swarm

What are the alternatives to OpenAI Swarm?

For AI SDK & agent framework, the other options makers' products we track chose most are LangChain (66), Mastra (24), LlamaIndex (16), AI SDK (5), CrewAI (3), LangGraph (1). Open source or self-hostable among them: LangChain, Mastra, LlamaIndex, AI SDK, CrewAI, LangGraph. Each alternative, with the situation it fits, is on the OpenAI Swarm alternatives page.

Is OpenAI Swarm open source or self-hostable?

Open source. source ↗

Can AI coding agents work with OpenAI Swarm?

No llms.txt, official MCP server or CLI found yet.

Who uses OpenAI Swarm?

No tracked product yet. source ↗