Skip to main content

Agent Runtime on Gemini Enterprise Agent Platform: How to Deploy, Scale, and Operate AI Agents in Production

  • Mohit
  • 24 Oct, 2026
  • Updated 27 Oct, 2026
Agent Runtime on Gemini Enterprise Agent Platform: How to Deploy, Scale, and Operate AI Agents in Production

Building an agent that works on a laptop is the easy part. Running it for thousands of users (with versioning, rollbacks, memory, security controls, and monitoring) is where most agent projects stall. Agent Runtime (formerly Vertex AI Agent Engine) is Google’s managed answer to that problem.

Agent Runtime is part of Gemini Enterprise Agent Platform (formerly Vertex AI) and was called Vertex AI Agent Engine until April 2026. This guide covers what it provides, the five ways to deploy, revisions and traffic splitting, sessions and memory, security, observability, and a production checklist.

If you haven’t built an agent yet, start with our ADK tutorial or Agent Studio guide, then come back here to ship it.

It’s the runtime behind many agents that employees use through Gemini Enterprise and Google Workspace.

Key Takeaways

  • Agent Runtime (formerly Agent Engine) runs agents for up to seven days with sub-second cold starts.
  • Five deployment methods cover notebooks, Git, source files, Dockerfiles, and container images.
  • Revisions and traffic splitting enable canary rollouts (Preview).
  • Enable Agent Identity, Private Service Connect, and VPC-SC for production.
  • Alert on error rate, latency, tool failures, and cost.

Table of contents

Open Table of contents

What Agent Runtime Provides

Google describes Agent Runtime as a fully managed environment for deploying and scaling agents without managing infrastructure. Its main capabilities:

CapabilityWhat it gives you
Fast, scalable runtimeSub-second cold starts; scales with demand
Long-running agentsOperations of up to 7 days for multi-day asynchronous tasks
Revisions and traffic managementImmutable versions and percentage-based traffic splits (Preview)
SessionsConversation state within an interaction, with custom session IDs
Memory BankLong-term memories that persist across sessions
Code Execution and SandboxRun model-generated code and computer-use tasks in isolation
Bidirectional streamingReal-time audio and video interactions
A2A agentsPublish agents other agents can call over Agent2Agent
Agent Gateway routingSend agent traffic through a policy enforcement point
TerraformProvision agents as infrastructure-as-code

Supported frameworks

ADK, Agent2Agent, LangChain, LangGraph, AG2, LlamaIndex, and custom agents. With container-based deployment, any language works.


The Five Deployment Methods

Five ways to deploy agents to Agent Runtime

MethodBest forLanguagesKey requirement
1. Developer ConnectGit-based CI/CDPythonA Developer Connect repository link
2. Source filesCI/CD and Terraform without a staging bucketPythonrequirements.txt; total source ≤ 8 MB
3. DockerfileControl over the API serverAnyContainer follows the runtime contract
4. Container imageLowest deployment latency, full build controlAnyImage in Artifact Registry; SDK google-cloud-aiplatform>=1.144
5. Agent Platform SDKInteractive work in notebooks such as ColabPythonA serializable in-memory agent object

The SDK uses client.runtimes.create() for all five. A few examples from Google’s documentation:

From a Git repository (Developer Connect):

remote_agent = client.runtimes.create(
    config={
        "developer_connect_source": {
            "git_repository_link": "projects/PROJECT_ID/locations/LOCATION/connections/CONNECTION_ID/gitRepositoryLinks/REPO_ID",
            "revision": "main",
            "dir": "path/to/dir",
        },
        "entrypoint_module": "agent",
        "entrypoint_object": "root_agent",
    },
)

From a prebuilt container:

remote_agent = client.runtimes.create(
    config={
        "container_spec": {
            "image_uri": "us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag",
        },
        "display_name": "Container image agent",
    },
)

The returned object is an AgentRuntime, and the underlying API resource is still a reasoningEngines resource: one of several places where pre-rename names live on in the API.

ADK shortcut: ADK users can skip the SDK and run adk deploy agent_engine --project=... --region=... --display_name="..." my_agent.

Which method should you choose?

  • Prototyping in a notebook → Agent Platform SDK
  • Python agents with CI/CD → Developer Connect or source files
  • Non-Python agents or custom servers → Dockerfile or container image
  • Strict change control → container image, built and scanned in your pipeline, then deployed by tag

