Agent access governance

Identity, least privilege, approvals and audit trails for AI agents. Control what your AI agents can reach and do: an inventory of every agent, its own identity, least-privilege OAuth scopes, secrets in a vault, human approval for sensitive actions, a kill switch and full audit trails.

A free first call with an engineer. You leave with a scoped next step.

Discovery Sprint to a roadmap
1–2 wks
Scope quote before anything is built
Fixed
30-minute first call
Free

What we deliver. Written by engineers who build these systems.

AI agents now read inboxes, update CRMs, query databases, open pull requests and trigger payments. Most were connected quickly, with shared API keys or a developer's personal token, and nobody has a full list of what they can access. Agent access governance treats each agent as an identity to manage like any employee or service: inventoried, given only the permissions it needs, watched, and able to be stopped. Gepton designs and implements these controls in your identity, secrets and logging stack.

Technologies

  • OAuth 2.1
  • OpenID Connect
  • OAuth Token Exchange
  • SCIM
  • Microsoft Entra ID
  • Okta
  • AWS IAM
  • SPIFFE/SPIRE
  • HashiCorp Vault
  • AWS Secrets Manager
  • Azure Key Vault
  • Open Policy Agent
  • Model Context Protocol
  • OpenTelemetry
  • Splunk
  • Microsoft Sentinel
  • Inventory of all AI agents, including built, bought and staff-created, with owner, purpose, tools, data and permissions
  • Risk rating per agent based on the data it touches and the actions it can take
  • Identity design: a distinct identity per agent in your identity provider, with lifecycle from creation to retirement
  • Least-privilege permission model: OAuth scopes, roles and resource limits mapped to each agent's tasks
  • Delegation design for agents acting on behalf of a user, using token exchange and short-lived credentials
  • Secrets moved into a vault with rotation, short-lived tokens and no keys in code, prompts or config files
  • Human-approval workflow for sensitive actions, with clear thresholds and approver roles
  • Kill switch and containment runbook to disable an agent, revoke its credentials and halt running tasks
  • Audit trail linking every agent action to the agent identity, the user it acted for and the triggering request
  • Governance policy and review cadence for approving new agents and recertifying access

What gets in the way. The problems teams bring to us.

Use cases. Where clients put agent access governance to work.

  • Support agent that can issue refunds

    Refunds above a threshold need a human approver, the agent's token only covers the refund API, and every refund is logged with the ticket that triggered it.

  • Sales agent with CRM and email access

    The agent gets its own identity, read and limited write scopes in the CRM, and sends email only from an approved address with daily limits.

  • Coding agent in the CI pipeline

    Short-lived, repository-scoped credentials replace a personal access token, and merges to protected branches still need human review.

  • Assistant acting on behalf of employees

    Delegated tokens let the agent act only within each user's own permissions, and the audit log shows both the agent and the user.

  • MCP servers connecting agents to internal tools

    Each MCP server uses OAuth-based authorization with narrow scopes, and tools that change data are separated from read-only ones.

  • Shadow agents created by staff

    Agents built in no-code tools or SaaS features are discovered, reviewed and either brought under policy or retired.

  • Incident response for a manipulated agent

    A tested kill switch disables the agent, revokes its tokens and preserves logs for investigation within one runbook.

How a project runs. A fixed-scope plan before anything is built.

How we work
  1. 1

    Discover and inventory

    We find agents through interviews, identity-provider and OAuth grant reviews, API key audits, SaaS admin consoles and code search, and record each one with its owner and access.

  2. 2

    Assess risk and design the target model

    We rate each agent by data sensitivity and action impact, then design identities, scopes, delegation, approvals and logging that fit your IAM and zero-trust setup.

  3. 3

    Implement controls

    We create agent identities, narrow scopes, move secrets into a vault, add approval steps and logging, and build the kill switch, starting with the highest-risk agents.

  4. 4

    Test the controls

    We check that agents cannot exceed their permissions, approvals cannot be bypassed and the kill switch works, including under prompt-injection scenarios.

  5. 5

    Operationalize

    We set up the onboarding process for new agents, periodic access reviews and alerting, and train security and engineering owners.

Who it is for. And how we work with you.

A good fit if you are

  • Companies with several AI agents connected to email, CRM, databases, code or payment systems
  • Security and IAM teams asked to approve agent projects without clear controls to require
  • Organizations where agents use shared API keys or personal tokens
  • Regulated businesses that must show who or what performed each action on customer data
  • Teams planning to scale from a few pilot agents to many agents across departments

