AI Governance and Security: Keeping Agents on Task

GenAI Security
Blog

Key Takeaways

Governance must continue after approval. An agent’s owner, permissions, tools, and behavior can change throughout its lifecycle.
Treat agents as non-human identities. Track each agent alongside the credentials it uses, the people who can invoke it, and the data it can reach.
Evaluate access against purpose. Technically permitted actions can still exceed the job an agent was built to do.
Use context to prioritize risk. Identity, intent, data sensitivity, and behavior together help distinguish legitimate work from potentially harmful activity.
Build toward enforcement in stages. Discover and assess agents, validate findings, establish approval workflows, and automate well-understood responses.

An employee builds an agent to answer questions about supplier contracts. They connect a document library, add an email tool, and share it with colleagues. The platform is approved. The employee has legitimate access. The agent solves a real problem.

But whose permissions does it use when a colleague asks a question? Can it return contract terms that colleague should not see? And does an agent built to answer questions need permission to send those terms outside the company?

These are the questions AI governance and security need to answer as agents gain access to enterprise data and autonomous authority to act.

‍

What is AI governance and security?

AI governance and security combine the policies, accountability, and technical controls organizations use to manage AI responsibly and protect their data and operations. Governance establishes who is responsible, which uses are acceptable, and what oversight is required. Security identifies exposure, detects harmful activity, and applies controls.

For AI agents, this means understanding who created each agent, what it is intended to do, whose permissions it uses, what it can access, and whether its actions remain appropriate.

Broader AI governance also addresses areas such as fairness, transparency, and model quality. This article focuses on governing and securing employee-built agents across enterprise AI platforms.

‍

Approved AI platforms still need agent governance

Approving an AI platform then rolling it out to the enterprise workforce is one decision. Determining whether every agent built inside LLMs like Copilot, Enterprise GPT, and Claude has appropriate access is an ongoing responsibility.

Employees can create agents without following the same development and review process used for traditional software. In our State of Agentic Adoption 2026, Opsin's research arm, Opsin Labs, analyzed production environments across eight enterprise verticals between March 2025 and June 2026. Among its findings:

  • 67% of agents were built by nontechnical employees.
  • 35% of agents were orphaned while retaining full access and permissions.

These findings illustrate two practical challenges: the bulk of agent creation extends to departments beyond engineering, and access can persist after accountability disappears. An intake form can record what someone intended to build. It cannot, by itself, establish whether the agent still has the same owner, tools, sharing settings, or purpose months later. AI agent governance needs a continuing connection between the approval and the system operating in production.

‍

Govern AI agents as non-human identities

An agent may retrieve documents, invoke tools, or perform actions using a human’s delegated permissions or another credential. Governing it requires tracking both the agent itself and the authority behind its actions.

Consider the supplier-contract agent. Its creator can read confidential agreements. Another employee can use the agent but does not have the same document access. If the agent operates through its creator’s credentials, that combination may create an unintended route to restricted information.

The relevant questions are specific:

  • Who can use the agent?
  • Whose credentials does it use for each connection?
  • Which data and actions do those credentials authorize?
  • Is that authority appropriate for the agent’s purpose and audience?
  • Who is responsible for changing or retiring it?

Tracking these relationships makes least privilege actionable: the agent should have the access needed for its task, with a defined owner and a way to remove unnecessary authority.

‍

Agent Context makes AI security decisions more precise

A context graph connects people, agents, models, tools, and data sources so security teams can evaluate their relationships together.

The same document access can mean different things in different workflows. A finance agent retrieving payment terms for an authorized Finance employee may be expected. Returning the full contract to an unrelated department, or attaching it to an external email, warrants a different assessment.

The decision depends on the requester, the identity used, the sensitivity of the information, the intended task, and the destination.

Behavior adds another layer. A new tool call might be a legitimate workflow change. A sequence that collects sensitive records and sends them externally may carry much greater risk. Unusual activity deserves investigation, but unusual does not automatically mean malicious.

Context helps teams explain why an action is risky and choose a proportionate response. It also gives them a stronger basis for tuning alerts than keywords or isolated events alone.

‍

Building an AI agent governance and security program

1. Discover agents and establish ownership

Connect to supported AI platforms and cloud applications to identify agents and their configurations. Record a stable agent identifier, creator, accountable owner, deployment status, and available activity signals.

