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
| Template | Description | Seed Data |
|---|---|---|
slack_default | Basic workspace | 3 users, 2 channels, 3 messages |
slack_bench_default | Benchmark suite | Extended data for evaluations |
slack_base | Minimal | Users and channels only |
Response Format
All responses follow the Slack Web API format:Error Handling
Errors match Slack’s error codes:channel_not_found- Invalid channel IDnot_in_channel- User not a membermessage_not_found- Invalid message timestampis_archived- Channel is archived
Authentication
In Agent Diff, authentication is mocked. TheimpersonateUserId 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