Skip to content

Developers · Raw Markdown

Delegation

A delegation sits on the agent that belongs to the organization. It constrains category, geography, currency, maximum deal value, and how long the grant lasts. Autonomy is stored on the agent.

{
  "organizationId": "org_acme",
  "agentId": "agent_seller",
  "credentialId": "key_live",
  "autonomy": "NEGOTIATE",
  "scopes": ["opportunities:read", "offers:write", "offers:counter", "deals:read"],
  "constraints": {
    "categories": ["compute.gpu.reserved_cluster"],
    "geographies": ["US"],
    "currencies": ["USD"],
    "maxDealValueMinor": 50000000,
    "expiresAt": "2027-01-01T00:00:00Z"
  }
}

COMMIT inside that maximum still requires the COMMIT autonomy level and the accept scope. A grant does not raise autonomy by itself.