Caide

Tool Consent & Safety

Granular execution approvals, shell blocklists, and checkpoint rollbacks.

Last updated 2026-10-29

Tool Consent & Safety

Caide rejects the notion that an autonomous agent should execute unchecked shell commands or wipe project directories without supervision. We implement a multi-layered safety boundary to ensure you stay in total control.


By default, Caide requires explicit user consent before executing any high-risk action:

Tool ActionConsent Required
Read Files & Search CodeNo (Safe)
Edit Existing FilesConfigurable (Default: Auto)
Shell Command ExecutionYes (Default: Prompt)
Database MigrationsYes (Default: Prompt)
MCP External ToolsYes (Default: Prompt)
Package InstallationsYes (Default: Prompt)

When a tool requires approval, the chat stream renders an interactive Approval Card:

  • Highlights the exact command line or SQL query.
  • Explains the agent's stated rationale.
  • Shows the target working directory.
  • Features Approve, Reject, or Edit Command options.

2. Shell Command Blocklists

Certain commands pose catastrophic risks to developers' machines (e.g. wiping root, modifying global SSH keys, altering firewall rules). Caide enforces an immutable internal blocklist:

  • Recursive deletion commands targeting root or system directories (rm -rf /, rm -rf ~).
  • Fork bombs and memory exhaustion loops.
  • Modifications to sensitive platform credentials (~/.ssh, ~/.aws/credentials, /etc/shadow).
  • Blind privilege escalation (sudo, doas) without explicit interactive terminal handoff.

If the model attempts to invoke a blocked pattern, the turn runner rejects the call immediately and advises the model to use safer alternatives.


3. Version Checkpoints & 1-Click Rollback

Before every turn begins and after every tool commit:

  1. Caide records a snapshot in its internal Git version tree.
  2. If the agent makes an unwanted edit, click Restore Checkpoint in the top navigation bar to immediately restore your project files and database state to the exact condition prior to that turn.
Ready to build with Caide?

Join our early access whitelist to test native desktop builds, copy-on-write database branches, and DeviceLab.

On this page