Revisions and Traffic Splitting

Every time you create an agent or change its versioned fields, Agent Runtime creates an immutable revision. This feature is in Preview (v1beta1 API).

ConceptMeaning
Active revisionCan serve queries (but may receive 0% traffic)
Archived revisionPermanently retired; can’t be restored
Manual splitWhole-number percentages across active revisions, totaling 100
Always latestEach new revision automatically gets all traffic

A safe rollout

  1. Deploy the new revision
  2. Send 10% of traffic to it and 90% to the current revision
  3. Watch errors, latency, evaluation scores, and cost for a day
  4. Move to 50%, then 100%
  5. If something goes wrong, shift traffic back to the previous active revision

In the console: Govern → Deployments → your agent → Revisions → Manage traffic. In the SDK, call client.runtimes.update() with a traffic_config.

Limits and gotchas

  • Up to 950 revisions per agent and 6,000 per project per region (not adjustable)
  • Automatic cleanup removes old revisions only if they’re active with 0% traffic
  • Queries sent directly to a specific revision bypass traffic rules: useful for testing
  • Changing the Agent Gateway binding archives all existing revisions, and requires all traffic on the latest revision first. Plan gateway changes as a deliberate cutover.

Sessions and Memory

Agents need two kinds of memory:

SessionsMemory Bank
ScopeOne interactionAcross sessions
StoresConversation history and stateCurated long-term memories: preferences, decisions, account history
ExampleThe steps of today’s support chat”This customer prefers email and is on the Enterprise plan”

Custom session IDs let you map sessions to records in your CRM or database. Memory Bank can extract memories using structured schemas you define, and Memory Profiles give low-latency recall. We’ll cover Memory Bank in depth later in this series.

Billing note: since September 1, 2026, session and Memory Bank compute is metered on the Agent Platform compute SKU, and Memory Bank embedding SKUs changed. Watch for these line items.


Security and Compliance

Google lists these enterprise controls for Agent Runtime:

ControlSupported
VPC Service ControlsYes
Customer-managed encryption keys (CMEK)Yes
Data residency at restYes
HIPAAYes
Access TransparencyYes
Access ApprovalYes

Plus:

  • Agent Identity: each agent gets its own IAM principal, so you grant permissions to the agent rather than to a shared service account, and audit logs show exactly which agent acted
  • Private Service Connect interfaces: connect agents to your VPC and control their internet access
  • Agent Gateway: route traffic through a central policy point with Model Armor protection
  • Secrets: store keys in Secret Manager; when you pass secrets as environment variables with an agent identity, grant roles/secretmanager.secretAccessor to the Agent Platform Service Agent, which reads the secret values during deployment

Least privilege in practice: if an agent only reads one BigQuery dataset and writes to one Cloud Storage bucket, its identity should have exactly those two permissions. Nothing at project level.


Observability

Agent Runtime integrates with Google Cloud’s operations tools:

  • Cloud Trace: trace query response times and each operation inside an agent run
  • Cloud Logging: agent and framework logs
  • Metrics and alerts: built-in metrics, custom metrics, and alerting
  • ADK telemetry metrics: available for ADK 2.6.0 and later (added August 2026)

On top of this, Agent Platform’s Agent Observability provides turnkey dashboards and execution traces, and Agent evaluation can score live traffic for quality drift.

What to alert on

SignalWhy
Error rate per revisionCatch a bad rollout quickly
P95 latencyUsers abandon slow agents
Tool-call failuresBroken integrations look like “the AI is wrong”
Tokens and cost per dayRunaway loops show up here first
Long-running operations past expected durationStuck multi-day jobs

Cost Control

Agent Runtime is a paid service. You pay for the runtime resources your agents use, model tokens, and (since September 2026) session and Memory Bank compute. To keep costs predictable:

  • One project per agent or team, with a Cloud Billing budget and spend cap
  • Right-size models: route simple steps to faster, cheaper models
  • Cap long-running jobs: set your own time and step limits, even though the platform allows up to seven days
  • Clean up: delete unused agents and archived revisions’ dependencies

For how Gemini Enterprise and Agent Platform charges appear on invoices, see our billing guide.


Agent Runtime vs. Cloud Run vs. GKE

ADK agents can also run on Cloud Run or Google Kubernetes Engine. When is the managed runtime worth it?