How we work

Built on your existing IAM
We extend your identity provider, secrets manager and logging stack rather than adding a separate silo for agents.
Highest risk first
We fix the agents that can move money, change production or reach sensitive data before tidying up low-risk ones.
Controls that assume manipulation
We design as if an agent's instructions can be hijacked, so safety depends on permissions and approvals, not on the model behaving well.
Practical for builders
Patterns come with code, templates and a simple onboarding path, so product teams can follow them without slowing down.

A closer look at agent access governance

Why agents need their own access model

Traditional identity and access management (IAM) was built for two kinds of actors: people, who log in and make decisions, and services, which run fixed code. AI agents are neither. They act with some autonomy, their behavior depends on inputs that attackers can influence, and they often act on behalf of a person. Treating them as generic service accounts with shared keys leaves three gaps: you cannot tell which agent did what, permissions end up broader than any single task needs, and there is no clean way to stop one agent without breaking others. The NIST NCCoE concept paper on software and AI agent identity and authorization, published in February 2026, makes the same point: agents should be identifiable entities in enterprise identity systems, using standards such as OAuth, OpenID Connect and SCIM. The OWASP Top 10 for Agentic Applications lists identity and privilege abuse and tool misuse among its top risks.

The building blocks

1. Inventory

You cannot govern what you cannot see. The inventory lists every agent, its owner, purpose, model, tools, data sources, credentials and the actions it can take. It includes agents your teams built, AI features switched on inside SaaS products, and agents staff created in no-code tools. It is kept current through an onboarding process and periodic discovery.

2. A distinct identity per agent

Each agent gets its own identity in your identity provider or workload identity system, not a shared key or a person's account. This makes every action attributable, allows per-agent policy, and lets you disable one agent cleanly. Several identity providers now offer agent-specific identity features, and workload identity standards such as SPIFFE can issue short-lived identities to agents running in your infrastructure.

3. Least privilege and delegation

Permissions follow the task: read-only where possible, narrow OAuth scopes, resource limits such as specific mailboxes, projects or record types, and rate or value limits. When an agent acts for a user, delegation patterns such as OAuth token exchange give it a short-lived token that carries both identities and never exceeds that user's own rights. The Model Context Protocol's authorization specification builds on OAuth for the same reason, so MCP servers can enforce scopes rather than trusting the agent.

4. Secrets management

Keys and tokens belong in a vault, not in code, prompts, environment files or agent memory. Prefer short-lived, automatically rotated credentials issued at runtime. A model should never see a raw secret; tools use credentials on its behalf.

5. Human approval for sensitive actions

Define which actions need a person to confirm: payments or refunds above a threshold, data exports, deleting records, messages to external parties, production changes. The approval request shows what the agent wants to do and why, and approvals are logged. Approvals are enforced in the tool or API layer, so a manipulated agent cannot skip them.

6. Kill switch and containment

A kill switch disables the agent's identity, revokes its tokens, stops queued and running tasks, and preserves logs. It should work in minutes, be tested regularly and be usable by on-call staff without deep knowledge of the agent.

7. Audit trails

Every action is logged with the agent identity, the user it acted for, the triggering request, the tool called, parameters and result. Tracing standards such as OpenTelemetry help link these records across services, and logs flow into your SIEM for detection and investigation.

How this fits IAM and zero trust

Agent access governance is an extension of your IAM program, not a replacement. Zero trust principles apply directly: never trust by default, verify each request, grant least privilege, and assume breach. For agents, "assume breach" has a specific meaning: assume the agent's instructions can be hijacked through prompt injection, and make sure the damage is limited by what its identity is allowed to do.

Common mistakes

  • Letting agents run on a developer's personal token, which ties production to one employee and hides agent actions among human ones.
  • Relying on instructions in the prompt, such as "do not delete records", instead of permissions.
  • Granting broad scopes during a pilot and never narrowing them.
  • Forgetting agents inside SaaS tools that already hold OAuth grants to company data.

Scope notes: adversarial testing of agents is covered in AI Security Testing & Red-Teaming, broader responsible-AI policy in AI Governance & Ethics, and building MCP servers in MCP Connector Development.

Engagement models. Each one scoped and quoted after a first call.

How engagements work

1–2 weeks

Discovery Sprint

