Mindstorm explores language-based societies of mind and multi-agent systems.
openai/swarm
Educational framework exploring ergonomic, lightweight multi-agent orchestration. Managed by OpenAI Solution team.

About openai/swarm
Swarm is an open-source Python framework from OpenAI's Solution team, published as an educational project for exploring multi-agent orchestration. It coordinates work through two primitives: agents, which hold instructions and tools, and handoffs, which pass a conversation from one agent to another. The client's run() method returns messages, executes tool calls, switches agents when needed, and updates context variables, all within one call.
Swarm is marked experimental and educational. The repository states that it has been replaced by the OpenAI Agents SDK, which it describes as a production-ready successor, and it recommends migrating to the Agents SDK for production use. Swarm runs almost entirely on the client and stores no state between calls, so conversation history must be supplied each time.
Key features
- Agents defined with instructions and tools, with handoffs to other agents
- A client run() loop that executes tool calls and switches agents
- Context variables that can be updated during an agent run
- Example projects covering triage, function calling, airline and support bots
- Example of a personal shopping agent for sales and refunds
- Installable with pip directly from the GitHub repository
- Designed to be lightweight, highly controllable and easy to test
- Includes several annotated example projects of increasing scope
- Open source and available under the repository's license
- Marked as experimental and educational, not intended for production
- The repository recommends migrating to the OpenAI Agents SDK for production use
- Requires Python 3.10 or later and stores no state between calls
openai/swarm at a glance
- Website
- github.com/openai/swarm
- Category
- AI & Machine Learning › AI Agent Frameworks
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
openai/swarm alternatives
Tools and sites you could use instead, ranked by how closely they match.
Lagent provides a lightweight framework for building agents powered by large language models.
A fast and lightweight framework for creating decentralized agents with ease.
The MetaGPT repository provides a multi-agent framework for natural language programming and software development.
The fractal project explores hierarchical agent loops and recursive self-organization using Python.
The smolagents library provides a lightweight foundation for building code based AI agents.
Popular in AI Agent Frameworks
Well-known listings from the same topic.
openai/swarm FAQ
Is Swarm recommended for production use?
Is Swarm related to the Assistants API?
Which Python version does Swarm require?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