API-based discovery can reduce onboarding friction by collecting information through platform integrations. Coverage and depth depend on the APIs and connector permissions available. Include draft, inactive, and orphaned agents in the review. Lack of recent activity does not establish that an agent’s credentials or connections have been removed.

  • The output: an inventory that shows what exists, who is accountable, and where ownership needs attention.

‍

2. Classify purpose and compare it with capabilities

Determine who each agent is meant to serve, what information it needs, and which actions its task requires. Compare that purpose with its actual tools, permissions, audience, and data connections. For example, an agent intended to summarize supplier terms may need read access to selected contracts. Permission to change records or email arbitrary recipients requires a separate justification.

Opsin’s Agent Intent capability evaluates declared configuration, including instructions, tools, and provisioner identity, to identify potential misalignment before execution. Inferred intent should remain reviewable: incomplete instructions can leave uncertainty about what the builder intended.

  • The output: a documented purpose and a prioritized list of capabilities that exceed it.

‍

3. Validate exposure and monitor changes

Review permissions and tool configuration alongside available activity. Use controlled testing, including automated red-teaming where appropriate, to check whether an apparent exposure can produce a harmful result.

For the contract agent, test whether a user outside the intended audience can obtain restricted terms. Check whether a stated approval requirement is enforced by the connected system. Reassess when owners, instructions, tools, permissions, or sharing settings change. Historical behavior can inform a baseline, but normal past activity does not prove that excessive access is safe.

  • The output: evidence of the risk, its potential business impact, and changes that require review.

‍

4. Route remediation to the right owner and system

Choose the response based on the exposure. That may mean narrowing a document permission, removing an unnecessary tool, restricting an agent’s audience, revoking credentials, or quarantining an agent where supported.

Integrate these actions with existing identity, data protection, ticketing, and security workflows. A finding should identify the responsible owner, the recommended change, and how resolution will be verified.

  • The output: a tracked corrective action with evidence that the underlying exposure was addressed.

‍

5. Expand enforcement as confidence grows

Start with visibility and review, then introduce notifications and approvals for higher-impact actions. Automate responses when the risk conditions and consequences are sufficiently understood.

For example, an externally directed action involving restricted data may justify an approval gate. Disabling an agent used by an entire business unit calls for a clear understanding of operational impact and recovery.

Measure alert quality, remediation time, and disruption to legitimate work. Effective enforcement depends on accurate decisions and controls the underlying platform can actually execute.

  • The output: repeatable enforcement with explicit boundaries, accountability, and recovery procedures.

‍

How Opsin connects AI governance with security

Opsin’s approach brings agent identity, purpose, permissions, data access, tools, and activity into a shared context. This helps security teams understand what an agent can do, assess whether that reach fits its job, and prioritize issues for remediation. The need for that context appears in Opsin’s analysis of enterprise customer agent activity: ‍

93% of misaligned tools connected to agents had full, unrestricted access to their connected systems.

Opsin uses API-first connections to supported enterprise AI platforms to support discovery, classification, risk assessment, and remediation workflows. Available visibility and corrective actions depend on the integration and its permissions. The roadmap extends toward runtime blocking and automated guardian remediation as enforcement capabilities develop.

As agents take on more responsibility, governance must follow the relationships between them: who delegated the work, which authority traveled with it, what information was shared, and whether the next action still serves the original purpose.

The goal is to give enterprises a defensible basis for deciding which autonomous work can proceed, which needs review, and which requires intervention.

‍

‍

Explore Opsin’s approach to Agent Governance.

‍

‍

Table of Contents

LinkedIn Bio >

FAQ

What is the difference between AI governance and AI security?

AI governance defines responsibility, acceptable use, oversight, and decision-making for AI systems. AI security applies technical controls to protect those systems, their data, and the operations they can affect. For enterprise agents, the two work together to connect policy with permissions, monitoring, and corrective action.

‍

Why do AI agents need governance if their platform is already approved?

Platform approval does not establish that every agent has appropriate permissions, tools, or sharing settings. Employees can configure agents for different purposes and audiences within the same platform. Governance evaluates those individual configurations and continues as ownership, access, and behavior change.

‍

What should an AI agent inventory include?

