Security model
ToolPause is an action-authorization control plane: risky tool calls pause; humans approve the exact call; execution is audited.
Bound approvals
Every pending approval stores a fingerprint of tool_name + canonical arguments.
Decide / complete reject mismatches — parameters cannot drift after the human said yes.
Optional edit-on-approve recalculates the fingerprint so the agent must execute the edited args.
Fail closed
| Event | Behavior |
|---|---|
| No human decision before timeout | Status timed_out — agent must not execute |
| Kill switch for agent/session | Policy deny |
| Ambiguous / broken rule | Policy deny |
| Auth required, missing credentials | HTTP 401 |
Operators can extend a pending timeout from Inbox.
Decisions
| Status | Meaning |
|---|---|
approved |
Human cleared execution (optional edited args) |
denied |
Blocked; optional reject_reason_code for agents/audit |
responded |
Human answered as the tool — no execution |
timed_out / failed |
Fail closed |
Reject codes: unauthorized_scope, suspicious_arguments, wrong_environment, policy_violation, other.
Trusted agents
Agents listed in policy trusted_agents skip Inbox and evaluate as allow, still audited. Use for trusted automation — not for untrusted end-user sessions.
Auth
- Local session login + API keys (
X-API-Key) - Optional
ACTIONGATE_REQUIRE_AUTH=1 - Operator SSO: OIDC
What ToolPause is not
- Not LLM content guardrails
- Not a general “ask a human anything” product (optional Respond path only)