Thoughts

Short architectural notes, quick security tips, and musings on Agentic AI, IAM, Zero Trust, and Google Cloud that aren't quite long enough for a full article.

November 2026
#76•3 min read

The mandate moving Google Workspace AI agents from raw REST APIs to managed MCP servers and Cloud Agent Gateway isn't bureaucracy: it is the foundational IAM architecture we have been missing.

For years, treating an autonomous AI agent like a human-paced application with a broad OAuth token was an architectural liability waiting to happen. When Google published the Workspace AI Tools Addendum and brought Google Workspace Model Context Protocol (MCP) servers and the official Workspace CLI (gwscli) to General Availability, pushing agent traffic off raw REST APIs ahead of the 1 February 2027 enforcement date, many developers groaned. Architects building production systems have good reason to welcome it.

The fallacy of library-level trust. Traditional REST APIs were designed for deterministic, human-paced software where a valid OAuth token implied direct user intent. At machine speed, multi-agent workflows execute hundreds of API calls per second across Gmail, Drive, and Calendar without human review of the blast radius. Under the Workspace AI Tools Addendum, traditional non-AI software running on separate OAuth clients continues using standard REST APIs unaffected, whereas from 1 February 2027 AI agents calling raw REST APIs directly are hard-capped at free Standard Tier quotas (5,000 requests per day per project per product) and face policy enforcement. Forcing agentic traffic through hosted Workspace MCP servers and gwscli moves policy enforcement out of application code and into the request path.

This shift works across two complementary control-plane layers:

  • Workspace-native guardrails at the MCP boundary: Routing through Google's hosted Workspace MCP servers and gwscli requires dedicated agentic OAuth clients (is_agentic) and brings Data Loss Prevention (DLP) rules, classification labels, admin trust controls, and built-in human-in-the-loop (HITL) confirmations for sensitive actions directly into every tool call.

  • Cryptographic Non-Human Identities (NHI) and Agent Registry: Within Google Cloud and Gemini Enterprise Agent Platform, Agent Identity issues each agent a SPIFFE-based cryptographic principal mapped directly to IAM, retiring shared service accounts and static keys, while Agent Registry serves as the authoritative catalogue of approved agents, MCP servers, and tools.

  • Protocol-native gateway enforcement and Model Armor: Sitting in the request path, Cloud Agent Gateway governs LLM, MCP, and Agent-to-Agent (A2A) traffic with default-deny outbound rules and fine-grained tool authorisation, while inline Model Armor intercepts prompt injection, tool poisoning, and data exfiltration attempts before payloads reach systems of record.

The builder's dilemma. Refactoring existing agent integrations to comply with managed MCP interfaces introduces real short-term engineering overhead. Teams must split agentic and non-agentic OAuth clients, take users through fresh re-consent flows, and engineer for strict data retention and revocation rules (purging cached user data on disconnection and keeping Workspace data out of model training and evaluation sets).

Yet that friction is necessary. Moving enterprise AI out of proof-of-concept stagnation requires replacing implicit token trust with verifiable, protocol-aware governance. Centralising controls across Workspace MCP and Cloud Agent Gateway gives security and platform teams the identity boundaries and auditability required to run autonomous workloads at scale.

0
October 2026
#75•2 min read

Autonomous agents demand a fundamental re-architecting of infrastructure, shifting our security posture from static service accounts to hardware-isolated microVM sandboxes and dynamic identity injection.

We have spent the last two years treating LLMs as glorified HTTP microservices, wrapping them in standard IAM roles and hoping token-bucket rate limits would save us from runaway loops. That architectural laziness is no longer tenable now that autonomous agents are writing code, driving browsers, and orchestrating multi-step enterprise workflows.

The introduction of the Agent Compute Engine forces a much-needed reckoning. When you give an agent a persistent, autonomous execution loop, traditional compute primitives break down under the weight of high-churn sessions and asynchronous state changes. You cannot secure agentic execution with static service accounts and perimeter firewalls.

