An AI agent inventory is a central, authoritative record of every agent your organization has deployed — what it does, who owns it, and what systems it can reach. Without one, governance controls have nothing to operate on: you cannot apply access policies, spending limits, or audit requirements to agents you do not know exist. Building and maintaining that inventory is the foundational step that everything else in an AI governance program depends on. Understanding what AI agent governance means in practice helps clarify why the inventory comes first.

Why Visibility Comes Before Every Other Control

Most AI governance discussions start with controls — guardrails, access policies, audit trails. Those are the right destination, but they assume you already know what you are governing. In practice, agent sprawl happens quickly. A data team connects a research assistant to a company database. A support team deploys a response agent on a third-party platform. A developer experiment that was "just a prototype" ends up running in production months later. None of these necessarily appear in a central record.

The consequence is not just an incomplete picture. Ungoverned agents can accumulate access rights through shared service accounts or undocumented integrations. When something goes wrong — a data exposure, an unexpected spend spike, an agent behaving outside its intended scope — the first question an incident team needs to answer is "which agents were involved and what could they access?" Without an inventory, that question has no reliable answer.

Visibility also enables everything downstream. Budget caps require knowing which agents to cap. Access policy enforcement requires knowing what credentials each agent holds. Compliance evidence requires being able to list agents that touched regulated data. An inventory is not a compliance checkbox — it is the prerequisite for enforcement being possible at all. For a structured look at the AI governance maturity model and where inventory fits, see An AI Governance Maturity Model.

What Belongs in an Agent Registry

An agent registry is the persistent record that backs your inventory. At minimum, each entry should capture:

Identity and ownership. A unique identifier, a human-readable name, the team or individual who owns it, and a brief description of its purpose. Ownership matters because agents need a responsible party — someone who is accountable for its behavior and who receives alerts when something requires action.

Capability scope. What the agent is permitted to do: which tools it calls, which data sources it can read or write, and which external services it integrates with. This is the "blast radius" surface — if the agent were compromised or misconfigured, what is the maximum impact?

Credential references. Which credentials or API keys the agent uses, without storing the secrets themselves. The registry should link to the secret management system that holds actual values, so that rotation and revocation can be tracked systematically rather than manually.

Status and lifecycle state. Whether the agent is active, paused, or decommissioned. Decommissioning is as important as registration: an inactive agent that still holds live credentials is an unnecessary risk. Lifecycle state should drive credential revocation, not trail behind it.

Attestations and last-verified date. For environments with a formal trust process, the registry should record when the agent last passed a review, what was checked, and whether that attestation is still current. Stale attestations are a signal that the registry has drifted from reality.

Discovery: Finding Agents You Did Not Know About

Maintaining a registry is straightforward once agents are registered. The harder problem is initial discovery — finding agents that exist but were never formally enrolled.

Several approaches are useful in combination. Infrastructure scanning looks for service accounts, API keys, and webhook configurations that match patterns associated with AI agents. Access log analysis identifies which principals are making calls to LLM APIs or agent orchestration services. Self-reporting through a mandated registration requirement — where creating an agent requires a registry entry before credentials are issued — prevents new gaps from forming, even if it does not resolve the existing backlog.

For discovery, it helps to start with the high-risk surface rather than trying to enumerate everything at once. Agents with access to production databases, customer data, or financial systems represent the greatest exposure. A targeted sweep of those environments surfaces the most consequential gaps first, giving you useful coverage before the full inventory is complete.

The practical reality is that your first inventory will not be complete. That is expected. The goal of initial discovery is not perfection but a sufficiently accurate picture to start applying controls to the things that matter most, while systematically closing the remaining gaps over time.

Keeping the Inventory Current

A registry that accurately reflects the state of your agent fleet the day it is built is not much better than no registry at all if it goes stale within months. Inventory maintenance needs to be built into the operational workflow rather than treated as a periodic audit exercise.

Automated registration enforcement is the most effective approach. If deploying an agent requires a registry entry first — and if the credential issuance or access provisioning workflow gates on that entry — then agents cannot be deployed without appearing in the registry. This turns the registry from a record that describes what should exist into a system that is required for deployment to work. For a look at how credential issuance and revocation work in practice, see How to Authenticate AI Agents.

Change detection complements registration enforcement. When an existing agent's integrations or permissions change, those changes should be reflected in the registry. This can be implemented through webhook callbacks from access management systems, or through periodic reconciliation jobs that compare the registry against actual credential stores and flag discrepancies.

Review cadence is also necessary. Automated detection catches configuration changes, but it does not catch agents whose purpose or ownership has drifted. A quarterly or semi-annual review process where owners confirm that their registered agents still match reality is a low-overhead way to surface the cases that automation misses.

From Inventory to Active Governance

An inventory becomes valuable when it drives enforcement rather than just reporting. The connection from the registry to policy systems is what converts a list of agents into an active governance boundary.

This connection takes several forms in practice. Budget and spend policies can be applied per registered agent, so that spend caps are automatically associated with each entry. Access policies that scope which resources an agent can reach can reference the registry to determine what each agent is permitted to do. Guardrail configurations — rules about what content the agent can receive or produce — can be bound to agents individually, rather than applied globally.

Audit logs become more useful when they reference a stable agent identity from the registry. An event that records "agent ID abc123 performed action X" is significantly more useful than a log entry referencing a credential or service account that might be shared across agents. The registry makes it possible to correlate events across systems back to a specific, named agent with a known owner and purpose.

A well-maintained inventory also feeds directly into compliance reporting. Frameworks like the EU AI Act and NIST AI RMF require organizations to document the AI systems they operate and demonstrate that controls were in place. An inventory with current ownership, capability scope, and attestation records is the starting point for that evidence.

A control plane built on this model registers agents as first-class objects with their own identity. Policies for access, spend, and content are attached at the agent level, and those entries feed directly into the enforcement layer so governance is active from the moment of registration rather than applied as an afterthought. For more on how agent identity drives downstream controls, see how to give an AI agent its own identity.

Common questions

How granular should an agent registry entry be? Granularity should track accountability. If two deployments of the same underlying model serve different purposes, different teams, or different data scopes, they should be separate entries — so that policies, spend limits, and audit trails apply to the right scope, and so that ownership is unambiguous. A single entry for "all our customer service agents" defeats the purpose of the registry when those agents have different access rights or serve different customer segments.

What do you do with agents that cannot be formally registered? Third-party agents embedded in SaaS platforms or managed externally may not be registerable in your own system. The practical response is to treat the integration point — the API key or service account the external agent uses — as the unit of governance. Document that integration in the registry under a placeholder entry, apply the same access scoping and spend controls you would apply to an internal agent, and review the vendor's own governance documentation as part of your assessment.

Should decommissioned agents stay in the registry? Yes, with a clear status. A decommissioned entry is audit evidence that the agent existed, when it was active, what it was permitted to do, and when access was revoked. Removing entries creates gaps in the historical record that are difficult to reconstruct when needed. Mark entries as decommissioned with a date, confirm that associated credentials have been revoked, and retain the entry for at least as long as your general log retention policy requires.

How does the inventory connect to audit trails? Audit logs become far more useful when each event references a stable agent identity from the registry. An entry that records "registered agent X performed action Y" is actionable; a log entry referencing a shared service account or an API key used by multiple agents is not. The registry provides the stable identifiers that make audit trails hold up under scrutiny — especially when you need to reconstruct a sequence of events across systems during an incident.