We map one process with your team, check the data and systems, and hand you a roadmap with a fixed-scope quote for the first build. You also get our technology recommendations and the success measures we agree with you up front.

4–8 weeks

Pilot Project

Our engineers build one focused system in weekly releases, connect it to your tools and put it in front of real users. Testing, deployment, monitoring, training and documentation are part of the pilot, with 30 days of support after launch.

Monthly retainer

Ongoing Partnership

A dedicated team that keeps building, runs what is live, and reports on quality and cost every month. It covers new features, performance and infrastructure work, model updates, and priority support under an agreed SLA.

No prices are published: you approve a written scope and quote before we build.

Agent access governance in depth

Matching controls to agent risk

Not every agent needs the same controls. A read-only assistant over public documentation and an agent that issues refunds sit at opposite ends of a scale. We classify agents by what they can read and what they can do, and attach a standard control set to each level so teams know in advance what a new agent will need.

LevelExampleMinimum controls
Read-only, internal or public dataSearch assistant over policies and manualsOwn identity, read-only scopes, logging
Read-only, sensitive dataAssistant over customer records or contractsDelegated user permissions, field-level limits, access reviews
Writes to internal systemsAgent updating CRM or ticket fieldsNarrow write scopes, rate limits, change logs, rollback path
External communicationAgent sending emails or WhatsApp messages to customersApproved templates or senders, daily limits, sampled or full approval
Money or irreversible actionsRefunds, payments, deletions, production changesHuman approval enforced in the API, value limits, separation of duties, tested kill switch

Policy as code at the action layer

Scopes decide which APIs an agent can call; policies decide whether a specific call should go ahead. A refund API scope does not distinguish a small refund on a delivered order from a large refund to a new account. We place a policy decision point in front of sensitive tools, often using a policy engine such as Open Policy Agent, which evaluates each request against rules that include context: amount, recipient, customer history, time of day, the user the agent acts for and the agent's recent activity. The default is deny. Rules live in version control, are reviewed like code and are tested with example requests, so a policy change is as visible as a code change.

Designing approvals people do not rubber-stamp

Approval steps fail when approvers receive too many requests with too little context and start approving everything. We design approvals to avoid that. Thresholds are set so routine low-risk actions proceed and only the meaningful ones wait. Each request shows what the agent wants to do, why, the evidence it relied on and what will change, ideally as a clear before and after. Related requests can be batched for one decision. Requests that wait too long expire rather than proceed. For the most sensitive actions, the person who triggered the work cannot also approve it. We monitor approval rates and time to approve, because near-universal approval with very short review times is a sign the control has stopped working.

Monitoring agent behavior

Permissions limit what an agent can do; monitoring shows what it actually does. Because agents run repeatable workflows, their normal behavior can be described: which tools they call, how often, on which records, at what volumes. We build detections for departures from that pattern, such as an agent suddenly reading many more records than usual, calling a tool it never uses, sending data to new destinations or failing authorization repeatedly, and route alerts to your SIEM and on-call staff. These detections are especially useful against prompt injection, where the agent's identity is legitimate but its instructions have been hijacked.

Agents built by vendors deserve the same scrutiny. AI features inside SaaS products often request broad OAuth grants to mailboxes, drives or CRMs when an administrator switches them on. We review existing grants, ask vendors which scopes are truly needed and how their agents' actions are logged, and bring these agents into the same inventory, levels and review cycle as the ones your teams build.

The agent lifecycle

Governance needs a defined path from creation to retirement:

  • Onboarding: a short request naming owner, purpose, tools, data and level, reviewed against the control set for that level before credentials are issued.
  • Change: new tools or broader scopes go through the same review; scopes granted during a pilot are narrowed before production.
  • Recertification: owners confirm on a schedule that each agent is still needed and its access still fits its tasks.
  • Ownership change: when an owner leaves or changes role, agents transfer to a named successor or are suspended.
  • Retirement: credentials revoked, OAuth grants removed, logs retained per policy.

Accountability and Indian data protection

Audit trails are also accountability records. Under the DPDP Act, 2023, the organization deciding the purpose of processing remains responsible for personal data processed on its behalf, including by systems and vendors it uses, and must protect that data with reasonable security safeguards and report breaches. When an agent touches personal data, the trail linking each action to the agent, the user it acted for and the triggering request is what lets your team establish what happened, which records were affected and who must be informed. Regulated entities in financial services face additional supervisory expectations on access control and audit, which their compliance teams confirm. Broader policy work sits in AI Governance & Ethics, and testing these controls under attack in AI Security Testing & Red-Teaming.