Three engineering realities define this shift:

First, hardware-isolated runtimes are non-negotiable. Agents execute arbitrary code, manipulate tools, and parse untrusted inputs dynamically. Relying on shared container runtimes invites lateral movement risks that traditional container isolation simply cannot mitigate. Purpose-built microVM sandboxes deliver the strict hardware boundaries required to contain probabilistic failures.

Second, identity must be scoped dynamically at the tool boundary. When a multi-agent system delegates tasks across microservices, propagating a static user token or broad service account key creates an indefensible blast radius. Mechanisms such as Express Link for Cloud Run address this by enforcing authenticated agent-to-tool connectivity with inline identity token injection, ensuring that every tool invocation carries the exact minimal privilege required for that specific execution step.

Third, governance requires continuous observability, not post-mortem log analysis. As agents run asynchronously in the cloud—spanning long-running tasks and multi-agent orchestration—security architects lose the safety net of synchronous request-response debugging. Integrating agent gateways with distributed tracing and strict spend-caps per project isn't just about cost control; it is an essential circuit breaker for autonomous behaviour.

The engineering challenge is no longer about how many tokens a model can process, but how tightly we can box, authorise, and audit its execution path before it touches production infrastructure.

0
#74•2 min read

Treating AI agents as glorified scripts is an enterprise security liability; the Gemini Enterprise Agent Platform forces us to finally treat agents as first-class Non-Human Identities.

The industry discourse following the Gemini at Work 2026 announcement has been dominated by chatter about multi-day execution and model orchestration. But for cloud architects and security engineers, the real architectural shift isn't about how many days an agent can run unattended; it's about how we govern non-human actors at scale.

For too long, enterprise AI deployments have relied on loose service accounts and shared API keys, creating a massive shadow agent problem. With the consolidation of Vertex AI into the Gemini Enterprise Agent Platform, Google has introduced a structural separation between the build layer, the runtime layer, and the governance stack:

  • Hardened Governance Perimeters with VPC Service Controls: Provisioning agents with verifiable cryptographic identities and routing tool traffic through the Agent Gateway is only half the battle. Wrapping the governance layer and internal data sources, such as Knowledge Catalog, BigQuery, or Snowflake, inside VPC Service Controls perimeters stops data exfiltration vectors before they can reach external model endpoints.

  • Tool Boundaries, Cascading Privilege & CodeMender Scoping: Architecting multi-agent swarms requires strict separation between Agent-to-Agent (A2A) orchestration and Model Context Protocol (MCP) tool execution to prevent cascading privilege escalation across delegated sub-agents. Pairing end-to-end Cloud Trace telemetry with scoped remediation tools like CodeMender ensures autonomous code agents cannot inadvertently rewrite CI/CD pipelines or infrastructure-as-code definitions whilst patching vulnerabilities.

  • Token Economics and Spend Guardrails: Autonomous workflows that run for hours or days across persistent Memory Banks introduce a sobering financial variable: runaway token consumption and unmonitored sandbox compute costs. Real-time spend caps tied directly to project-level billing allow engineering teams to automatically pause misbehaving agent fleets before cloud costs spiral.

Ultimately, agentic engineering is no longer about writing clever prompts. It is about designing resilient distributed systems where probabilistic reasoning is safely contained by deterministic guardrails, verifiable identities, and strict infrastructure governance.

0
#73•2 min read

As the Gemini Enterprise Agent Platform shifts workloads from stateless prompting to stateful non-human identities, our IAM models are facing an architectural reckoning.

We have officially crossed the rubicon from deterministic application code to probabilistic agentic execution. With the maturation of Agent Gateway, Agent Identity, and persistent Memory Banks, architects can no longer treat AI as a stateless text-in, text-out API wrapper. When an autonomous agent runs continuously for days, holding its own cryptographic identity, maintaining state across asynchronous handoffs, and orchestrating sub-agent graphs via the Agent Development Kit (ADK), it stops behaving like software and starts behaving like a digital coworker.

