How to Inventory Every AI Agent, Tool and Model Running in Production

October 14, 2026
October 14, 2026

0 min read

AI Security
How to Inventory Every AI Agent, Tool and Model Running in Production

The question arrives from the board, an auditor or a customer questionnaire, and it is always some version of the same one. What AI is running in our production environment? For most security teams the honest answer today is an estimate assembled from a survey, a wiki page and whoever remembers building something.

That answer does not survive a follow-up question. This post covers what belongs in a real AI agent inventory, why the three common ways of building one come up short, and how to produce one from evidence rather than from asking around.

What belongs in an AI agent inventory?

Six component types, with the agent at the center. This is the vocabulary the rest of the post uses.

ComponentWhat it is
AgentThe center of the inventory. Name, model, tools, guardrails, data in and out, runtime state and risk. Everything else hangs off it.
ToolA capability an agent can invoke. Carries its origin (framework, app code or MCP), its direction (input, output or both), a category for what it touches, and the function or endpoint behind it.
WorkflowA fixed chain of tools an agent runs as a single step.
MCP serverA server the organization builds and runs. Connections out to external servers are not this; they appear as MCP client connections under a tool.
ModelIdentity and where it is served, cloud or local. For local models, the file details. Plus which agents bind it.
GuardrailSafety filters as loaded: category, level, action, direction. Also reveals which agents have none.

Every one of these is correlated back to the repository, image and application it ships and runs from, which is what makes ownership and routing answerable from the same evidence rather than from a separate mapping exercise nobody maintains.

One distinction inside that table does more work than it looks. A tool's origin carries three different trust stories. A framework tool shipped inside LangChain or similar: nobody at your company wrote it, and you inherited it upstream. An app-code tool: your developers wrote it, and it is yours to read and fix. An MCP tool: it arrived over a runtime connection, and no code review ever saw it.

Why can't a manifest scan or a gateway produce this inventory?

Each common approach sees a real layer, and each one misses the layer where agent risk lives.

ApproachWhat it seesWhat it cannot show
Manifest and SBOM scanDeclared dependenciesWhether an agent exists, what tools it holds, which model it binds
Network or gateway inspectionTraffic to a model providerLocally served models, in-memory delegation between agents, the functions behind tools
Questionnaire or code reviewStated intent at a point in timeTools imported over MCP at runtime, dormant capability, the loaded configuration
Runtime evidence from process memoryWhat is loaded and able to runRate and volume properties, and anything outside the instrumented hosts

The last row is included deliberately. Runtime evidence is not a superset of the other three, and a plan that pretends otherwise breaks the first time someone asks about token spend or about a workload outside the estate.

How do you build the inventory from runtime evidence?

By reconstructing the live agent hierarchy from the running process. Runtime intelligence reads user-space memory and kernel signals from in-host sensors, so every attribute in the inventory traces back to something observed rather than declared. No code changes, no SDK, no gateway, no repo access.

The model call is what makes this tractable. It is the convergence point of every agentic workload: everything before it is a data source, everything after it is a data sink. That single observation lets an agent's whole data surface be classified without instrumenting the application.

Read this way, the inventory answers two questions no manifest and no packet can. What data can reach this model, and where can data leave. Both are statements about reachable paths drawn from how the agent is wired. They are not recordings of traffic, and the difference matters: the value is surfacing an exposure before it fires, not claiming to have watched data move.

What does a runtime inventory show that a survey cannot?

Four things, and each one is a finding in its own right.

  1. Dormant capability. An agent or tool that is loaded and able to run but has never executed. A survey will not mention it, activity monitoring cannot see it, and it is fully wired into production.
  2. Locally served models. A model file on disk, confirmed loaded in memory, with format, parameters, quantization, license and digest. It never touches the network, so every gateway and network product is blind to it.
  3. Runtime tool surface. Tools imported over MCP after deployment, which expand what an agent may do without any change passing through code review.
  4. Guardrails as loaded. Which filters are actually in the process, at what level and in which direction, and which agents are running without any.

These are also the four that make the inventory operationally useful rather than a compliance artifact. Each one names a specific thing to go change.

What do you do with it on day one?

Run the model allow-list. Compare the models actually bound in memory against your approved list, and treat anything off the list as an issue like any other. It is a single comparison, it is easy to explain to a non-technical stakeholder, and it converts the inventory into a control immediately.

