◉GEMINI LABJP
●CLI — Gemini CLI's stable release is v0.62.0 (Sep 29). The nightly has reached v0.64.0 (Oct 3, prerelease)●10/22 — 17 days left until the three veo-3.1 preview models shut down. The successor is gemini-omni-1.1-flash●AUTH — A report (#29101) of Gemini CLI auth failing for enterprise Workspace accounts has 55 comments. People want a way to isolate the cause●NEW — Estimating a Sheets-Driven Gemini Bill Across the Year-End Price Switch with Apps Script●TTS — gemini-3.8-flash-tts and gemini-3.8-flash-lite-tts are generally available (Sep 22), along with a Voices endpoint●12/31 — 87 days left until the introductory pricing ends. 3.8 / 3.7 / 3.6 Flash move to $1.50 input and $7.50 output, from $0.75 and $3.75●CLI — Gemini CLI's stable release is v0.62.0 (Sep 29). The nightly has reached v0.64.0 (Oct 3, prerelease)●10/22 — 17 days left until the three veo-3.1 preview models shut down. The successor is gemini-omni-1.1-flash●AUTH — A report (#29101) of Gemini CLI auth failing for enterprise Workspace accounts has 55 comments. People want a way to isolate the cause●NEW — Estimating a Sheets-Driven Gemini Bill Across the Year-End Price Switch with Apps Script●TTS — gemini-3.8-flash-tts and gemini-3.8-flash-lite-tts are generally available (Sep 22), along with a Voices endpoint●12/31 — 87 days left until the introductory pricing ends. 3.8 / 3.7 / 3.6 Flash move to $1.50 input and $7.50 output, from $0.75 and $3.75
Articles/Advanced
⬡ Advanced/2026-05-01Advanced

Vertex AI Agent Engine × Gemini 2.5 Pro — Production Deployment for Managed Agents

Deploy ADK-based agents powered by Gemini 2.5 Pro on Vertex AI Agent Engine. Covers the trade-offs vs Cloud Run, sessions, tool calls, tracing, and a realistic cost model.

Vertex AI12Agent EngineGemini 2.5 Pro17ADKproduction140Google Cloud5

✦ Premium Article

Most teams I've worked with hit a wall when moving an agent from a notebook to production. The pattern is familiar: wrap the agent in Flask, push it to Cloud Run, persist sessions in Redis, and try to piece together traces from Cloud Logging. It works — until you have three or four agents and the operational load buckles under its own weight. I've personally fallen into this trap twice — once on a work project, once on a small internal tool I was building solo. The second one I eventually shut down, not because it stopped working, but because maintaining it stopped being worth the evenings.

Vertex AI Agent Engine is Google's managed runtime designed for exactly that gap between "works on my machine" and "runs reliably in production." This guide walks through deploying an ADK agent powered by Gemini 2.5 Pro to Agent Engine, with a focus on the design decisions — sessions, tools, tracing, and scaling — that determine whether your service stays healthy six months in.

The Three Production Problems Agent Engine Solves

It's tempting to think of Agent Engine as a fancier Cloud Run. That framing misses the point. Agent Engine exists because agents have three operational characteristics that ordinary HTTP services don't.

The first is long, streaming responses. A real agent makes multiple LLM calls, executes tools, and waits on external services — average response times north of ten seconds are common. Standard request/response infrastructure on Cloud Run forces you to fight load balancer timeouts and dropped connections. Agent Engine is built around a streaming RPC model: you call stream_query and receive intermediate events, not a single blob at the end.

The second is state. Should the conversation history live in Redis? Firestore? A bespoke append-only log? You can build any of these by hand, but the moment you need to replay, audit, or A/B test, the seams show. Agent Engine ships with two complementary stores out of the box: Sessions API for short-lived chat threads and Memory Bank for durable user-level facts. Keeping these separated from day one pays off massively when compliance or growth force a redesign.

The third is observability. Agents nest LLM calls inside tool calls inside sub-agent calls. Plain access logs cannot reconstruct causality. Agent Engine emits OpenTelemetry-compatible spans to Cloud Trace automatically, so a single stream_query produces a coherent timeline that includes model latency, tool latency, and child agent latency in one view.

Related: Production Observability for the Gemini API covers how to assemble similar visibility outside Agent Engine — useful as a comparison for decisions about when to migrate.

Agent Builder vs ADK vs Agent Engine

Google Cloud has three similarly named agent products, and the names hide important differences. Here is the heuristic I use on real projects.

  • Vertex AI Agent Builder is a no-code/low-code design canvas. You connect data sources through the UI, drop in tools, and ship an internal FAQ bot in a couple of hours. The companion piece is the Vertex AI Agent Builder Quickstart.
  • Agent Development Kit (ADK) is a Python or TypeScript framework that lets you express agent behavior as code. Use it when you need version control, automated tests, or multi-agent collaboration.
  • Vertex AI Agent Engine is the managed runtime that hosts ADK or LangChain agents. Agent Builder is "where you design," ADK is "where you write code," and Agent Engine is "where it runs in production."

In practice, I reach for ADK + Agent Engine whenever the agent needs to be code-reviewed, tested in CI, or owned by an engineering team. Agent Builder is the right call for prototypes and tools that business users will edit themselves.

✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦If you have shipped an agent on Cloud Run and watched ops collapse as it grew, you'll learn a managed alternative you can apply today
✦You'll consolidate scattered sessions, tools, and tracing into a single Agent Engine runtime
✦You'll come away with concrete production decisions — model selection, Memory Bank usage, scaling — to balance quality and cost
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Gemini Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $15 for lifetime access
View Membership →

Related Articles

⬡ Advanced2026-07-31
After the Vertex AI Rename, I Measured My Search Stack. Ranking Held. Aggregation Did Not.
When Vertex AI became Gemini Enterprise Agent Platform, I benchmarked my own docs search. Ranking barely moved. The exact-match layer quietly lost most of its results without raising a single error.
⬡ Advanced2026-05-28
Three Weeks of Running Gemini 3 Pro and 2.5 Pro Side by Side on Wallpaper Category Classification — An Implementation Memo
Notes from running Gemini 3 Pro and 2.5 Pro in parallel for three weeks on the image classification pipeline of my iOS and Android wallpaper apps — cost, accuracy, and latency observations from an indie developer.
⬡ Advanced2026-04-27
Putting Gemini 2.5 Pro's Million-Token Window to Real Use — A Design Playbook
Gemini 2.5 Pro's million-token window isn't a 'dump everything in' tool. After running it across full-codebase analysis, deep document review, and long-running conversations, here's the design playbook that actually pays off.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links