Policy

Control what agents can execute, not just what they can access.

OAuth scopes say what an app may access. Invoke policy says what a specific agent may do, in which workflow, against which resource, and what must be checked before execution.

Scoped execution

Keys can be limited by tool, action, environment, agent, workflow, and resource.

Approval checkpoints

Risky actions can pause with a frozen execution snapshot before the side effect runs.

Reconciliation

Unknown outcomes are checked against live state before retrying the tool.

Entity verification

Invoke blocks writes when the resolved customer, account, issue, or payment target drifts.

Policy shape

Rules should follow the agent, workflow, and resource.

The important boundary is not only provider OAuth. It is whether this agent can perform this action in this environment for this customer, invoice, repository, or channel.

{
  "agent_id": "billing_agent",
  "env": "prod",
  "workflow": "refund_review",
  "allowed_tools": ["stripe.refund", "crm.update_customer"],
  "resources": ["customer:cust_123"],
  "rules": [
    {
      "when": "tool == stripe.refund",
      "effect": "reconcile_before_retry"
    },
    {
      "when": "amount > 500 or env == prod",
      "effect": "require_approval"
    }
  ]
}
Failure landscape

The controls map to concrete production damage.

agent execution risk
FailureDamageInvoke control
Tool timeoutUnknown whether side effect happenedMark unknown_effect and reconcile
Duplicate retryDuplicate charges, issues, messagesIdempotency key and replay
Stale approvalHuman approves old stateFreeze, thaw, revalidate, requeue
Wrong entityWrong customer or account touchedEntity resolution check
Webhook inconsistencyAgent acts on event that did not landVerify source-of-truth state

Current policy

Invoke is in early access. Production terms, data processing, and security documentation are being finalized with design partners. Today, do not send secrets or regulated production data into demos unless you have a direct agreement with us.