swarm
Basic Information
Swarm is an experimental, educational Python library for building, coordinating, and executing networks of chat-based agents. It exposes two simple primitives, Agent and handoffs, so developers can compose agents that encapsulate instructions and functions and transfer conversation control to each other. Swarm runs on top of the Chat Completions API and is intentionally stateless between calls. The repository includes an installable package requiring Python 3.10+, example projects showing common patterns, and a REPL demo for interactive exploration. The README notes Swarm has been superseded by the OpenAI Agents SDK for production use and is intended primarily as a lightweight, learnable environment to prototype multi-agent orchestration and function execution patterns.