How Google Secures Gemini AI Agents: Agent Identity, Gateway, and Sandbox

Creator Aizon Team
0

 

How Google Secures Gemini Agents: Digital Identity, Agent Gateway, and Enterprise AI Governance


Gemini AI Agents


Why Has Securing AI Agents Become Essential?

In the early days of generative AI, systems generally operated in a straightforward way: a user entered a question, sent it to a model, and received an answer.

Even when the answer was incorrect, the damage often remained limited to the information presented to the user.

Intelligent agents, however, are changing that equation.

A modern agent may be able to use external tools, read files, call APIs, execute code, analyze data, communicate with other systems, or delegate parts of a task to subordinate agents.

As a result, an error is no longer necessarily just an incorrect answer.

It can become an operation carried out in a real system.

The more an agent can do, the more important its identity, permissions, and monitoring become.

This is where Google Cloud's new approach begins.

The company does not treat an agent as merely an AI model. Instead, it views the agent as a digital entity that requires an identity, permissions, policies, and monitoring records.

Why Traditional Security Is Not Enough

Traditional security systems were primarily designed around people, servers, applications, and devices.

AI agents introduce another type of digital entity.

An organization may now have:

  • A human employee.
  • An application.
  • A cloud service.
  • A virtual machine.
  • An AI agent.
  • A subagent created by another agent.

The challenge emerges when an agent begins acting autonomously.

If an agent permanently uses a human employee's account, it becomes difficult to determine whether an action was performed by the employee or by the agent.

That is why Google's approach is built around an important idea:

Every agent should have its own identity.

This makes it possible to associate the operations performed by an agent with its own identity rather than attributing everything to the human who initiated the task.

What Is Agent Identity?

Agent Identity is the identity layer that gives an agent a digital identity that can be verified and managed.

According to Google Cloud, each agent can receive a unique, cryptographically attested identity that can be used for authentication, authorization, and auditing.

In principle, this resembles an employee's identity within an organization, but an agent is not a real person.

It is a non-human entity capable of performing work on behalf of users or teams.

Why Is an Independent Identity Necessary?

Imagine an agent called "Sales Analyst."

This agent reads sales data and creates daily reports.

If it uses an independent identity, the security team can determine that an access operation was performed by the "Sales Analyst" agent.

If it instead uses the identity of the employee who created it, distinguishing the employee's actions from the agent's actions may become difficult.

What Does a Cryptographically Attested Identity Mean?

Google's use of the phrase cryptographically attested identity is significant.

It does not simply mean assigning a name to an agent.

It means establishing an identity that security systems can rely on during authentication, authorization, and auditing.

Google Cloud documentation explains that agents can have verifiable identities, such as SPIFFE identities for agents running on Google Cloud, or service accounts for external agents.

This identity becomes part of a trust chain that enables a system to identify the entity requesting access to a particular resource.

The question therefore becomes:

"Who are you?"

This is no longer a question asked only of humans. It must also be asked of agents.

What Is Agent Registry?

If companies begin operating hundreds or thousands of agents, another problem emerges:

How can an organization know which agents actually exist within its environment?

This is where Agent Registry comes in.

It can be understood as a centralized registry or catalog that helps an organization organize agents and the tools and services associated with them.

According to Google Cloud, Agent Registry serves as a central source for discovering registered agents and resources within an organization. It also helps teams discover and reuse components rather than building everything from scratch.

This addresses a problem that could become serious as AI adoption expands:

Agent Sprawl: The Proliferation of Agents

Each team within a company may create its own agents. Over time, the IT department may lose track of how many agents exist, who created them, and which permissions they have.

A centralized registry is therefore not just about finding agents. It can also become part of the organization's governance framework.

What Problems Can a Central Registry Help Solve?

  • Identifying the agents operating within an organization.
  • Knowing the identity of each agent.
  • Making approved agents and tools easier to discover.
  • Reducing the creation of duplicate agents.
  • Helping security teams monitor the agent environment.
  • Supporting the organization and management of approved agents.

What Is Agent Gateway?

If Agent Identity answers "Who is the agent?" and Agent Registry helps answer "Which agents exist?", Agent Gateway focuses on a third question:

"What is the agent allowed to do, and where is it allowed to go?"

