Comparison of architectural patterns for securing AI agents
Use the following table to evaluate which architecture best suits your solution:
| Dimension | AI agent identities | Client ID metadata document (CIMD) |
|---|---|---|
Client registration |
Pre-registered OAuth 2.0 client and managed identity object; created using console, API, or dynamic client registration (DCR) |
Zero pre-registration; client metadata hosted externally at an HTTPS URL |
Identity modeling |
First-class |
Ephemeral OAuth 2.0 client configuration resolved dynamically at runtime |
Delegated token exchange (RFC 8693) |
Supported; validated against the agent’s assigned |
Supported; validated against standard OAuth 2.0 delegation policies (may act) and CIMD profile scopes |
Privilege granularity |
Granular, per-agent application privileges assigned directly to agent managed objects |
Scopes and authorization policies enforced at the realm or CIMD profile level |
Human-in-the-loop |
Native support for push notifications, consent, and user step-up confirmation |
Standard OAuth 2.0 consent handling |
Governance and auditing |
Supported in Agent Governance for access certification and lifecycle reviews |
Audited as standard OAuth 2.0 transactions linked to the CIMD URL origin |
Operational overhead |
Moderate; requires lifecycle onboarding and privilege maintenance per agent |
Low; requires one-time CIMD profile URL pattern setup per allowed origin |