Agency Swarm is a multi-agent orchestration framework and development kit designed to coordinate specialized AI agents through defined communication patterns and handoffs. It functions as a system for managing agent swarms, providing an API gateway to expose these coordinated collectives as production-ready HTTP endpoints.
The project distinguishes itself through its Model Context Protocol integration layer, which connects agents to external data sources and capabilities. It implements specialized orchestration patterns, such as the orchestrator-worker model and role-based delegation, to transfer conversation state and control between agents.
The framework covers a broad range of capabilities, including type-safe tool generation from OpenAPI schemas, retrieval-augmented generation via vector stores, and isolated code execution sandboxes. It also provides infrastructure for session persistence, input and output guardrails, and a terminal-based interface for testing agent workflows.
Deployment options include hosted infrastructure for production agencies, integration with messaging platforms like Slack and WhatsApp, and embeddable web widgets.