Agents
Connect an agent
Connect a coding tool in one click or by hand, approve it, and manage connected agents.
Set up
- Start Caddi.
- Open the Agents dialog. On the Set up tab, choose Connect next to Claude Code, Codex, Cursor, Claude Desktop, Gemini CLI, Windsurf or OpenCode. Caddi adds only its own entry and keeps a backup of any file it changes. For another tool, choose Copy configuration.
- Paste the configuration into your coding tool's MCP settings. The server key is
caddi. - Start the agent and ask it to use Caddi. Its first Caddi call asks to connect, and the tool tells you a code such as
ABCD-EFGH.
The Agents dialog is not available in a private window.
Approve
Caddi shows the request with the same code and one Allow button. A toast says a request arrived, the sidebar names the agent asking, and the Dock icon bounces if Caddi is in the background. The request waits ten minutes with the same code. If the codes match, press Allow: the agent gets your current project workspace with view and control, the sites already open there, and no screenshots or saved logins. Change access shows every choice:
- Workspace. One project workspace, or let the agent create one new, empty, isolated workspace for itself.
- Sites. One origin per line, such as
http://localhost:3000, or none. When the agent tries to open another site, Caddi asks you (“Claude Code wants to open caddi.build”), and Allow adds that site for the session. - Access. View pages, or view and control them.
- Can see the page (screenshots). Off by default. Sensitive fields and embedded frames are blanked, but anything else visible is in the picture.
- Can use saved logins for this workspace. Off by default. Lets the agent use Vault logins you mark for agents. See Vault.
Manage
- A session lasts at most eight hours.
- Nothing is saved. After Caddi restarts, the agent must connect and be approved again.
- Revoke a connected agent from the same dialog at any time. Its requests fail from that moment.
- Pause agents in the toolbar stops every agent in the current workspace until you resume.
- While an agent acts, a cursor with its name shows where, and the toolbar says “Claude Code is driving” with Take over, which ends its control at once. It keeps its access and must ask for control again.
The full tool list and error codes are on the Agents page.