Google Cloud describes Agent Gateway as a centralized control point for communications between users and agents, between agents themselves, and between agents and tools.

This makes it similar to a security control layer through which important communications can pass.

According to Google, Agent Gateway can enforce fine-grained access policies. It can also work with other protection layers, such as Model Armor, to help address risks including prompt injection and data leakage.

Why Is This Important?

Because an agent does not operate in isolation.

It may need to:

  • Access a database.
  • Call an API.
  • Read a document.
  • Send a request to another agent.
  • Use an external service.
  • Run a software tool.

Each of these connections represents a point where a security policy can be applied.

Why Does Gemini Need a Sandbox Environment?

One of the most powerful capabilities of an agent is its ability to execute code.

Code can be extremely useful, but it can also interact with files, networks, and systems.

This is why Google uses the concept of an Agent Sandbox.

The basic idea is to run tasks in an isolated environment that limits their potential impact on the rest of the infrastructure.

Instead of giving an agent direct access to a production environment, sensitive operations can be placed within more secure boundaries.

The Core Idea:

An agent can perform work without receiving unrestricted freedom to access everything within an organization.

This reflects a well-established cybersecurity principle:

If access is not necessary, it should not be granted.

How Does an Agent's Identity Carry Over to a Virtual Machine?

This is one of the most interesting details in the announcement.

When Gemini needs to execute code in a virtual machine, Google does not want the agent's identity to disappear once execution moves into that machine.

Instead, the company says the agent's identity is bound to the virtual machine it uses to execute code.

This creates a traceable chain:

User

↓

Gemini Agent

↓

Agent Identity

↓

Requested Operation

↓

Virtual Machine

↓

Code Execution

↓

Audit Log

The significance of this design is substantial.

If unusual behavior occurs inside the virtual machine, the security team can associate that activity with the agent that initiated the operation.

This prevents the virtual machine from becoming a separate black box disconnected from the rest of the system.

How Do Audit Logs Work?

In an environment that relies on autonomous agents, it is not enough to know that "something happened."

We need to know:

  • Which agent performed the action?
  • When did it happen?
  • Which resource was accessed?
  • Which permission was used?
  • Which system was contacted?
  • Was the action permitted?

This is why Google relies on audit logs that associate actions with an agent's identity.

This differs from a model in which everything is recorded under a single human account.

The Main Benefit:

The security team can track an agent's activity as that of an independent entity rather than treating it as an unexplained process occurring under someone else's account.

This capability becomes even more important when an organization has thousands of automated operations taking place.

How Can One Policy Be Applied to All Agents?

This is one of the strongest ideas presented by Google in its announcement.

Imagine an organization with 500 agents.

If the security team wants to prevent agents from opening documents classified as Need to Know, managing every agent individually would be burdensome.

In the model described by Google, the policy can be established centrally.

"Agents must not open documents classified as Need to Know."

The governance layer can then apply this rule to the agents covered by the policy.

This is the difference between:

Securing each agent individually

and:

Providing centralized security for the entire ecosystem.

The Principle of Least Privilege

One of the most important security principles associated with Google Cloud's Agent Identity approach is Least Privilege.

The idea is to grant an agent only the permissions it needs to perform its role, rather than giving it broad access to all company resources.

Consider a simple example:

An agent responsible for analyzing sales reports does not necessarily need the ability to delete human resources files.

An agent supporting the marketing team does not necessarily need access to payroll data.

A coding agent should not automatically have administrative privileges over every system in the company.

Approach Problem Better Approach
Broad permissions for every agent Greater impact from errors or security breaches Role-based, limited permissions
Using an employee's identity Difficulty tracking what the agent did A separate identity for the agent
Different policies for every agent Management complexity Centralized policies
Executing code directly Increased access risks Execution in an isolated environment

How Can This Architecture Help Prevent Data Leakage?

One of the most serious scenarios in enterprise AI is an agent accessing sensitive information and then sending it somewhere unauthorized.

The risk may not originate in the model itself.

It may arise from the connection between the agent and a tool.

This is why Google places Agent Gateway in the communication path.

The idea is to prevent data from moving randomly between agents and systems. Instead, policies can be applied to network and communication traffic.

