Agentic framework built on OpenAI Assistants API for automating AI workflows
Top 13.3% on sourcepulse
Agency Swarm provides a framework for building reliable, collaborative AI agent "agencies" using the OpenAI Assistants API. It targets developers and users aiming to automate complex workflows by defining specialized agent roles, custom tools, and communication flows, simplifying the creation of sophisticated AI systems.
How It Works
The framework leverages OpenAI Assistants API to define agents with customizable roles, instructions, and tools. Agents communicate via a structured messaging system based on their descriptions, enabling complex interactions. Agency Swarm manages agent state persistence through a settings.json
file, ensuring reliability for production environments. It supports custom tool creation via Python classes extending BaseTool
or conversion from OpenAPI schemas.
Quick Start & Requirements
pip install -U agency-swarm
Highlighted Details
settings.json
.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The current implementation focuses on OpenAI Assistants API; support for "Responses API" is listed as a future enhancement. Inter-agency communication for self-expanding systems is also a future goal.
4 days ago
1 week