Skip to main content

Reviewing & Approving Commands

Ante never runs destructive commands without your explicit approval. When the agent wants to execute a tool that could modify your system (like running a shell command or writing a file), you'll see an approval prompt.

The approval flow

Each tool call shows what the agent wants to do. Use the arrow keys to pick your response and press Enter, or hit the matching number directly:

Reviewing and approving a tool call
KeyAction
/ Navigate between the options
1 / 2 / 3 / 4Pick an option directly
y / EnterConfirm the highlighted option
EscReject the tool call
TabPreview the proposed diff or request details
  • Yes — approve this one call
  • Yes, allow … for this session — grant it for the rest of the session. The grant is scoped — a Bash command generalizes to a safe prefix (approving cargo test -p foo covers cargo test *), so sibling calls don't re-prompt
  • Yes, always allow … (save to settings) — also persist an allow rule to settings.json so it applies in future sessions
  • No — reject the tool call; the agent will adjust its approach

Press Tab to open a diff view and inspect exact line-by-line changes before committing.

tip

If you trust the agent for a particular task, use ante --yolo to skip all approval prompts. You can also fine-tune which tools require approval in the permissions configuration.