This makes several controls especially valuable:

  • Destination control.
  • Permission control.
  • Request inspection.
  • Data traffic monitoring.
  • Blocking unauthorized communications.

Agent security therefore cannot depend on the model alone.

Security Beyond the Model:

This is one of the most important ideas in the announcement. The model itself should not be the only mechanism responsible for enforcing an organization's policies. External layers must be able to enforce rules even when the model behaves unpredictably or misinterprets a request.

Detecting Unusual Behavior

When every operation is associated with a clear agent identity, stronger monitoring mechanisms become possible.

For example, if an agent normally reads ten files a day but suddenly starts attempting to access thousands, this could be a signal that requires investigation.

Similarly, if an agent specializing in data analysis suddenly attempts to connect to a service it has never used before, the monitoring system can record that activity.

The important point is that a system should do more than record events. Its logs can also help security teams identify unusual patterns.

Note: Anomaly detection does not mean a system can predict every attack or automatically prevent every security incident. Monitoring helps identify warning signs, but it is not a substitute for a comprehensive security strategy.

Securing Agents That Collaborate With One Another

The problem becomes more complex when an organization uses more than one agent.

In the model announced by Google, Gemini can create subagents to handle different parts of a task.

This means that a single task may become a chain of operations:

User

↓

Gemini Agent

↓

Research Agent + Data Agent + Coding Agent

↓

Different Tools and Systems

↓

Final Result

Without appropriate governance, the complexity of relationships between agents can become a security problem.

That is why identity becomes even more important.

Every agent needs to be identifiable, every operation must be traceable, and every connection needs appropriate policies.

Does AI Replace the Security Officer?

No.

This is a very important point.

The goal of governance systems is not to eliminate the role of security teams. It is to give them better tools for controlling an environment that has become more complex.

When a company has ten employees using ten applications, monitoring is very different from monitoring a company with thousands of employees and thousands of agents interacting continuously.

Security teams therefore need centralized tools.

The human role can be summarized as follows:

  • Defining policies.
  • Setting permissions.
  • Reviewing risks.
  • Identifying sensitive data.
  • Monitoring outcomes.
  • Investigating unusual behavior.
  • Updating policies when necessary.

A Practical Example of a Need-to-Know Policy

Imagine a large company with thousands of documents.

Some documents are ordinary, while others are classified as Need to Know, meaning that only people or systems with a clear need and appropriate authorization should be allowed to access them.

The company also has dozens or hundreds of agents.

Without a centralized policy, administrators might need to manage the permissions of every agent separately.

In the model presented by Google, however, a single enterprise-wide rule could be established:

"Agents cannot open documents classified as Need to Know unless the access policy explicitly permits them to do so."

The policy can then be enforced through the governance layer rather than relying on every model to remember the rule each time.

This highlights an important principle in AI system design:

A security policy should not exist only as an instruction inside a prompt.

If a security rule is critical, it is better to have a technical layer capable of enforcing it.

Why Does This Matter to Large Enterprises?

Large companies face challenges that individual experiments do not encounter on the same scale.

The question is not simply, "Does the AI work?"

It is also:

  • Can it be managed at scale?
  • Can its activity be audited?
  • Can the organization determine who did what?
  • Can a specific agent be stopped?
  • Can one policy be applied to thousands of agents?
  • Can permissions be defined precisely?
  • Can access to particular data be prevented?
  • Can the cost of each operation be tracked?

This is why governance is a fundamental part of moving from experimentation to production.

Google itself points out that organizations using large numbers of agents need new tools for managing identities, permissions, activities, and audits.

What Does This Mean for Developers?

For developers, this architecture means that building an agent will involve more than writing a good prompt.

Developers will need to consider:

  • The agent's identity.
  • Its permissions.
  • The tools it can use.
  • The data it can access.
  • How its operations are logged.
  • The environment in which its code runs.
  • How it interacts with other agents.
  • Enterprise policies.
  • Monitoring and evaluation.

This points toward a more clearly defined specialization that could be called Agent Engineering.

In other words, it involves engineering agents in terms of development, security, governance, and operation.

From Prompt Engineering to Agent Engineering

At the beginning of the AI boom, much of the attention focused on writing suitable instructions for models.

