Weiran Yao

Scalable Collaboration of Multiple AI Agents in Workspaces

Ever wondered how to make AI agents actually useful in your daily work? While there’s been lots of buzz around AI automation, most solutions still struggle with a fundamental problem: they don’t fit naturally into how we actually work. That’s where SlackAgents comes in.

SlackAgents.
A glimpse into how SlackAgents works

We present SlackAgents, a multi-agent library for scalable management and collaboration of AI agents on Slack. As an agentic layer developed upon the Slack platform, the framework offers instant AI integration into organizational workflows, enabling continuous improvement through daily use. It also leverages Slack’s extensive features to enable AI-powered automation of real daily tasks. Furthermore, SlackAgents facilitates scalable collaboration, allowing for effective communication and task orchestration. Our solution bridges existing gaps in AI agent management, offering a robust platform for developing, deploying and managing AI agents for workplace environments.

What Makes SlackAgents Different?

Here is a comparison of features supported by SlackAgents library vs existing libraries in terms of Multiple Agents: multi-agent orchestration; Workspace Automation: native Slack workspace feature support and automation; Scalable Collaboration: support for vast number of agents for collaborative task solving; Admin Management: interfaces for human supervisors to monitor and intervene; Market Distribution: instant deployment and distribution to workspaces via the Slack Marketplace.

Library Multiple Agents Workspace Automation Scalable Collaboration Admin Management Market Distribution
LangChain
LlamaIndex
AutoGen
CrewAI
CAMEL
OpenAI Swarm
SlackAgents

Our solution is a multi-agent library as an agentic layer leveraging the Slack infrastructure, the most widely used messaging and collaboration platform for corporate workspaces. The marriage of multi-agent framework with Slack can immediately bring the following benefits:

Framework Architecture

SlackAgents has two core agent types:

Code Interpreter Assistant Agent.
Code Interpreter Assistant Agent.

Each AI agent, whether an Assistant or Workflow type, operates as a standalone Slack App. To facilitate both user-agent interactions and inter-agent communication, each agent is equipped with specific message listeners, and conversation tools for requesting and providing assistance to one another. This enables multiple agents to collaborate in Slack threads across channels.

Multi-agent Collaboration

The core of the multi-agent collaboration in SlackAgents is for the current agent to (1) produce a message that contains a request for assistance with @ mention of the chosen agents or human from a pre-defined colleague list, (2) send the message to the colleague(s) in a dedicated session, and (3) listen for colleagues’ responses in the session. Compared with the handoff strategy in OpenAI swarm, which hands off all messages to another agent by swapping system prompt and tools, our collaboration strategy is decentralized, asynchronous, and scalable by leveraging Slack-specific functionalities, and importantly, same as how human workers collaborate in Slack channels by looping in colleagues for help in threads.

Multi-agent collaboration protocol.
Multi-agent collaboration protocol.

User Interface

Command Line Interface (CLI)

The SlackAgents Command-Line Interface (CLI) provides a comprehensive set of commands for managing AI agents within Slack workspaces. This specification details the command structure, available operations, and implementation guidelines.

SlackAgents CLI.
SlackAgents CLI.

AI Management Dashboard

The admin dashboard serves as a central hub for managing AI agents, tools, and workflows. It provides real-time visibility into agent performance, task execution, and system status. Key features include user management, tool configuration, and detailed analytics on agent interactions. Admins can monitor agent activity, adjust tool settings, and troubleshoot issues directly from the dashboard.

SlackAgents Dashboard.
SlackAgents Dashboard.

Github Repository

The Github repository is the central hub for the development of SlackAgents. It contains the source code for the SlackAgents library, as well as the documentation and examples.

SlackAgents Github Repository.
SlackAgents Github Repository.