Historically, service accounts and API tokens were scoped tightly to specific microservices with predictable execution paths. An agent orchestrated through the Agent Runtime turns this model on its head. Because these agents make autonomous decisions, route dynamically between Gemini variants and Anthropic's Claude based on token economics and task complexity, and provision temporary tool execution sandboxes, their blast radius expands exponentially. If an agent possesses a persistent organisational identity complete with corporate email and calendar context, an unvalidated prompt injection across an MCP server or data warehouse federation boundary doesn't just leak an API key; it compromises an active corporate participant.

To safely deploy multi-agent swarms at production grade, enterprise security posture requires a hard pivot towards three architectural non-negotiables:

  • Cryptographic Agent Identity: Every spawned sub-agent must inherit a verifiable, unique cryptographic ID enforced by the control plane. Implicit trust based on network topology or shared workspace permissions is a fast track to lateral movement; audit trails must explicitly attribute actions to the agent's distinct runtime identity rather than masking them behind a human proxy.

  • Agent Gateway as Air Traffic Control: Unregulated tool invocation is an open invitation for data exfiltration. The Agent Gateway must act as an inline security boundary, enforcing runtime Model Armor protections, inspecting payload schemas, and evaluating JIT authorisation policies before any agentic workflow touches sensitive systems of record like Salesforce, BigQuery, or internal source repositories.

  • Ephemeral Sandboxing and Token Capping: Long-running agents inherently accumulate context drift and cost runaway. Hard runtime sandboxing for file execution and shell commands, coupled with strict project-level spend caps that automatically pause execution upon threshold breach, are mandatory financial and operational firewalls.

The capability to delegate broad objectives rather than micromanaging step-by-step instructions shifts the engineering burden from writing deterministic control logic to defining rigorous evaluation frameworks and tight tool boundaries. If your agentic architecture lacks strict runtime observability, cryptographic non-human identity tracking, and hard-bounded gateways, you aren't scaling productivity; you're scaling shadow IT with a reasoning engine.

0
#72•2 min read

Google's Agent Gateway shifts agentic security from network perimeters to protocol-layer parsing of MCP and A2A traffic.

For years, we treated autonomous agents like microservices masquerading as chatbots, forcing perimeter-based API gateways to blindly pass JSON payloads they had no semantic way of inspecting. With the rollout of the Agent Gateway within the Gemini Enterprise Agent Platform, enforcement has shifted from the network layer directly into the protocol layer.

Traditional API gateways operate at layers four or seven on IP addresses, TCP ports, and HTTP headers. In an agentic architecture where workloads dynamically invoke tools via the Model Context Protocol (MCP) or negotiate sub-tasks through the Agent-to-Agent (A2A) protocol, a traditional reverse proxy is essentially flying blind: it sees a generic POST request to a backend container without knowing whether the agent is requesting a benign status read or a destructive database write. Built on Envoy and Kubernetes Gateway APIs, the Agent Gateway runs an inline deframing filter over MCP and A2A traffic to extract explicit policy attributes, such as tool names, requested methods, and model identifiers, before a packet ever reaches the execution environment.

Securing agentic swarms also requires retiring over-scoped service accounts in favour of cryptographically attested, SPIFFE-formatted Non-Human Identities (NHI). During the mTLS handshake with the Agent Gateway, each agent's identity is verified, bound, and evaluated against fine-grained RBAC rules and Principal Access Boundaries (PAB) mapped directly to parsed MCP method calls. An operational agent can be strictly constrained to read-only GitHub MCP tools while being cryptographically barred from executing shell commands or touching production storage buckets, all without brittle custom token-exchange middleware.