From there, discovered risk becomes an AI Risk issue in the queue your team already works, mapped to the OWASP LLM Top 10 and routed by the repo and image it came from, which is the same path vulnerability management follows for everything else. Precise control follows the evidence: because the agent hierarchy is reconstructed rather than inferred, an action can be attributed to the agent that originated it, and policy can name that agent instead of the whole service. Any response is validated before it is applied, scoped, reversible and under your control.

Inventory is not the deliverable. The source is

Plenty of tools will hand you a list of AI assets. The list is not the differentiator, because a list assembled from manifests and a list assembled from process memory disagree in exactly the places that matter: the agent nobody remembers deploying, the model that never leaves the host, the tool that arrived last Tuesday over MCP. When the question is what runs in production, the only answer worth defending is the one read from what is running. See how AI runtime discovery builds it.

Frequently Asked Questions

What is an AI agent inventory?

A typed record of every agent, tool, workflow, MCP server, model and guardrail running inside your applications, with each one traced back to the repository and image it ships from. It answers the question a board or an auditor actually asks, which is what AI runs in production and who owns it, without relying on a survey.

How is this different from an AI-BOM?

They operate at different levels and both are useful. An AI-BOM is the package-level bill of materials: AI frameworks, SDKs and model files, anchored on the SPDX 3.0 AI profile and CycloneDX ML-BOM. AI runtime discovery is the component level: the agents, tools, workflows, MCP servers, models and guardrails themselves. A package list tells you LangChain is installed. It does not tell you an agent built on it can issue refunds.

What does dormant mean, and why does it matter?

A tool is running when its function actually executed. An agent or a model is running when it was created in the process. So an agent can be running while its tools stay dormant, which on screen reads as never seen running. A dormant refund sub-agent that is wired into production and has never fired is invisible to anything watching activity, and it is still a live capability.

Can this find AI in applications my team did not build?

It can find AI in any workload the sensor runs in, including homegrown and internally built applications, because the evidence comes from the process rather than from a platform connector or an SDK you had to add. Tools that work through connectors only see the platforms they have connectors for.

Does building this inventory require code changes?

No code changes, no SDK, no gateway and no repo access. It relies on an in-host sensor, so something does run in the environment, and for regulated or air-gapped environments there is a separate path. The point is that application teams are not asked to instrument anything.

What should we do with the inventory once we have it?

Start with the model allow-list. Compare the models actually bound, read from memory, against your approved list, and treat anything off the list as an issue. It is simple, it is easy to explain upward, and it turns the inventory from a document into a control on day one.

Related reading

Table of contents

Related blogs

Two Security Stacks, One Application Layer: The Split Is False

Two Security Stacks, One Application Layer: The Split Is False

You are being sold two security stacks. Agents run in the same processes as the code around them, so you only have one application layer.

October 13, 2026

7

When AI Agent Delegation Becomes Unauthorized Access

When AI Agent Delegation Becomes Unauthorized Access

A support agent cannot export customer records. A reporting agent can. Through delegation, the restricted agent gets there anyway.

October 12, 2026

6

Pulling Apart Meta's Muse Security Model

Pulling Apart Meta's Muse Security Model

Muse isolates each agent and gates actions outside the model. That answers where the agent runs. Once you build on it, the question is what it can reach.

October 5, 2026

6

Stop the waste.
Protect your environment with Kodem.

A Primer on Runtime Intelligence

See how Kodem reads what actually loads and executes in your running applications, and why that changes which findings matter.

See the Kodem platform

Kodem shows which vulnerabilities actually load and execute in your running applications, so your team works the risk that is real.

The State of the Application Security Workflow

This report aims to equip readers with actionable insights that can help future-proof their security programs. Kodem, the publisher of this report, purpose built a platform that bridges these gaps by unifying shift-left strategies with runtime monitoring and protection.

3D book mockup of Kodem's State of the Application Security Workflow 2025 report

Get real-time insights across the full stack…code, containers, OS, and memory

Watch how Kodem’s runtime security platform detects and blocks attacks before they cause damage. No guesswork. Just precise, automated protection.

Kodem issues list with a magnified view of insight icons: runtime, ingress, and exploitability
Combined author
Mahesh Babu
Publish date

0 min read

Combined author
Kodem Product Team
Publish date

0 min read

AI Security