Some calls need a person to say yes.
Escalation Loops put a human in the loop on the agent calls that matter. A rule sends a matching call to an approver, and it goes no further until they decide. Escalations are in preview.
A rule asks a person,and the call stops until they answer.
The loop runs in the Tool Gateway, in the call path. An agent can't route around it, and an unanswered request never goes through.
Ask a person
A $4,800 refund over the agent's limit stops at the gateway. The approver sees the call, the amount and the rule that sent it.
Decide from a link
A webhook tells your team a decision is waiting, with a signed link to approve or deny it from Slack, email or a ticket.
Judgment 8c1e · stripe/create_payout
00:00:00Expired · deniedNobody decided, so the payout never ran.
Fail closed
Give every decision a deadline. If nobody answers in time, the call is denied.
Every loop is a workflowyou version like code.
An escalation is a workflow: what triggers it, who reviews, and the outcome of every answer. Build it in the dashboard's graph editor or as config. Each change is a new version, and a rollback copies an earlier one forward.
high-risk-reviewv3 · active
Rule permits github/merge_pull_requestReview
Ask a release approverexpires in 1h
ApprovedAllow
DeniedDeny
No decision in timeDeny
Attach a loop to a ruleand decide from wherever you work.
An escalate rule names the workflow and the calls it covers. Reviewers decide in the dashboard, from the CLI, MCP or API, or from a signed link.
Escalate rule
// Send every merge on the payments repo to a release approver.escalate<Dome::Escalation::"high-risk-review">( principal is Dome::Agent, action == Dome::Action::"mcp:call", resource == Dome::MCPTool::"github/merge_pull_request") when { resource.arguments.repo == "payments-api"};Resolve a judgment
# What is waiting for a decisiondome escalations judgments list high-risk-review --status pending
# See the call and the rule that routed itdome escalations judgments get high-risk-review 8c1e
# Decidedome escalations judgments resolve high-risk-review 8c1e \ --verdict approveBuilt to denywhen anything is unclear.
A human in the loop only helps if the loop can't be skipped. Every gap in an Escalation Loop resolves to a denial.
Any deny wins
When several loops match one call, every one must allow it. A forbid at org or tenant level never reaches a loop.
Errors deny
A workflow error, an unavailable workflow or an overload denies the call.
One approval, one call
An approval covers the request it was asked about. The same call tomorrow asks again.
Named reviewers
Only people you grant the resolve permission can decide. A signed link reaches only the destination you set.
On the record
Each loop run and each decision is an audit event, with who decided and when. Stream them to your SIEM.
Managed as code
Create, change and roll back workflows from the CLI, MCP, the REST API or Terraform.
Common questionsabout human-in-the-loop approval.
- What is human-in-the-loop approval for AI agents?
- A person approves or denies an agent's action before it runs. In Dome, a rule decides which calls need that, and the gateway holds them to it.
- What does the agent see while a decision is pending?
- The gateway refuses the call as pending, so nothing reaches the tool. Once someone approves, the agent's retry goes through.
- What happens if nobody answers?
- The decision expires and the call is denied. You set the deadline when you build the workflow.
- Can approvers decide outside the Dome dashboard?
- Yes. A webhook delivers each pending decision with a signed link, so an approver can decide from Slack, email or a ticket. The CLI, MCP and API work too.
- Can an AI decide instead of a person?
- Not yet. AI judges that decide a review step are coming. Today a person decides.
- Which plans include Escalation Loops?
- Escalations are in preview on Pro, Team and Enterprise. An org owner turns on preview features in Settings.