Questions about agent access governance

Something else? Send us your question and an engineer replies with next steps.

How is this different from our existing IAM program?

It builds on it. Your identity provider, secrets manager and logging remain the foundation. We add what agents specifically need: an agent inventory, a distinct identity per agent, delegation patterns for acting on behalf of users, approval steps for sensitive actions, a kill switch, and audit records that capture both the agent and the user.

How is this different from AI Governance & Ethics?

AI Governance & Ethics sets principles, policies and responsible-AI practices across the organization. Agent Access Governance is a technical security control set: identities, permissions, secrets, approvals, shutdown and audit logs for AI agents specifically.

How do you find agents we do not know about?

We review OAuth grants and connected apps in your identity provider and major SaaS tools, audit API keys and service accounts, scan code repositories and CI for model and agent frameworks, check no-code automation platforms, and interview teams. The result is an inventory with an owner for each agent.

Which identity providers and clouds do you work with?

Common ones include Microsoft Entra ID, Okta, Google Cloud Identity, AWS IAM and Keycloak, plus secrets managers such as HashiCorp Vault, AWS Secrets Manager and Azure Key Vault. We design around what you already use.

Will this slow down teams building agents?

A little at first, then it speeds them up. We provide templates for agent identities, standard scope sets, approval components and logging, so a new agent follows a known path instead of a custom security review each time.

How long does it take?

Discovery and inventory typically take 2 to 4 weeks. Implementing controls for the highest-risk agents usually takes another 4 to 8 weeks, and the rest follow in waves. Timelines depend on the number of agents and systems involved.

What access do you need?

Read access to identity-provider configuration, OAuth grants and audit logs, secrets-manager metadata (not secret values), relevant repositories, and contacts in security, IAM and the teams that own agents. Changes are made through your change process or by your administrators with our guidance.

Do agents acting for a user get that user's full permissions?

They should not. With delegation, the agent gets a short-lived token limited to the intersection of the user's rights and the agent's allowed scopes. Actions are logged under both identities, so you can see that an agent acted for a particular user.

What does a kill switch actually do?

It disables the agent's identity, revokes its active tokens and grants, stops queued and running tasks, blocks its access at the gateway, and preserves logs for investigation. We build it as a tested runbook, often backed by a single command or button, and rehearse it with your on-call team.

What stays with us after the project?

The agent inventory, identity and permission design, policies, approval components, kill-switch runbook, dashboards and all code and configuration, in your systems. We also leave an onboarding and recertification process so governance continues as you add agents.

How do we avoid approval fatigue for human reviewers?

Set thresholds so only meaningful actions need approval, show each request with its reason, evidence and a clear before and after, batch related requests, and let stale requests expire instead of proceeding. Track approval rates and time spent per approval. If nearly everything is approved within seconds, the threshold or the request design needs to change, because the control is no longer protecting anything.

Can several agents that do similar work share one identity?

We advise against it. A shared identity makes it impossible to tell which agent performed an action, forces permissions to cover every agent's tasks and means disabling one agent disables them all. Separate identities cost little with modern identity providers and workload identity systems, and they let each agent have exactly the access it needs.

What should happen when an agent's owner leaves the company?

Agent ownership should be part of the leaver process. Each agent is transferred to a named successor who reviews its purpose and access, or it is suspended until someone takes responsibility. Agents running on the leaver's personal tokens are a common finding and should be moved to their own identities before the person's accounts are closed, to avoid sudden failures.

Can policies depend on the amount, recipient or other context of an action?

Yes. A policy engine in front of sensitive tools evaluates each request with its context, such as amount, recipient, customer history, time, the user the agent acts for and recent agent activity. Rules can allow small actions automatically, send larger ones for approval and block others outright. Rules are kept in version control and tested like code.

Do agent audit trails help with DPDP breach response?

Yes. If an agent is manipulated or misconfigured, a complete trail showing each action, the agent identity, the user it acted for, the request that triggered it and the records touched lets your team work out what happened and which people's data was affected. That information is needed to contain the incident and to meet breach intimation duties under the DPDP Act. Your counsel confirms the reporting obligations.

Related services. More from AI Consulting & Strategy.

See AI consulting & strategy

Jump to

↑↓ to move↵ to open