But once a system can perform real-world tasks, a good prompt is no longer enough.

A complete design is necessary.

The following elements need to be defined:

Element Key Question
Identity Who is this agent?
Permissions What can it do?
Data What can it see?
Tools Which systems can it use?
Policies What is it prohibited from doing?
Monitoring How can we determine what it did?
Environment Where does its code and activity run?

What Risks Does This Technology Not Automatically Solve?

Despite the importance of the security layers announced by Google, it would be a mistake to consider them a complete solution to every agent security problem.

1. The Model Can Make Mistakes

Even with identity and permissions in place, a model may interpret the user's objective incorrectly.

2. Tools May Be Insecure

If a tool connected to an agent contains a vulnerability or is configured incorrectly, the agent may become part of the resulting chain of risk.

3. Data May Be Incorrect

An agent may make a decision based on outdated or incomplete information.

4. Permissions May Be Poorly Designed

Having a Least Privilege system is not enough if the organization itself grants an agent more permissions than it needs.

5. Multiple Agents Increase Complexity

As the number of agents and connections between them grows, strong governance becomes increasingly important.

6. Security Requires Continuous Updates

Threats change, agents evolve, and tools are updated. Security policies must therefore be reviewed regularly.

Traditional Agents vs. Security-Governed Agents

Element Basic Agent Enterprise Gemini Model
Identity May be linked to the user Independent agent identity
Logging Limited by the application Agent activity can be tracked through audit logs
Permissions May be broad Fine-grained permissions based on least privilege
Multiple Agents Relationships may be unclear Agent identities can be tracked
Code Execution May run directly Dedicated Sandbox environment for isolation
Policies Depend on the application Centralized policy enforcement is possible
Communications May be direct Agent Gateway serves as a control point
Fleet Management Becomes difficult at scale Agent Registry provides a central source

Are We Looking at an Operating System for Agents?

This may be the deeper interpretation of Google's announcement.

When the company brings together:

  • Agent Identity.
  • Agent Registry.
  • Agent Gateway.
  • Agent Sandbox.
  • Memory.
  • Tools.
  • Models.
  • Monitoring.
  • Auditing.
  • Policy management.

We are no longer talking about just a chatbot.

We are talking about a complete operational and management layer for a world of intelligent agents.

A simplified way to understand this is to think of the model as the "brain," while the surrounding infrastructure determines:

Who are you?

What can you do?

Where can you go?

What can you see?

And what have you actually done?

This could become one of the most important shifts in AI infrastructure over the coming years.

Why Shouldn't All Security Be Built Into the Model?

This is a very important technical point.

You can instruct a model:

"Do not disclose confidential data."

But that alone is not a strong security system.

The model may make mistakes.

It may encounter conflicting instructions.

It may be exposed to a prompt injection attempt.

It may interact with a tool in an unexpected way.

Therefore, there must be layers outside the model that can block an operation even if the model decides to perform it.

This is where Agent Gateway, IAM, Sandbox, and other control layers become valuable.

The Principle:

The model can propose an action, but the security layer determines whether that action is permitted in the first place.

What Happens When an Agent Has Its Own Email Address?

One of the interesting aspects of the Coworker Agent concept is Google's discussion of agents that can have dedicated identities and their own email addresses within an organization's domain, such as an identity associated with @agents.company.com.

This idea may seem simple, but it carries significant implications.

It means that an agent is no longer merely a hidden process running in the background.

Instead, it can become a clearly identifiable digital entity within the organization.

For example, an organization might have:

  • A project manager agent.
  • A financial analyst agent.
  • A coding assistant agent.
  • An operations agent.
  • An internal support agent.

Each could have a different role, set of permissions, and operating context.

However, this makes management even more important because the organization must know exactly what each "digital employee" is allowed to do.

Can an Agent Become More Dangerous Than an Employee?

Not necessarily, but the scope of its potential impact may be different.

Human employees have natural limits, including time, attention, and the speed at which they can perform tasks.

An agent, by contrast, can execute automated operations very quickly and at scale.

As a result, a small mistake in a policy or permission setting may be repeated much more rapidly.

Governance is therefore important not only for preventing attacks but also for preventing large-scale automated errors.

The Importance of Monitoring in the Age of Agents