While protocol-native governance makes complex agentic workflows viable in production, architects must design for three operational realities:

  • Inspection Latency: Deframing and parsing MCP and A2A protocol messages at line rate adds a deterministic compute tax to every tool invocation. Account for this traversal penalty when designing low-latency reasoning loops.

  • Blast Radius & Egress Control: Combining centralised Agent Gateway policies with Principal Access Boundaries (PAB) and VPC Service Controls creates hard perimeters, but downstream authorisation policies must still be tightly scoped so a misconfigured registry entry cannot expose sensitive capabilities.

  • Protocol-Level Observability: OpenTelemetry-driven tracing across MCP servers is no longer optional. Auditing and debugging multi-agent handoffs requires end-to-end execution paths visible through unified telemetry dashboards.

The race for enterprise AI will not be won by the team with the largest context window, but by the architect who can govern agentic autonomy without breaking developer velocity. If your gateway cannot parse an MCP payload and evaluate a SPIFFE-authenticated tool call inline, your Zero Trust architecture is leaking.

0
July 2026
#71•2 min read

How do we maintain granular authorisation boundaries when our serverless agentic workflows increasingly rely on third-party identity fabrics?

The convergence of Gemini Enterprise Agent Platform and Okta’s identity governance signifies a critical shift in how we must approach the security of our AI-powered workforce. We are moving away from traditional, perimeter-based security toward a model where identity is the primary control plane for every agentic interaction. As we architect serverless infrastructures on Google Cloud, the requirement to embed authentication and access controls directly into agent workflows, without resorting to bespoke, unmaintainable code, is no longer optional.

This integration highlights the necessity of centralising visibility and policy enforcement, ensuring that our AI agents operate within the same strict governance frameworks that define our human user access. The fundamental architectural principle here is the transition to "identity-aware" agent operations, where the agent's actions are cryptographically bound and policy-enforced in real time.

To realise this vision on Google Cloud, we must establish three key security pillars:

  • Cryptographic Identity Binding. Every serverless agent action must be tied to a short-lived, cryptographically verifiable token. By mapping Gemini Enterprise Agent Platform identities to Google Cloud IAM and Okta via OIDC/OAuth 2.0 token exchange protocols, we can verify the agent's context (and the delegating user's context) at every invocation boundary without relying on long-lived secrets.

  • Centralised Audit and Visibility. In an agentic workforce, audit logs must capture not just who triggered a workflow, but how the agent made decisions. Feeding token exchange logs, Gateway evaluations, and Cloud Logging streams directly into a centralised SIEM allows security teams to correlate agent behaviour with identity policies, ensuring absolute visibility and compliance.

By treating identity as the ultimate security boundary, we can confidently deploy autonomous agents that respect organisational trust boundaries and scale securely.

0
#70•2 min read

Are we finally moving beyond the 'Agentic Hype' phase and into the era of operationalised, sovereign agent deployments?

The announcement of the FactSet partnership with Google Cloud underscores a pivotal shift in how we architect AI-native systems. We are moving away from stateless, prompt-response interactions towards long-term, stateful agents capable of managing complex business processes like deal advisory and corporate finance. This evolution requires moving beyond simple LLM implementations and embracing a holistic platform approach that prioritises governance, memory, and, most critically, identity. As we integrate these agents into our existing cloud infrastructure, we must treat them not as ephemeral scripts, but as first-class principals within our identity and access management (IAM) frameworks.