An AI agent inventory should include each agent’s identifier, creator, accountable owner, intended purpose, audience, credentials, permissions, connected data, tools, and available activity. It should also flag missing ownership and inactive agents that retain access, so security teams can prioritize review and remediation.

‍

How does a context graph help secure AI agents?

A context graph links agents to people, identities, models, tools, and data. These relationships help security teams assess whether an action fits the agent’s purpose, who requested it, and what information is involved. The context supports more precise prioritization and response than evaluating an isolated tool call alone.

‍

How can organizations enforce AI governance without disrupting work?

Begin with discovery, ownership, and risk assessment. Validate findings, apply targeted permission changes, and add approval requirements for higher-impact actions. Expand automation as detection quality and operational consequences become clear, using supported platform controls and recovery procedures to limit disruption.

‍

About the Author
Itamar Fayler
Itamar Fayler is a Founding Member of Technical Staff at Opsin, where he works across engineering, product, strategy, and research to secure enterprise AI deployments. Previously an AI Technical Lead at Qualia, where he helped scale the product from concept to multi-million dollar ARR, Itamar holds a B.S. in Computer Science and Economics from Yale University.
LinkedIn Bio >

AI Governance and Security: Keeping Agents on Task

An employee builds an agent to answer questions about supplier contracts. They connect a document library, add an email tool, and share it with colleagues. The platform is approved. The employee has legitimate access. The agent solves a real problem.

But whose permissions does it use when a colleague asks a question? Can it return contract terms that colleague should not see? And does an agent built to answer questions need permission to send those terms outside the company?

These are the questions AI governance and security need to answer as agents gain access to enterprise data and autonomous authority to act.

‍

What is AI governance and security?

AI governance and security combine the policies, accountability, and technical controls organizations use to manage AI responsibly and protect their data and operations. Governance establishes who is responsible, which uses are acceptable, and what oversight is required. Security identifies exposure, detects harmful activity, and applies controls.

For AI agents, this means understanding who created each agent, what it is intended to do, whose permissions it uses, what it can access, and whether its actions remain appropriate.

Broader AI governance also addresses areas such as fairness, transparency, and model quality. This article focuses on governing and securing employee-built agents across enterprise AI platforms.

‍

Approved AI platforms still need agent governance

Approving an AI platform then rolling it out to the enterprise workforce is one decision. Determining whether every agent built inside LLMs like Copilot, Enterprise GPT, and Claude has appropriate access is an ongoing responsibility.

Employees can create agents without following the same development and review process used for traditional software. In our State of Agentic Adoption 2026, Opsin's research arm, Opsin Labs, analyzed production environments across eight enterprise verticals between March 2025 and June 2026. Among its findings:

  • 67% of agents were built by nontechnical employees.
  • 35% of agents were orphaned while retaining full access and permissions.

These findings illustrate two practical challenges: the bulk of agent creation extends to departments beyond engineering, and access can persist after accountability disappears. An intake form can record what someone intended to build. It cannot, by itself, establish whether the agent still has the same owner, tools, sharing settings, or purpose months later. AI agent governance needs a continuing connection between the approval and the system operating in production.

‍

Govern AI agents as non-human identities

An agent may retrieve documents, invoke tools, or perform actions using a human’s delegated permissions or another credential. Governing it requires tracking both the agent itself and the authority behind its actions.

Consider the supplier-contract agent. Its creator can read confidential agreements. Another employee can use the agent but does not have the same document access. If the agent operates through its creator’s credentials, that combination may create an unintended route to restricted information.

The relevant questions are specific:

  • Who can use the agent?
  • Whose credentials does it use for each connection?
  • Which data and actions do those credentials authorize?
  • Is that authority appropriate for the agent’s purpose and audience?
  • Who is responsible for changing or retiring it?

Tracking these relationships makes least privilege actionable: the agent should have the access needed for its task, with a defined owner and a way to remove unnecessary authority.

‍

Agent Context makes AI security decisions more precise

A context graph connects people, agents, models, tools, and data sources so security teams can evaluate their relationships together.

The same document access can mean different things in different workflows. A finance agent retrieving payment terms for an authorized Finance employee may be expected. Returning the full contract to an unrelated department, or attaching it to an external email, warrants a different assessment.