In the era of traditional software, it was important to know whether an application was running properly.

In the age of agents, we need a deeper level of monitoring.

We want to know:

  • What objective was given to the agent?
  • Which tools did it use?
  • Which subagents did it create?
  • What data did it access?
  • What requests did it send?
  • Where was the code executed?
  • What result did it obtain?
  • Did it violate any policy?

This makes observability an essential component of agent infrastructure.

Economic Analysis: Why Is Google Investing in These Layers?

There is an important economic dimension behind this technology.

If companies begin using thousands of agents, the value of a platform will not come solely from its language model.

It will also come from:

  • Agent management.
  • Security.
  • Identity.
  • Data.
  • Networking.
  • Storage.
  • Computing.
  • Monitoring.
  • Analytics.

This means competition between cloud providers may increasingly become a competition over the entire infrastructure of the agent era.

The model is only one part of the picture.

A Deeper Analysis: An Agent Needs an Identity Like a Human

Google's approach can be summarized through four questions:

1. Who are you?

Answer: Agent Identity.

2. What do you know, or what can you access?

Answer: Identity, permissions, and policies.

3. What are you doing?

Answer: Tools, tasks, and communications.

4. What have you actually done?

Answer: Audit logs and monitoring.

When we add a fifth question:

5. Where do you perform the work?

The answer involves the execution environment, Agent Sandbox, and virtual machines associated with the agent.

Together, these layers make the agent manageable at the enterprise level.

Is This Protection Guaranteed to Be 100% Effective?

No security architecture can guarantee the elimination of every risk.

This is an important point when reporting on AI developments professionally.

Google presents these tools as part of a security and governance architecture for agents, but they do not mean an organization will never experience an error or security incident.

Security also depends on:

  • The organization's configuration.
  • Permission design.
  • Data quality.
  • Tool configuration.
  • Employee policies.
  • System monitoring.
  • Software updates.
  • Risk management.

Conclusion: Google Wants to Make Agents Governable Digital Employees

Google Cloud's announcement about Gemini Agent security and governance reveals an important aspect of the next phase of artificial intelligence.

The question is no longer just: Can AI think, write, and program?

It has become:

Can we allow AI to work inside an organization in a secure and traceable way?

That is why Google is building a comprehensive layer around the agent.

Agent Identity gives it a digital identity that can be verified.

Agent Registry helps organizations discover and organize agents.

Agent Gateway provides a control point for communications and policies.

Agent Sandbox provides a more isolated environment for sensitive tasks, such as code execution.

Audit logs and monitoring make it possible to determine what an agent has done and associate its activity with its identity.

Most importantly, this identity can remain associated with the agent even when it uses execution environments such as virtual machines. This helps preserve traceability from the beginning of an operation to its completion.

This design reflects a major shift in the concept of AI security:

Security is no longer an optional feature added on top of a model after it has been built. It is becoming part of the infrastructure that allows the agent to operate in the first place.

As the number of agents inside companies increases, managing their identities, permissions, communications, and logs may become one of the most important branches of AI infrastructure.

The future will not belong only to companies with intelligent models, but also to companies capable of making those models operate safely in the real world.

Sources and Verification

Primary Source: Google Cloud Blog

Announcement: Welcome to Gemini at Work 2026: Introducing the Gemini agent

Announcement Date: October 8, 2026

Additional Sources: Google Cloud documentation on Agent Registry and Agent Identity, along with Google Cloud announcements concerning the Gemini Enterprise Agent Platform and Agent Gateway.

The official source confirms that Google is working to secure and govern agents through identity, permission management, auditing, Agent Sandbox, and Agent Gateway, alongside centralized agent management. Agent Registry documentation also distinguishes between registry identifiers and the identities actually used for authentication, authorization, and auditing.

Editorial Note: Some descriptions circulating on social media may simplify the technical details too much. This article therefore distinguishes between Google's official announcements and the analysis and illustrative examples provided for explanation.

Gemini Gemini Agent Google Cloud Agent Identity Agent Registry Agent Gateway Agent Sandbox AI Security AI Governance AI Agents Agentic AI Cybersecurity Google Gemini

Post a Comment

0 Comments

Post a Comment (0)
3/related/default