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:
| Key | Action |
|---|---|
↑ / ↓ | Navigate between the options |
1 / 2 / 3 / 4 | Pick an option directly |
y / Enter | Confirm the highlighted option |
Esc | Reject the tool call |
Tab | Preview 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 foocoverscargo test *), so sibling calls don't re-prompt - Yes, always allow … (save to settings) — also persist an allow rule to
settings.jsonso 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.