Agent RuntimeCloud RunGKE
What you manageAgent code onlyContainer and service configCluster, nodes, networking
Sessions and Memory BankBuilt inBuild or wire up yourselfBuild or wire up yourself
Revisions and traffic splitAgent-aware (Preview)Service revisionsYour deployment tooling
Long-running agent tasksUp to 7 daysRequest and job time limits applyWhatever you design
Agent Identity and GatewayNativeVia service accounts and your own controlsVia workload identity and your own controls
Best forMost agent workloadsAgents inside existing web servicesTeams with Kubernetes platforms and special hardware needs

For most teams, Agent Runtime is the default: it removes the plumbing (state, memory, identity, gateway routing) that otherwise takes weeks to build. Cloud Run makes sense when the agent is one endpoint inside a larger service you already run there. GKE fits organizations that standardize everything on Kubernetes or need fine control over hardware and networking.


Production Readiness Checklist

AreaReady when…
CodeIn Git, reviewed, deployed by pipeline (Developer Connect, source files, or container)
IdentityAgent Identity with least-privilege roles; no developer credentials
SecretsIn Secret Manager, accessed by the agent identity
NetworkPrivate Service Connect where internal systems are involved; controlled internet egress
GatewayTraffic routed through Agent Gateway with Model Armor
PerimeterVPC Service Controls for sensitive data
EvaluationTest set passes; online evaluation monitors configured
RolloutRevision-based canary plan; rollback steps documented
MonitoringAlerts on errors, latency, tool failures, and cost
BudgetSpend cap and alerts on the project
OwnershipNamed owner and on-call contact

Publishing to Employees

Agents on Agent Runtime can be registered in Agent Registry and made available to employees through the Gemini Enterprise app, where people already search company data and use the Gemini agent. Your own full-code agents require the Standard, Plus, Pay-as-you-go, or Frontline (provisioned agents) editions.


Conclusion

Agent Runtime turns an agent from a demo into a service: five deployment paths to fit your pipeline, immutable revisions with traffic splitting for safe rollouts, sessions and Memory Bank for context, long-running jobs of up to seven days, and the security controls regulated teams expect. The API still speaks in reasoningEngines and the ADK command still says agent_engine, but the platform behind them has grown up considerably.

Treat agents like any other production service (pipelines, least privilege, canaries, alerts, and budgets) and they’ll be ready to serve the people across your organization, including teams working in Google Workspace through Gemini Enterprise.


Official Google documentation:

Related reading:

This guide contains referral or affiliate links. If you sign up through one, Workspace Blog may earn a commission at no extra cost to you. Learn more.

Frequently Asked Questions

What is Agent Runtime?
Agent Runtime is the fully managed environment on Gemini Enterprise Agent Platform for deploying and scaling AI agents without managing infrastructure. It was called Vertex AI Agent Engine before April 2026. It provides sub-second cold starts, long-running agents that can run for up to seven days, sessions, Memory Bank, code execution and sandboxing, bidirectional streaming, A2A support, and built-in observability.
Which agent frameworks can run on Agent Runtime?
Google lists the Agent Development Kit (ADK), Agent2Agent (A2A), LangChain, LangGraph, AG2, LlamaIndex, and custom agents. With the Dockerfile or container image deployment methods you can run agents written in any language, as long as the container follows Agent Runtime's runtime contract.
What are the ways to deploy an agent to Agent Runtime?
Google documents five methods: Developer Connect (deploy from a connected Git repository), source files (deploy local code up to 8 MB without a Cloud Storage bucket), Dockerfile (build a container from your Dockerfile), container image (deploy a prebuilt image from Artifact Registry), and the Agent Platform SDK (deploy an in-memory agent object, for example from Colab). ADK users can also run adk deploy agent_engine.
Does Agent Runtime support canary deployments?
Yes, in Preview. Every change to versioned fields creates an immutable revision, and you can split traffic between active revisions by whole-number percentages that total 100, or route everything to the latest revision. A typical rollout sends about 10% of traffic to a new revision and increases it as results look good. Each agent can have up to 950 revisions.
Is Agent Runtime suitable for regulated workloads?
Google lists support for VPC Service Controls, customer-managed encryption keys, data residency at rest, HIPAA, Access Transparency, and Access Approval, plus IAM agent identity and Private Service Connect interfaces to connect agents to your VPC and control internet access. Confirm each control against your own compliance requirements.