Choose Your Setup
- Hosted (Recommended)
- Self-Hosted
Step 0: Get your API key
- Sign up at agentdiff.dev
- Get your API key from the dashboard
Step 1: Set up the environment variables
Step 2: Install the SDK
Step 3: Create Your First Environment
Step 4: Run Your Agent & Capture Diff
Example Output
You’ve just run an agent against an isolated Slack replica and captured the exact changes it made!
What Just Happened?
- Environment Created: A fresh PostgreSQL schema was created with seed data (users, channels, messages)
- Before Snapshot:
start_runcaptured the initial state - Agent Executed: Your agent’s API calls were intercepted and routed to the isolated environment
- Diff Computed: The system compared before/after states to produce a deterministic diff
Next Steps
Example Benchmarks
See built-in evaluation suites for Slack and Linear
Environments
Understand environments and templates in depth
Run Evaluations
Add assertions and run benchmarks against your agent
Integrate with Agents
Connect your AI agent framework