To build reliable agentic systems, we must adhere to three foundational architectural principles that treat security as an inherent property of the agent lifecycle rather than an afterthought.

  • Identity-Centric Agent Governance. Agents require a verifiable, unique cryptographic identity to interact securely with cloud resources. By leveraging new Agent Identity principals, distinct from human users and service accounts, we can enforce granular, least-privilege access using Identity-Aware Proxy (IAP). This ensures that even if an agent operates autonomously, its scope of action is strictly bounded by auditable IAM policies.

  • Unified Security Policy Enforcement. The integration of Google Cloud with Okta for AI Agents effectively bridges the gap between enterprise identity governance and agentic execution. By delegating real-time authentication to Okta through the Google Agent Gateway, we can enforce uniform security posture across browser-based work, mobile, and desktop environments, ensuring that agentic autonomy does not create unmonitored security gaps.

  • Serverless Agent Runtime Orchestration. With the new Agent Runtime capabilities, we must prioritise low-latency, high-scale execution by leveraging sub-second cold starts and long-running operations. Moving agents to a fully managed, serverless platform allows us to decouple our business logic from the underlying infrastructure, effectively treating the 'agent' as the unit of scale and management, rather than the container or VM.

Ensuring these systems remain secure requires a shift towards active observability and guardrails. As we scale, the focus must remain on implementing human-in-the-loop approvals for sensitive, irreversible actions, and leveraging new defensive tools like Agent Gateway to prevent data exfiltration and prompt injection. We are building the connective tissue between our data and the agents that act upon it; our success depends on the rigour of the identity and governance framework we place around those agents today.

0
June 2026
#69•3 min read

How does the shift towards persistent, stateful, and autonomous agentic workflows fundamentally change our requirements for perimeter-based security versus identity-centric governance?

The transition from stateless conversational bots to stateful, multi-agent orchestrations, as seen with the evolution of the Gemini Enterprise Agent Platform, requires us to rethink the standard serverless architectural model. We are moving beyond simple function execution to persistent, 24/7 background agents that require their own distinct identity, lifecycle management, and verifiable context. This architectural pivot, which leverages the Agent Runtime for long-running operations and memory-banked persistence, effectively moves the security boundary from the network perimeter to the identity of the agent itself. By integrating Okta’s identity governance with Google’s Gemini Enterprise Agent Platform, we gain the ability to map every agentic action back to a verified human owner, effectively bridging the gap between legacy enterprise IAM policies and modern, autonomous AI execution environments.

Adopting these advanced patterns demands a shift in how we approach secure execution and authorisation, moving towards a framework where security is embedded in the agent's identity rather than just the service account. We must treat AI agents as first-class principals within our IAM infrastructure, enabling granular control over the data and systems they access, thereby minimising risk while maximising the utility of agentic automation.

  • Cryptographic Agent Identity (SPIFFE Compliance). Moving beyond static service accounts, we are deploying agents with unique, cryptographically protected identities based on the SPIFFE standard. This ensures that every action, whether autonomous or user-directed, is fully auditable and verifiable, preventing unauthorised privilege escalation within our Google Cloud environment.

  • Context-Aware Governance via IAP and Agent Gateway. By utilising Identity-Aware Proxy (IAP) integrated with the Agent Gateway, we enforce access policies that go beyond network boundaries, evaluating real-time contextual signals such as device health, location, and the specific Model Context Protocol (MCP) attributes of the request. This creates a robust "air traffic control" system for our AI ecosystem, ensuring that only approved tools and agents interface with our critical data backends.

  • Human-in-the-Loop (HITL) for Sensitive Orchestration. We are implementing Unified Access Policies (UAP) that mandate human approval for high-risk operations, effectively neutralising the risk of autonomous "runaway" agents. This integration with Okta ensures that even when an agent operates in a background session, its capabilities are strictly bound by the permissions of its linked human owner and our organisational risk posture.

The convergence of Gemini Enterprise Agent Platform and Okta IAM offers a path towards a truly hardened, secure-by-design environment where agents act not as black boxes, but as governed, accountable participants in our enterprise workflows. We are effectively maturing from "testing" agentic potential to "productionising" high-stakes autonomous systems.

Given our current trajectory towards full autonomy in our CRM and data pipelines, how are we planning to audit the "intent" of agents that utilise long-term memory banks to make decisions based on historical data rather than just real-time input?

0

Showing 8 of 77 thoughts

View full archive directory