As businesses deploy more autonomous AI agents, managing their digital identities is becoming a growing security priority. Here’s how organizations can control what these agents can access without slowing adoption.
AI agents are increasingly being adopted across the corporate world. A 2026 global AI survey found that 40% of large enterprises are scaling the technology in at least one business function, up 27% from the previous year. But there’s a problem: The safeguards needed to secure and govern these systems have not kept pace with their deployment. Recent research shows that 74% of business and technology leaders anticipate using AI agents by 2027—yet only about one-fifth report having mature governance arrangements in place to oversee their use.
The security implications of this disparity are significant. To operate inside an organization, agents need “machine identities”—digital credentials that establish who or what is requesting access—and permission to enter corporate applications, which potentially include sensitive data. If an administrator grants them more permissions than their work requires, an agentic AI can expose confidential information or alter critical data, even when acting on a legitimate instruction.
That combination of independent decision-making and privilege demands tighter controls over what agents are allowed to do. “There’s a big risk in giving them broad access to tools and company systems without the right controls in place,” says Sonny Singh, executive vice president and president of Idira at cybersecurity company Palo Alto Networks. “Agents can quite easily overstep their boundaries and take actions they were never intended to perform.”
A new challenge for an old security problem
Enterprises have used machine identities for years, giving applications and automated software a means to establish who they are when connecting to company networks. But the number of machine identities has increased dramatically with the expansion of cloud computing and, more recently, the arrival of AI agents. Palo Alto Networks’ 2026 Identity Security Landscape report puts the ratio at 109 machine identities for every human identity, up from approximately 45 just two years earlier.
Their growing numbers make them difficult to manage, particularly when software uses multiple methods of identification across a company’s operations. An application might use a digital key to retrieve information from a database, while software running in the cloud relies on another form of authentication. Establishing what each credential authorizes becomes harder when different departments rely on separate security tools.
The autonomy of AI agents adds another dimension to the problem. Unlike conventional automated software, which generally follows predefined instructions, agents can decide how to complete an assignment, including which systems to use along the way. Singh describes this as “non-determinism,” meaning that an agent’s precise actions cannot always be predicted in advance, even when it is working toward an assigned goal.
That unpredictability complicates the management of access rights. An agent asked to update customer information, for example, might decide that it needs to utilize data from another application. If its permissions are too broad, it could also make unauthorized changes to sensitive records or, in an extreme case, delete entire database tables.
The speed at which agents operate, combined with their often short-lived nature, makes these risks harder to manage. Singh describes how a retailer might spin up additional AI customer-service agents for a high-demand period, then retire them once demand subsides. Each needs its own verifiable identity and tightly scoped authorization, even if deployed for only a short time. “An agent in this scenario could complete an unauthorized action and cease to exist before the security team has even pinpointed the problem,” says Singh. “This is why organizations need controls capable of maintaining pace with software that can make decisions independently and function around the clock.”
“An agent in this scenario could complete an unauthorized action and cease to exist before the security team has even pinpointed the problem,” says Singh.
Keeping agents under control
The ability to stop an agent before it exceeds its authority starts with knowing exactly what it is and what it is allowed to do. Verifying its identity establishes which software is making the request, but IT departments also need to control the permissions it receives throughout its work.
With this in mind, Singh recommends maintaining an inventory of every agent, issuing each one a cryptographically verifiable identity, and documenting both its purpose and the human owner responsible for it. The system should also enforce policies governing what the agent can do, whether it is operating autonomously or acting on behalf of an employee. A zero standing privilege (ZSP) approach can put those limits into practice by restricting each agent to the authority a particular task requires, only for as long as necessary. An agent updating financial records, for instance, could be cleared to make the necessary changes without gaining unrestricted access to the underlying database. Its elevated rights would then expire once the work was complete.
As businesses introduce more agents, Singh says these decisions need to happen at machine speed without constant human intervention. Dynamic, intent-based policies and ZSP provide that control, keeping agents within defined boundaries while routing requests for higher privileges to a human reviewer.
Keeping a separate audit record of each agent’s activity also allows security teams to distinguish its actions from those of the employee who instructed it, helping them spot when the software has exceeded its authority and respond accordingly. “In certain circumstances, that response means stopping an agent from accessing anything else, especially if it attempts to use information unrelated to its authorized task,” says Singh.
Known as a kill switch, this safeguard allows access to be revoked immediately, containing potentially harmful activity while the incident is investigated. Combined with temporary permissions and a log of what each agent has done, these controls provide oversight without requiring a human employee to supervise every decision the agent makes.
Bringing identity security together
Securing an AI agent also means protecting the machine credentials it uses to access company servers and cloud resources. Although vaults for securely storing and rotating security keys and other machine credentials have been around for decades, their use is far from consistent. Often, developers share credentials—such as personal access tokens—with AI coding assistants. If those credentials are exposed, attackers can use them to breach sensitive systems.
Protecting these credentials is only part of the task, however. Organizations also need to establish what software is authorized to do once it has gained entry, with consistent rules applying to its interactions across different applications.
Palo Alto Networks’ Idira platform is designed to bring those controls into a common framework for employees, conventional software, and AI agents. Rather than managing each category through separate tools, security teams can apply a more consistent set of policies and maintain visibility across the different identities interacting with company systems.
Preparing for the next wave of AI
With more agentic software entering the workplace, businesses need to establish reliable security protocols before giving agents greater responsibility. The rush to deploy AI risks exposing weaknesses in how access is managed, particularly when existing protections have failed to keep up with advances in the technology. The challenge is to strengthen those foundations without making security an obstacle to adoption. Employees need approved ways to use AI, supported by safeguards that operate at machine speed. “If we simply refuse to let people leverage AI, they’ll find ways to use it anyway, often through tools into which we have no visibility. We must give people a secure way to adopt the technology rather than drive its use outside the organization’s control,” says Singh.

