agency-swarm  by VRSEN

Agentic framework built on OpenAI Assistants API for automating AI workflows

Created 1 year ago
3,801 stars

Top 12.8% on SourcePulse

GitHubView on GitHub
Project Summary

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

Highlighted Details

  • Customizable agent roles (CEO, Developer, etc.) with full prompt control.
  • Type-safe tool creation with automatic validation and error correction.
  • Efficient agent communication via a specialized messaging tool.
  • State management for OpenAI assistants stored in settings.json.
  • Production-ready design for reliability and deployment.
  • CLI tools for creating agent templates and importing existing agents.

Maintenance & Community

  • Developed by VRSEN.
  • Offers "Agents-as-a-Service" and consultations.
  • Contributing guide available for community contributions.

Licensing & Compatibility

  • MIT License.
  • Permissive for commercial use and integration with closed-source projects.

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.

Health Check
Last Commit

19 hours ago

Responsiveness

1 week

Pull Requests (30d)
39
Issues (30d)
0
Star History
77 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.