Approvals
The hook sends each tool call to the gateway before it runs. When the rule for that tool and tier says ask, the call is held until a person answers. This page shows what that looks like from both ends.
In the terminal
The agent does not get the tool’s output. It gets one line:
[ACP] Approval required: <reason>
The reason is the rule that fired. The agent can do other work, wait, or stop. That is up to the agent. The held call does not run until someone answers.
In Claude Code, with a person at the keyboard, an ask shows as Claude Code’s own permission dialog instead. Saying yes resolves the approval, and the dialog times out after 10 minutes. On Codex, Cursor and Qwen Code, an ask arrives as the one-line hold above, and you approve it on the console.
A deny is final:
[ACP] Denied by policy: <reason>
Use ask for calls you want to see before they run. Use deny for calls that should never run. Both are set per tool (Bash.rm, Bash.git-push, WebFetch.<host>) and per agent tier (interactive, subagent, background, api). See Policies & scopes.
In the console
The request appears on the Approvals page of the console, and the workspace owner gets an email. It shows the tool, the input, the agent, the tier, and why it was held.
You can approve or deny it.
- Approve grants one retry of the exact action within the grant window. The agent retries, and if the tool, input, and agent match, the call runs once. A different command, or the same one after the window closes, is held again.
- Deny blocks it. The agent sees
[ACP] Denied by policy: <reason>on its retry.
When nobody answers
An unanswered request expires at the end of the hold window and counts as denied. An ask is held for 24 hours by default, so an unattended agent’s request can wait until you get to the email or the console. Change it per agent type or per tool with approvalTtlSeconds on the policy entry (30 seconds to 7 days). The row stays on Activity with that outcome, so a call nobody answered shows up as exactly that.
Unattended agents can wait for you. The Claude Code plugin treats claude -p, SDK runs and CI as unattended. A held call is denied with a reason, and you approve it on the Approvals page or from the email. Then the run is retried and the call passes under the grant. An agent can call acp_wait_approval to wait for the decision. Claude Code’s own --permission-prompt-tool flag is real, but ACP does not ship a tool for it.
If you run agents unattended, plan for this: a background agent that hits an ask rule waits for a person who may not be there. Either answer quickly, or set that tool to allow or deny for the unattended tier so there is nothing to wait on.
Turning an answer into a rule
Answering one request does not change the rule. If you keep approving the same call, set a standing rule:
- On any row of Activity or Sessions, choose Ask next time, Deny next time, or Allow always. That writes a rule for that tool and tier.
- Or hand the tool to the judge. Model-judged approvals clear the routine read calls you keep approving and ask on the rest.
- Agents can propose a rule from a denial they hit (
acp_propose_rule). Proposals wait on the Policies page. Nothing an agent proposes is enforced until a person clicks.
Audit mode
New workspaces start in audit mode. Everything is recorded, and none of your rules hold or block yet. The safety floor still applies: catastrophic commands and writes to ACP’s own hook, credentials and policy files are blocked, and force-push, destructive SQL and curl | sh are held for approval unless an owner or admin turned that tier off.
In audit mode the agent sees [ACP shadow] That was <tool> — <why> for calls the starter policy would have paused. Switch to enforce on the Policies page when you want ask and deny rules to take effect. Details in Audit mode vs. enforce mode.
Related
- Policies & scopes: the four outcomes, tiers, and setting a rule from a row.
- How a call is decided: the per-call pipeline.
- Activity: every held, approved, expired, and denied call, with its reason.
Running coding agents? ACP records each tool call its hook sees and makes the dangerous shell commands (a force-push, destructive SQL, curl | sh) wait for you. One command, free up to 5 agents:
curl -fsSL https://agenticcontrolplane.com/install.sh | bash
irm https://agenticcontrolplane.com/install.ps1 | iex