AgentKeeper blog

Agent security

Beyond Identity: The Next Problem in AI Security Is Agent Behavior

Identity establishes who can use an AI agent. Runtime governance addresses what the agent is allowed to do with that access.

6 min read

AI security has spent a lot of time answering an important question: who is allowed to use AI? That still matters, but it becomes less sufficient as agents become more capable.

The harder question is what the agent is actually doing.

An AI coding agent can read files, execute commands, install packages, interact with repositories, fetch information from the internet, and invoke tools on behalf of a developer.

AI productivity agents are moving in the same direction. They are beginning to interact with SaaS applications, retrieve information, manipulate data, and perform tasks that previously required a person sitting behind a keyboard.

The security model is shifting as a result.

The user may be authorized, but the action may not be.

Identity is just the start

Authentication and authorization still matter. Organizations need to know which user is operating an agent and what that user is permitted to access.

However, the user's permissions do not necessarily tell you what the agent will do with them.

A developer may have legitimate access to a repository, but that does not mean every action an autonomous coding agent takes in that repository should automatically be trusted. The agent might attempt to download files it does not need, install an unexpected package, execute a risky command, or make a change that falls outside organizational policy.

That gap between an authorized user and an inappropriate action is what agent security needs to address.

Visibility is only the first step

A lot of security tooling is built around telemetry. A sensor observes something happening, then sends the event to a backend for a security team to investigate.

That is useful, but agentic systems introduce a different opportunity.

Instead of waiting for an agent to access a sensitive file and generating an alert afterward, a security control can evaluate the action against policy at the point where the agent attempts it.

That is the approach AgentKeeper takes to inline governance on supported control paths.

Why the enforcement point matters

MCP has become an important part of the agent ecosystem, and it provides a useful place to establish controls around routed MCP traffic. However, not every action performed by an agent travels through an MCP server.

Coding agents can interact directly with the local filesystem. They can execute commands, make web requests, and invoke application-specific tools. If security only sees protocol traffic, it can miss other parts of the agent's behavior.

AgentKeeper approaches the problem with distributed, application-native integrations that observe supported agent activity where it occurs, rather than relying exclusively on a centralized gateway or network choke point.

The architecture is built around a Go binary and an integration ecosystem for supported applications. The goal is to get close enough to the agent's actions to understand and govern them.

Deterministic policy comes first

There is an important distinction between detection and AI. Not every security decision needs another AI model.

Organizations should be able to express clear policy decisions such as:

  • 01An agent cannot access this directory.
  • 02An agent cannot delete these files.
  • 03An agent cannot install packages without approval.
  • 04An agent cannot perform this type of action on a contractor workstation.

Use AI where it adds value

AgentKeeper uses deterministic rules for these types of controls, including built-in rules and custom policy. Where an integration exposes a pre-execution control point, those rules can be evaluated before the action runs.

AI can then help security teams understand intent, correlate events, and investigate suspicious activity. A simple, explicit security policy should not depend on another model making a probabilistic decision.

The contractor problem

This becomes particularly important in large, distributed organizations. An enterprise may have thousands of contractors working across multiple countries, using different infrastructure, development environments, and AI tools.

The organization still needs to protect its code and data. Banning AI agents is not realistic, and neither is giving agents unrestricted access.

Governance provides another option. Security teams can define policies around what agents are allowed to access and which actions require intervention. That makes it possible to enable AI while reducing the potential blast radius of an unsafe or compromised agent.

Agent security is becoming a runtime problem

Traditional security often focuses on the identity, the application, the endpoint, and the network. Agent security adds another layer: the behavior of an autonomous system operating through those existing permissions.

The agent becomes an execution layer between a user and the systems the user can access. That execution layer needs security controls of its own.

As organizations deploy more coding agents, productivity agents, and increasingly autonomous enterprise systems, the ability to understand and govern agent behavior will become more important.

The goal is to make AI adoption safe enough to scale without slowing it down.

Put policy closer to the actions your AI agents take.

Discuss an AgentKeeper rollout