Running Agents
Caged supports any AI coding agent that can work inside a Linux terminal. This guide covers setup for popular agents.Claude Code
Claude Code is Anthropic’s agentic coding tool.Recommended Config
Cursor
Use Cursor’s remote SSH feature to connect to a Caged sandbox.- Create a sandbox:
caged up --template node-20 - Get SSH details:
caged ssh-config cage-a1b2c3d4 - Add to
~/.ssh/config - In Cursor: Remote SSH → Connect to Host → cage-a1b2c3d4
Aider
Aider works directly in the terminal.Recommended Config
Custom MCP Agents
Connect any MCP-compatible agent via WebSocket:- File read/write tools
- Terminal execution tools
- Git operations
- Environment management
Agent Comparison
| Agent | Interface | Best For |
|---|---|---|
| Claude Code | Terminal | Autonomous coding tasks |
| Cursor | IDE (SSH) | Interactive development |
| Aider | Terminal | Git-integrated pair programming |
| Custom MCP | WebSocket | Custom workflows |