The decision depends on the requester, the identity used, the sensitivity of the information, the intended task, and the destination.

Behavior adds another layer. A new tool call might be a legitimate workflow change. A sequence that collects sensitive records and sends them externally may carry much greater risk. Unusual activity deserves investigation, but unusual does not automatically mean malicious.

Context helps teams explain why an action is risky and choose a proportionate response. It also gives them a stronger basis for tuning alerts than keywords or isolated events alone.

‍

Building an AI agent governance and security program

1. Discover agents and establish ownership

Connect to supported AI platforms and cloud applications to identify agents and their configurations. Record a stable agent identifier, creator, accountable owner, deployment status, and available activity signals.

API-based discovery can reduce onboarding friction by collecting information through platform integrations. Coverage and depth depend on the APIs and connector permissions available. Include draft, inactive, and orphaned agents in the review. Lack of recent activity does not establish that an agent’s credentials or connections have been removed.

  • The output: an inventory that shows what exists, who is accountable, and where ownership needs attention.

‍

2. Classify purpose and compare it with capabilities

Determine who each agent is meant to serve, what information it needs, and which actions its task requires. Compare that purpose with its actual tools, permissions, audience, and data connections. For example, an agent intended to summarize supplier terms may need read access to selected contracts. Permission to change records or email arbitrary recipients requires a separate justification.

Opsin’s Agent Intent capability evaluates declared configuration, including instructions, tools, and provisioner identity, to identify potential misalignment before execution. Inferred intent should remain reviewable: incomplete instructions can leave uncertainty about what the builder intended.

  • The output: a documented purpose and a prioritized list of capabilities that exceed it.

‍

3. Validate exposure and monitor changes

Review permissions and tool configuration alongside available activity. Use controlled testing, including automated red-teaming where appropriate, to check whether an apparent exposure can produce a harmful result.

For the contract agent, test whether a user outside the intended audience can obtain restricted terms. Check whether a stated approval requirement is enforced by the connected system. Reassess when owners, instructions, tools, permissions, or sharing settings change. Historical behavior can inform a baseline, but normal past activity does not prove that excessive access is safe.

  • The output: evidence of the risk, its potential business impact, and changes that require review.

‍

4. Route remediation to the right owner and system

Choose the response based on the exposure. That may mean narrowing a document permission, removing an unnecessary tool, restricting an agent’s audience, revoking credentials, or quarantining an agent where supported.

Integrate these actions with existing identity, data protection, ticketing, and security workflows. A finding should identify the responsible owner, the recommended change, and how resolution will be verified.

  • The output: a tracked corrective action with evidence that the underlying exposure was addressed.

‍

5. Expand enforcement as confidence grows

Start with visibility and review, then introduce notifications and approvals for higher-impact actions. Automate responses when the risk conditions and consequences are sufficiently understood.

For example, an externally directed action involving restricted data may justify an approval gate. Disabling an agent used by an entire business unit calls for a clear understanding of operational impact and recovery.

Measure alert quality, remediation time, and disruption to legitimate work. Effective enforcement depends on accurate decisions and controls the underlying platform can actually execute.

  • The output: repeatable enforcement with explicit boundaries, accountability, and recovery procedures.

‍

How Opsin connects AI governance with security

Opsin’s approach brings agent identity, purpose, permissions, data access, tools, and activity into a shared context. This helps security teams understand what an agent can do, assess whether that reach fits its job, and prioritize issues for remediation. The need for that context appears in Opsin’s analysis of enterprise customer agent activity: ‍

93% of misaligned tools connected to agents had full, unrestricted access to their connected systems.

Opsin uses API-first connections to supported enterprise AI platforms to support discovery, classification, risk assessment, and remediation workflows. Available visibility and corrective actions depend on the integration and its permissions. The roadmap extends toward runtime blocking and automated guardian remediation as enforcement capabilities develop.

As agents take on more responsibility, governance must follow the relationships between them: who delegated the work, which authority traveled with it, what information was shared, and whether the next action still serves the original purpose.

The goal is to give enterprises a defensible basis for deciding which autonomous work can proceed, which needs review, and which requires intervention.

‍

‍

Explore Opsin’s approach to Agent Governance.

‍

‍

Turn workforce AI sprawl into risk clarity

See every agent, what it can reach, and what to fix.
Get a demo →