agency-swarm  by VRSEN

Agentic framework built on OpenAI Assistants API for automating AI workflows

Created 2 years ago
3,971 stars

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

23 hours ago

Responsiveness

1 week

Pull Requests (30d)
23
Issues (30d)
3
Star History
56 stars in the last 30 days

Explore Similar Projects

Starred by Li Jiang Li Jiang(Coauthor of AutoGen; Engineer at Microsoft), Jared Palmer Jared Palmer(SVP at GitHub; Founder of Turborepo; Author of Formik, TSDX), and
1 more.

copilot-sdk by github

1.9%
7k
AI agentic workflow SDK for application integration
Created 1 month ago
Updated 22 hours ago
Starred by Lilian Weng Lilian Weng(Cofounder of Thinking Machines Lab), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
59 more.

AutoGPT by Significant-Gravitas

0.1%
182k
AI agent platform for building, deploying, and running autonomous workflows
Created 2 years ago
Updated 17 hours ago
Feedback? Help us improve.