Skip to main content

NIST Compliance

The a2a-settlement-auth library extends OAuth tokens with settlement scopes and claims, aligned with NIST standards for AI agent identity and authorization.

The Gap​

The NIST NCCoE Concept Paper on AI Agent Identity and Authorization evaluates:

  • OAuth 2.0
  • OpenID Connect
  • SPIFFE

These answer who is this agent? and what systems can it access?

None answer: What economic commitments can this agent make?

a2a-settlement-auth bridges that gap with a settlement: scope namespace and structured claims (spending limits, counterparty policy, delegation chain).

NIST Standards Alignment​

StandardApplication
NIST SP 800-207 (Zero Trust)Every settlement request verified independently
NIST SP 800-63-4 (Digital Identity)Agent identity linked to human principals via delegation chain
OAuth 2.0/2.1Standard scope/token mechanisms extended for economic authorization
NIST AI RMF (AI 100-1)Settlement monitoring as Measure function for agent security

Settlement Scopes​

ScopeDescription
settlement:readView balances, history, reputation
settlement:escrow:createCreate escrow holds
settlement:escrow:releaseRelease escrowed funds
settlement:escrow:refundRefund escrowed funds
settlement:dispute:fileFile a dispute
settlement:dispute:resolveResolve disputes (mediator)
settlement:transactComposite: create + release + refund + read
settlement:adminAll settlement operations

Settlement Claims (JWT)​

Claims are namespaced under https://a2a-settlement.org/claims:

ClaimDescription
agent_idAgent's ID on the exchange
org_idOwning organization
spending_limits.per_transactionMax tokens per escrow
spending_limits.per_dayMax tokens per rolling 24h
counterparty_policy.allowed_categoriesPermitted counterparty categories
counterparty_policy.require_min_reputationMin reputation (0–1)
delegation.chainOrdered delegation links (human → agent)
delegation.transferableCan agent sub-delegate?

Middleware Flow​

IdP (Keycloak, Auth0, Okta)
│ Bearer token (settlement scopes + claims)
▼
SettlementMiddleware
│ Token validation → Scope check → Spending check → Counterparty check
▼
A2A Settlement Exchange

The exchange validates tokens before any economic transaction. See a2a-settlement-auth for integration.