A finance system may need a partner’s agent to pay a contractor reimbursement. Cross-domain delegation transfers limited authority between organizations while leaving each domain responsible for enforcing its own policies. section 18.7 section 18.8
Before delegating, the requesting agent can assess the partner’s reputation and its promises about future behavior. A credential then carries the delegated authority across the boundary. It does not itself authorize a payment: the receiving domain evaluates each request against its own policies, using the credential’s claims as inputs. section 18.7
Figure 18.5 Cross-domain delegation in a society of agents. Two policy-limited agents collaborate across domains. The receiving agent makes promises about its future behavior, and the requesting agent assesses those promises and the partner’s reputation and then grants authority using a credential. The receiving agent operates under its own policies, and both domains log the outcome for future decisions.
The delegation flow connects promises and reputation checks to a credential, local policy enforcement, and outcome logs in both domains. section 18.7
{
"type": ["VerifiableCredential", "ReimbursementDelegationCredential"],
"issuer": "did:web:finance.acme.example",
"credentialSubject": {
"id": "did:web:agents.partnerpay.example:reimbursement-agent",
"capability": "contractor.reimbursement.pay",
"constraints": {
"max_amount": 250,
"currency": "USD",
"contractor_id": "ctr-44721",
"expense_category": [
"travel",
"meals",
"supplies",
"software"
],
"requires_receipt": true,
"purpose": "pay approved contractor reimbursement",
"expires": "2026-04-30T23:59:59Z"
}
}
}
This reimbursement credential identifies the partner agent and limits its authority by amount, currency, contractor, expense category, receipt requirement, purpose, and expiration. section 18.7
permit (
principal,
action == Action::"reimbursement.pay",
resource
)
when {
context.delegation.capability == "contractor.reimbursement.pay"
&& context.payment.amount <= context.delegation.constraints.max_amount
&& context.payment.currency == context.delegation.constraints.currency
&& context.payment.receipt_present == true
&& context.currentTime < context.delegation.constraints.expires
};
The receiving policy checks the delegated capability and payment context, including amount, currency, receipt presence, and expiration. The credential supplies inputs; the policy makes the request-level decision. section 18.7
After a successful payment, the partner returns a signed receipt. Both domains record the outcome and update their internal reputation databases, creating evidence for future delegation decisions. Policies constrain behavior, promises communicate intent, and reputation records past outcomes. section 18.7
