{"id":"TIE-AGT-001","title":"Agent as a first-class identity with an accountable sponsor","maturity":"reference-build","collection":"Agent identity","category":"Identity and ownership","complexity":"Medium","intent":"Register every AI agent as its own identity, with a named human sponsor accountable for its purpose, access and retirement.","summary":"AI agents often run on shared service accounts, borrowed human credentials or API keys nobody owns. This pattern gives each agent its own identity record, a business sponsor and technical owners, and drives reviews, sponsor changes and retirement from that record.","problems":["Unowned AI agents","Shadow AI and agent sprawl","Accountability for AI actions","Agents using human or shared credentials","Orphaned agents after people leave","Audit evidence for AI governance"],"standards":["OAuth 2.0","OpenID Connect","NIST SP 800-53 AC-2","ISO/IEC 27001:2022 A.5.16","OWASP LLM06 Excessive Agency"],"tags":["AI agent","agent identity","non-human identity","NHI","sponsor","owner","agent registry","lifecycle","joiner-mover-leaver","Entra Agent ID","Okta for AI Agents","PingOne AI agents"],"roles":["IAM architect","Identity engineer","Security leader","Platform engineering","AI engineering"],"industries":["Cross-industry","Financial services","Healthcare","Retail","Public sector"],"builds_on":[],"related":["TIE-AGT-002","TIE-AGT-003","TIE-AGT-004","TIE-AGT-005","TIE-AGT-006"],"authors":"Trevonix Innovation","reviewers":"Trevonix IAM architecture","version":"1.0","last_reviewed":"2026-11-24","published":"2026-11-24","og_image":"og-tie-agt-001.png","sections":{"summary":[{"type":"bullets","content":"Every AI agent gets its **own identity** in your identity platform: never a person's account, a shared service account or an unowned API key.\nEvery agent has a named **sponsor** who is accountable for why it exists and what it may access, and at least two **owners** who look after its configuration and credentials.\nReviews, sponsor changes and retirement are **driven from that record**, so no agent outlives the people accountable for it."}],"problem":[{"type":"paragraph","content":"AI agents are being built faster than identity teams can see them. Many run on credentials that were never meant for them: a service account shared by several workloads, an API key in a configuration file, or a developer's own login. When something goes wrong, for example an agent reads data it should not, sends the wrong message or is compromised, nobody can answer the first two questions an investigation asks: *which agent was this*, and *who is accountable for it*?\n\nTreating agents as ordinary service accounts does not close the gap. Service accounts usually have a technical contact at best, no recorded business purpose and no review cycle, and they outlive the projects that created them. Agents make this worse: they act on their own, chain tools together, and are created and abandoned in weeks rather than years."},{"type":"note","content":"Delegation, least-privilege authorisation, human approval and audit all depend on knowing which agent is acting and who answers for it. This pattern is the foundation the other agent identity patterns build on.","title":"Why this comes first"}],"use_when":[{"type":"bullets","content":"AI agents, whether custom-built or created in a platform such as Microsoft Copilot Studio, Azure AI Foundry, AWS Bedrock or Google Vertex AI, reach enterprise applications, APIs or data.\nYou need to show auditors or regulators who is accountable for each automated actor.\nAgents are built by many teams and you need one inventory.\nYou plan to add delegation, fine-grained authorisation or human approval later; all of them need a known agent identity first."}],"avoid_when":[{"type":"bullets","content":"The \"agent\" is a fixed, scripted integration with no autonomy. Standard workload or service-account governance may be enough, although registering it does no harm.\nYou do not yet know which agents exist. Start with discovery, then register what you find using this pattern.\nYou expect registration alone to make agents safe. It makes them attributable and governable; least-privilege access and runtime controls still have to be added."}],"forces":[{"type":"bullets","content":"**Speed against control.** Developers want to ship agents without waiting in a ticket queue; security wants nothing running unregistered.\n**Business against technical accountability.** The person who knows why an agent exists is rarely the person who manages its credentials.\n**People move; agents stay.** Sponsors change roles and leave, and an agent keeps running unless something stops it.\n**Platform sprawl.** Agents live in many builder platforms, each with its own idea of identity and ownership.\n**Granularity.** One identity per running copy drowns reviewers; one identity for a whole fleet makes actions impossible to attribute.\n**Symbolic ownership.** In some products the owner field grants nothing and triggers nothing, so filling it in creates no real accountability."}],"solution":[{"type":"paragraph","content":"Register each agent as a distinct, non-human identity in your identity platform, with its own credentials, and attach two kinds of people to it: a **sponsor** and **owners**. Then connect the platform's lifecycle and governance processes to those people, so the record does work rather than sitting in a directory."},{"type":"image","content":"The agent identity record sits between the people accountable for the agent and the resources it may use. Lifecycle events are driven from the record.","title":"Solution overview","media":"agent-identity-solution.png","alt":"Diagram: a sponsor and two or more owners are linked to an agent identity record holding ID, purpose, platform, environment, sensitivity, credential, state and next review date. The record is granted least-privilege access to apps and APIs, data stores, and tools and MCP servers. Below, the lifecycl"},{"type":"table","content":"Element | What it is | Rule\nAgent identity | A dedicated identity for one agent, or for one agent type in one environment | Unique and never shared; created through a supported registration channel\nSponsor | The business person, or managed group, accountable for why the agent exists and what it may access | Required before activation; must be an active employee\nOwners | The technical people or team who manage configuration, credentials and incidents | At least two people, or a group, so the agent is never ownerless\nPurpose and context | Business purpose, platform of origin, environment and data sensitivity | Structured fields, not free text, so they can drive policy and reports\nCredential | The agent's own certificate, key pair or federated credential | No human passwords and no shared secrets; prefer keys and federation to static secrets\nLifecycle | Requested, active, under review, disabled, retired, plus a next-review date | Every change is logged; an overdue review disables the agent","title":"What the agent record holds"},{"type":"numbered","content":"**Request.** The team asks for a new agent, stating its purpose, the data it needs, its sponsor and its owners.\n**Register.** The identity team, or an approved pipeline, creates the agent identity and records the sponsor, owners and context.\n**Credential.** The agent gets its own credential, preferably a certificate, key pair or workload federation rather than a long-lived secret.\n**Grant.** Access is granted to the agent identity, never to the developer who built it, with only the scopes its purpose needs.\n**Operate.** Tokens and audit events carry the agent's own identity, so every action can be attributed.\n**Review.** The sponsor confirms purpose and access on a schedule; every 90 days is a sensible default for agents that touch sensitive data.\n**Respond.** When a sponsor moves or leaves, sponsorship is reassigned within an agreed time, or the agent is disabled.\n**Retire.** When the purpose ends, the sponsor approves retirement, credentials are revoked and the identity is disabled, then deleted after your retention period.","title":"How it works"},{"type":"code","content":"{\n  \"agentId\": \"agt-claims-triage-prod\",\n  \"displayName\": \"Claims triage assistant\",\n  \"purpose\": \"Classifies inbound claims emails and drafts a routing decision\",\n  \"platform\": \"Agent builder of record\",\n  \"environment\": \"production\",\n  \"dataSensitivity\": \"confidential\",\n  \"sponsor\": \"head.of.claims@example.com\",\n  \"owners\": [\"claims-platform-team@example.com\"],\n  \"credentialType\": \"certificate\",\n  \"status\": \"active\",\n  \"nextReview\": \"2027-03-01\",\n  \"retireBy\": \"2027-12-31\"\n}","title":"Minimum agent record (vendor-neutral, JSON)","language":"json"},{"type":"tip","content":"Where a product has no field for purpose, sensitivity or review date, store them as custom attributes or tags. What matters is that every platform answers the same questions in the same way.","title":"Use the same record on every platform"}],"design_rules":[{"type":"numbered","content":"**One agent, one identity.** Never let an agent run as a person or on a shared service account.\n**No sponsor, no activation.** Make the sponsor mandatory at creation and block activation without one: in the platform if it can, in your registration process if it cannot.\n**Separate business accountability from technical administration.** The sponsor answers for purpose and access; owners answer for configuration and credentials.\n**Never a single owner.** Require at least two owners, or a maintained group, so a holiday or a resignation does not orphan the agent.\n**Tie sponsorship to joiner-mover-leaver.** A sponsor's move or departure must trigger reassignment within an agreed time.\n**Record purpose and sensitivity as data.** Structured fields can drive policy, reviews and reports; free text cannot.\n**Give every agent a next-review date.** An overdue review disables the agent instead of being forgotten.\n**Grant access to the agent, not its builder.** Developers keep their own, separate access.\n**Make ownership do something.** Route reviews, alerts and approvals to the sponsor and owners. A field that triggers nothing is decoration."}],"anti_patterns":[{"type":"table","content":"Anti-pattern | What goes wrong\nAgent runs as its developer | Every action looks as if the person did it, the agent's access grows with theirs, and the agent breaks, or keeps running, when they leave\nOne service account for many agents | No action can be attributed to an agent, and revoking one agent stops them all\nOwner field with no process | The directory looks governed, but nothing happens when the owner leaves\nTeam mailbox as the only sponsor | Nobody in particular is accountable, and review requests go unanswered\nRegister after go-live | By the time the agent is registered it already holds access nobody approved\nAn identity for every session or prompt | Thousands of short-lived identities that nobody can review"}],"benefits":[{"type":"bullets","content":"Every agent action can be attributed to a specific agent and a named sponsor.\nOne inventory of agents across builder platforms.\nReviews, incidents and retirement reach accountable people.\nA foundation for delegation, fine-grained authorisation and human approval.\nEvidence of accountability for auditors and regulators."}],"costs":[{"type":"bullets","content":"Extra steps for developers. Offset them with a self-service request form and automated registration.\nReview workload for sponsors. Scale review frequency to the agent's data sensitivity.\nLicensing. Agent identity features are separately licensed add-ons in some platforms.\nUneven enforcement. Where a product's ownership field is only a label, your process has to supply the enforcement."}],"tests":[{"type":"table","content":"Test | Expected result\nTry to activate an agent with no sponsor or owners | Blocked by the platform or the registration process; the agent stays inactive\nDisable a sponsor's account in a test tenant | The co-sponsor, owners or the sponsor's manager are asked to reassign within the agreed time, and the agent is flagged\nLet a review deadline pass | The agent is disabled automatically or flagged for disabling\nRun an access review | The sponsor receives the agent's access to confirm; anything removed is revoked\nCheck the audit log for an agent action | The event shows the agent's own identity, not a person or a shared account\nRetire the agent | Credentials are revoked, the identity is disabled and no new tokens are issued\nSearch for agents on personal or shared credentials | None found; any that are found are migrated or disabled"}],"maturity_notes":[{"type":"paragraph","content":"**Reference build.** Trevonix has implemented this pattern end to end in lab tenants on Microsoft Entra, Okta and Ping Identity (November 2026). The Saviynt recipe is written from Saviynt's published material and has not yet been lab-tested by Trevonix."},{"type":"warning","content":"Several capabilities used here were in preview or early access when this pattern was written. Check each recipe's last-verified date and your vendor's current documentation and licensing before you start.","title":"Agent identity products change quickly"}],"faq":[{"type":"faq","content":"No. A service account usually has no recorded business purpose, no business sponsor and no review cycle. An agent acts on its own, can chain tools and data together, and is created and retired quickly, so it needs the accountability of a person and a faster lifecycle than a service account.","title":"Is an AI agent just another service account?"},{"type":"faq","content":"The sponsor is the business person accountable for why the agent exists and what it may access. Owners are the technical people who manage its configuration and credentials. Microsoft Entra uses both terms. Okta and Ping Identity use \"owner\" for the people responsible for an agent, so record the business sponsor separately if the product has no field for it.","title":"What is the difference between a sponsor and an owner?"},{"type":"faq","content":"Usually not. Give one identity to each agent, or to each agent type in each environment. Give separate identities to running copies only when they act for different users or must be revoked separately.","title":"Should every running copy of an agent get its own identity?"},{"type":"faq","content":"Reassign sponsorship before their leaving date as part of your leaver process. If that does not happen, flag the agent and disable it after a short grace period. An agent with no accountable person should not keep running.","title":"What should happen when a sponsor leaves?"},{"type":"faq","content":"No. Registration makes an agent attributable and governable. You still need least-privilege access, delegation that preserves the user's identity, and runtime controls for high-risk actions.","title":"Does registering an agent make it secure?"}],"references":[{"type":"bullets","content":"[Microsoft Learn: Administrative relationships in Microsoft Entra Agent ID (owners, sponsors and managers)](https://learn.microsoft.com/en-us/entra/agent-id/agent-owners-sponsors-managers)\n[Microsoft Learn: Best practices for Microsoft Entra Agent ID](https://learn.microsoft.com/entra/agent-id/best-practices-agent-id)\n[Okta Help: Add AI agents manually](https://help.okta.com/oie/en-us/content/Topics/ai-agents/ai-agent-add-manually.htm)\n[Ping Identity: Manage AI agent identities in PingOne Advanced Identity Cloud](https://docs.pingidentity.com/pingoneaic/identity-for-ai/ai-agent-identities-ui.html)\n[Ping Identity: AI agents in PingOne](https://docs.pingidentity.com/pingone/ai_agents/p1_ai_agents.html)\n[Saviynt: Lifecycle management for AI agents](https://saviynt.com/blog/lifecycle-management-for-ai-agents)\n[OpenID Foundation: Identity Management for Agentic AI (2025)](https://openid.net/new-whitepaper-tackles-ai-agent-identity-challenges/)\n[NIST SP 800-53 Rev. 5 (control AC-2, Account Management)](https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final)\n[OWASP Top 10 for LLM Applications 2025: LLM06 Excessive Agency](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/)"}]},"recipes":{"ping":{"status":"reference-build","product_name":"PingOne Advanced Identity Cloud","summary":"In PingOne Advanced Identity Cloud, agents are created on the AI Agents page with their own OAuth 2.0 client. The Agent Owners field is for visibility only and grants no permissions, so pair it with a sponsor attribute and a review process. PingOne, with the Agent IAM Core package, offers the same capability; see the notes after the steps.","last_verified":"2026-11","blocks":[{"type":"table","content":"Component | Role in this pattern\nAI agent identity | The agent's identity and its own OAuth 2.0 client; the client ID cannot be changed later\nAgent Owners | People responsible for the agent; for visibility only, with no functional permissions\nCustom attributes | Key-value metadata for sponsor, purpose, sensitivity, status and review date\nApplications | The resources the agent may use, the users it may act for, and its scopes\nAgent Governance (add-on) | Discovers agents in builder platforms and governs them like human identities, including reviews","title":"Components"},{"type":"bullets","content":"Check that the AI agents feature is enabled in your tenant; it is on by default in newer tenant environments.\nAgree a client ID naming convention, such as agt-<purpose>-<environment>. The client ID cannot be changed after you save.\nAgent Governance is a separately licensed add-on to PingOne Identity Governance.","title":"Before you start"},{"type":"numbered","content":"In the Advanced Identity Cloud admin console, go to **AI Agents** and select **Add AI Agent**.\nIn **Add new AI Agent**, enter a descriptive **Name** and a **Client ID** that follows your convention. Leave **Client Secret** blank to set it later, or use **Use Secret Store for secrets** with a secret label identifier. Select **Save**.\nOpen the agent. On the **Overview** tab, enter a **Description** stating its purpose and select at least two **Agent Owners**.\nSelect **Show advanced settings** and add custom attributes: sponsor, purpose, dataSensitivity, environment, status and nextReview. Select **Save**.\nOn the **Applications** tab, select **Add Application**, choose the resource, limit **Acting On Behalf Of** to the users or groups it serves, and choose only the scopes it needs under **Permissions**. Select **Save**.\nOn the **Access** tab, set the credential. Prefer the secret store, and rotate secrets on a schedule.","title":"Create the agent identity (PingOne Advanced Identity Cloud)"},{"type":"bullets","content":"AI agent capabilities in PingOne need the Agent IAM Core package.\nIn the PingOne admin console, go to **AI Agents**, add the agent with a **Name** and **Description**, then complete its configuration and resources.\nManage owners by granting users the **Application Owner** role for the agent.\nUse the toggle at the top of the agent's details panel to disable it quickly.","title":"On PingOne instead"},{"type":"bullets","content":"Agent Owners grant no permissions and trigger no process on their own. Without a sponsor attribute and a review process, ownership is only a label.\nA client secret entered at creation cannot be viewed again; store it in a secret store straight away.","title":"Gotchas"},{"type":"bullets","content":"Every agent on the **AI Agents** page has owners, a sponsor attribute and a nextReview date.\nAudit events for the agent's activity identify the agent's own client, not a person.","title":"Check it works"}]},"okta":{"status":"reference-build","product_name":"Okta for AI Agents","summary":"Okta for AI Agents registers agents as first-class identities in Universal Directory, alongside the people they work for, with up to five individual owners or a group owner. Owners are optional in the console, so enforce them in your registration process.","last_verified":"2026-11","blocks":[{"type":"table","content":"Component | Role in this pattern\nAI agent (Universal Directory) | The agent's identity, with name, description, platform and external ID\nOwners | Up to five individual owners, or one group owner with at least two members\nLinked app | An OIDC or SAML app that defines how users reach the agent; one app per agent\nClient registration | The agent's own credential: key pair, SPIFFE, client ID metadata document or secret\nMachine access | Other agents or services allowed to call this agent","title":"Components"},{"type":"bullets","content":"Okta for AI Agents is for Okta Workforce Identity customers on Identity Engine. Some capabilities have been released as Early Access, so check what is enabled in your org.\nYou need permission to manage AI agents in your org. For agents built on a supported builder platform, import them instead of registering them by hand.","title":"Before you start"},{"type":"numbered","content":"In the Admin Console, go to **Directory > AI Agents** and select **Register AI agent > Register manually**.\nEnter a **Name** and a **Description** that states the agent's business purpose.\nIn **Identifier**, select the **Platform** and enter the agent's **External ID**, then select **Next**.\nChoose how users reach the agent: create a new OIDC app linked to it, or select an existing SAML app. An app can be linked to only one agent.\nOn the **Owners** tab, select **Edit**, then **Assign individual owners** (up to five) or **Assign a group owner** (a group with at least two members), and select **Save**. Assign at least two owners.\nOn the **Client registration** tab, configure the agent's credential. Prefer a public/private key, SPIFFE or a client ID metadata document to a client secret.\nOnly if other agents or services call this agent, configure the **Machine access** tab.\nSelect **Actions > Activate** and confirm.","title":"Register the agent"},{"type":"bullets","content":"Okta records owners but has no separate business sponsor field. Name the sponsor in the description, or keep the sponsor and next-review date in your agent register, and include a business owner among the owners.\nUse **Actions > Deactivate** to stop an agent quickly; it is the first step of retirement.","title":"Record the sponsor and review date"},{"type":"bullets","content":"Owners are optional in the console, so it will let you activate an agent without one. Block this in your registration checklist.\nImports from builder platforms update existing agent records instead of creating duplicates, so correct ownership on the Okta record as well as at the source.","title":"Gotchas"},{"type":"bullets","content":"On **Directory > AI Agents**, use **View** to show the owners column and confirm that every active agent has at least two.\nConfirm that System Log events for the agent's activity identify the agent rather than a user.","title":"Check it works"}]},"entra":{"status":"reference-build","product_name":"Microsoft Entra Agent ID","summary":"Microsoft Entra Agent ID creates agent identities from an agent identity blueprint. A sponsor is required on both; owners are optional technical administrators. Sponsors can enable and disable the agent without admin rights, which gives the business a stop button.","last_verified":"2026-11","blocks":[{"type":"table","content":"Component | Role in this pattern\nAgent identity blueprint | Template for a type of agent; has its own owners and sponsors and creates agent identities\nAgent identity | The agent's own identity (a special service principal), used for tokens and audit\nSponsor | Business person or group accountable for the agent; can enable, disable and soft-delete it\nOwners | Technical administrators; manage credentials and settings, and can add owners and sponsors\nCustom security attributes | Structured purpose, environment and sensitivity fields\nLifecycle workflows | Notify co-sponsors and managers when a sponsor moves or leaves","title":"Components"},{"type":"bullets","content":"Microsoft Entra Agent ID is available to Microsoft Entra customers. Conditional Access for agents needs Entra ID P1 and ID Protection for agents needs P2; governance features for agents depend on your Microsoft licensing, so confirm it before you design reviews and workflows around them.\nTo create blueprints and agent identities you need the Agent ID Administrator or Agent ID Developer role, or ownership of the blueprint.\nAgree your custom security attributes (for example AgentPurpose, Environment and DataSensitivity) before you register agents.","title":"Before you start"},{"type":"numbered","content":"Sign in to the Microsoft Entra admin center.\nBrowse to **Entra ID > Agents > Agent blueprints** and create a blueprint with the admin center wizard. Give it a name that describes the type of agent.\nIn the wizard, assign at least two **owners** (technical administrators) and the **sponsor** (the accountable business person or group). The wizard also creates the blueprint principal.","title":"Create the blueprint (once per type of agent)"},{"type":"numbered","content":"Browse to **Entra ID > Agents > Agent identities** and select **New agent identity**.\nOn the **Basics** tab, under **Agent blueprint**, select your blueprint and give the agent a display name that says what it does.\nAssign the agent's **sponsor** and **owners**, then create it.\nAdd your custom security attributes (purpose, environment, data sensitivity) to the agent identity.","title":"Create the agent identity"},{"type":"numbered","content":"Browse to **Entra ID > Agents > Agent identities** and select the agent.\nUnder **Access**, select **Owners and sponsors**.\nSelect **Add**, then **Add owner** or **Add sponsor**. Choose the users (sponsors can also be groups) and select **Add**.\nSet up a lifecycle workflow that notifies co-sponsors and the sponsor's manager when a sponsor moves or leaves, and assign a new sponsor within your agreed time.","title":"Maintain owners and sponsors"},{"type":"bullets","content":"Do not create agents as plain app registrations or service principals; they would miss the built-in sponsor accountability and lifecycle controls.\nOnly dynamic membership groups and Microsoft 365 groups can be assigned as group sponsors.\nAfter a change to a dynamic group's rule or a user's properties, it can take up to 24 hours before a new sponsor is recognised.\nSponsors cannot change authentication settings; those stay with owners, which keeps business and technical duties apart.","title":"Gotchas"},{"type":"bullets","content":"Sign in as the sponsor: the agent should be visible to them, and they should be able to disable it.\nSign-in and audit logs for an agent action should show the agent identity, not a user or a shared principal.","title":"Check it works"}]},"saviynt":{"status":"documented","product_name":"Saviynt Identity Security for AI","summary":"Saviynt Identity Security for AI brings agents from many builder platforms into one inventory and assigns owners by rule. This recipe is written from Saviynt's published material and has not been lab-tested by Trevonix, so it describes what to configure rather than exact screens.","last_verified":"2026-11","blocks":[{"type":"table","content":"Capability | Role in this pattern\nAgent inventory | One view of agents onboarded from platforms such as AWS Bedrock and AgentCore, Azure AI Foundry, Google Vertex AI, Salesforce Agentforce, ServiceNow AI and Microsoft Copilot\nRule-based ownership | Assigns owners automatically when agents are registered or their labels change, and can be applied to agents already in the inventory\nLifecycle governance | Takes each agent from registration through change to retirement, with reviews sent to its owner\nPosture management | Finds unregistered, unowned and over-privileged agents","title":"Capabilities used"},{"type":"numbered","content":"Connect each agent builder platform you use, so its agents appear in the agent inventory with their model, criticality, status and owner.\nDefine ownership rules that map platform labels or attributes to an accountable owner, and apply them to agents already in the inventory to close \"no owner\" gaps.\nReview any agents still without an owner and assign one. Require a business sponsor for agents that handle sensitive data.\nSet lifecycle states and review frequency, and route access reviews to each agent's owner.\nUse posture findings to catch agents that appear without registration or ownership, and register or disable them.","title":"Configure"},{"type":"bullets","content":"Ownership rules are only as good as the labels on the source platform. Agree a labelling standard with the teams that build agents first.\nCheck which builder platforms your Saviynt version supports before you rely on automatic onboarding.","title":"Gotchas"}]},"misc":{"status":"not-available","product_name":"","summary":"","last_verified":"","blocks":[]}},"slug":"tie-agt-001-agent-as-a-first-class-identity-with-an-accountable-sponsor","updated_at":"2026-11-24T16:55:55.295Z","url":"https://exchange.trevonix.com/patterns/tie-agt-001-agent-as-a-first-class-identity-with-an-accountable-sponsor","markdown_url":"https://exchange.trevonix.com/patterns/tie-agt-001-agent-as-a-first-class-identity-with-an-accountable-sponsor.md","publisher":"Trevonix","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"}}