Skip to main content

Overview

Agent Diff provides a high-fidelity replica of the Slack Web API. Your agent can post messages, manage channels, add reactions, and more - all in an isolated environment.

Getting Started

Making API Calls

Direct HTTP

Using Code Executor

Available Templates

Response Format

All responses follow the Slack Web API format:

Error Handling

Errors match Slack’s error codes:
Common error codes:
  • channel_not_found - Invalid channel ID
  • not_in_channel - User not a member
  • message_not_found - Invalid message timestamp
  • is_archived - Channel is archived

Authentication

In Agent Diff, authentication is mocked. The impersonateUserId you specify when creating the environment determines which user the agent acts as.

Seed Data Structure

Next Steps

Supported Methods

Full API method reference

Seed Files

Create custom seed data