agency-swarm  by VRSEN

Agentic framework built on OpenAI Assistants API for automating AI workflows

created 1 year ago
3,729 stars

Top 13.3% 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

4 days ago

Responsiveness

1 week

Pull Requests (30d)
14
Issues (30d)
1
Star History
91 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Steven Hao Steven Hao(Cofounder of Cognition), and
6 more.

openai-agents-python by openai

1.5%
13k
Python SDK for multi-agent workflows
created 4 months ago
updated 1 day ago
Starred by Zhiqiang Xie Zhiqiang Xie(Author of SGLang), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
6 more.

swarm by openai

0.3%
20k
Multi-agent orchestration framework for lightweight agent coordination
created 1 year ago
updated 4 months ago
Feedback? Help us improve.