Skip to main content
The Slack interface routes messages from Slack users and threads to agents, teams, or workflows in AgentOS.

Coda, a code review agent in Slack

The Slack interface provides:
  1. Session routing: Slack users and threads map to AgentOS user and session IDs
  2. File handling: Uploads and downloads work out of the box
  3. Human in the loop: Pause for approvals before sensitive actions
  4. Streaming: Responses stream live with task cards showing progress
Add a database and enable history or memory on the agent or team when replies need context from earlier runs.

Quick start

agent.py
1

Install dependencies

2

Create Slack App

Follow the setup guide to create your app and get credentials.
3

Set credentials

4

Run

Run the file from the tab you used:

Multiple bots

Run multiple agents on the same server, each with its own Slack App. Useful when you need separate bots for different functions (support vs. sales) or different workspaces.
multi_bot.py
Each interface mounts on its own prefix. Set each Slack App’s Request URL accordingly (/ace/events, /dash/events, etc.).

Next steps

Setup Guide

Create a Slack App from scratch

Features

Sessions, files, teams, and more

Human-in-the-Loop

Pause for approval before actions

Reference

All parameters and endpoints