Updated 10 Oct 2026: Correct retired May Antigravity agent ID and current September ID/Gemini 3.8 Flash default, with October 5 shutdown and migration guidance.

Key details

  1. `antigravity-preview-05-2026` was scheduled for shutdown on October 5, 2026; Google now directs migration to `antigravity-preview-09-2026`.
  2. Current managed-agent documentation says only the September preview ID is supported as a base agent.
  3. The September agent defaults to Gemini 3.8 Flash, with 3.7 Flash and older Flash variants explicitly selectable.
  4. Gemini 3.8 Flash introductory standard API rates are $0.75/1M input and $3.75/1M output tokens through December 31, 2026; standard rates double January 1, 2027.
  5. Environment hooks can run before or after tool calls and can deny actions or run custom validation.
  6. A `max_total_tokens` control can pause an autonomous run when it reaches a defined token budget while preserving state; Google says enforcement is best-effort and can slightly overshoot between checks.
  7. Scheduled triggers can run recurring agent jobs and reuse the same sandbox between executions.
  8. Managed Agents remain in preview and are available to both free-tier and paid-tier Gemini API projects.
  9. The Environments API lets developers inspect and clean up remote sandbox sessions.

What builders should take away

  1. Replace the retired `antigravity-preview-05-2026` identifier with `antigravity-preview-09-2026` and test compatibility.
  2. Explicitly set `agent_config.model` when reproducibility matters; current default is `gemini-3.8-flash`.
  3. Re-run production traces and inspect tool-call behavior, retries, token use, and total job cost.
  4. Re-run your own agent traces before adopting a new default model. Compare task success, retries, tool-call count, wall-clock latency, token use and total job cost rather than assuming a newer default is automatically better for your workflow.
  5. Use hooks for rules that must actually be enforced. Keep security gates, linting and protected-file checks outside the model's discretion.
  6. Set explicit token budgets on long-running jobs before treating them as unattended workers, and leave margin for the documented best-effort budget enforcement.
  7. Treat persistent sandboxes as stateful infrastructure: design for stale files, retries, overlapping runs and cleanup.
  8. Start scheduled agents on bounded, reversible jobs before giving them write access to production systems.

What changed

October 9 update: Google's old `antigravity-preview-05-2026` agent identifier was scheduled for shutdown on October 5, 2026. Current docs direct developers to `antigravity-preview-09-2026`. The new agent defaults to `gemini-3.8-flash` when `agent_config.model` is omitted; Google's current custom-agent documentation says only the September preview ID is supported as `base_agent`. This is a breaking identifier migration, not just another implicit model upgrade. Gemini 3.7 Flash remains an explicitly selectable model alongside 3.6 and 3.5 variants. The current managed-agent platform still supports environment hooks, token budgets, scheduled triggers and persistent sandboxes described below. Google's October 7 Gemini 3.8 Flash documentation also confirms the introductory $0.75 input/$3.75 output per million token rate through December 31, 2026, with $1.50/$7.50 from January 1, 2027.

Historical context: Google originally introduced Managed Agents in May, added background execution and remote MCP in July, and subsequently introduced hooks, token budgets, scheduled triggers and model-default changes during the 05-preview period.

Why it matters

The practical new boundary is compatibility: code that hard-codes the retired May Antigravity agent identifier needs migration to the September ID. Builders should explicitly pin `agent_config.model` for reproducibility, test tool and sandbox behavior against the new runtime, and verify pricing and token usage. A platform-controlled default can change while your application code remains untouched, and now the agent identifier itself has a retirement lifecycle.

The original operational story still matters: environment hooks, budgets and schedules make Managed Agents closer to persistent workers than simple chatbot requests, but production teams need to treat those managed components as versioned dependencies.

Hooks are the most useful addition

Environment hooks can run custom commands or HTTP handlers before or after tool execution inside the managed sandbox. A pre-tool hook can deny a write or code-execution action, while a post-tool hook can lint, inspect or audit what the agent just produced.

That matters because prompt instructions are not the same thing as enforcement. Telling an agent not to edit a protected file is weaker than placing a deterministic gate in front of the write operation. Hooks give teams a place to attach existing policy, security and quality checks without trying to teach every rule to the model.

Token budgets finally put a ceiling on autonomous loops

Managed agents can be given a `max_total_tokens` budget covering input, output and thinking tokens. When a run reaches that limit, execution returns incomplete while preserving its environment and context so the developer can inspect or continue it with a fresh budget. Google notes that the limit is best-effort and actual usage can slightly exceed it between budget checks.

This is a small control with a large practical effect. Autonomous agents can take unexpected paths, repeat failed approaches or spend far more than a short interactive prompt. A hard budget makes cost part of the runtime contract rather than something discovered after the invoice arrives.

Scheduled triggers move the product toward persistent workers

Google has also added scheduled triggers that bind an agent, prompt, environment and cron schedule together. Runs reuse the same sandbox, so files can persist between executions.

That makes Managed Agents relevant to recurring jobs such as dependency audits, periodic research, repository maintenance or report generation. Builders should still think carefully about idempotency, stale state and what happens when one scheduled run overlaps another, but the platform is clearly moving beyond request-response agents.

The May agent ID has retired; September ID defaults to Gemini 3.8 Flash

Google's legacy `antigravity-preview-05-2026` documentation explicitly says the identifier was scheduled to shut down October 5, 2026 and directs migration to `antigravity-preview-09-2026`. The current managed-agent guide supports only that September ID as a base agent and defaults to `gemini-3.8-flash`. Explicit choices still include Gemini 3.7 Flash, 3.6 Flash, 3.5 Flash and 3.5 Flash-Lite. Do not assume an agent-ID replacement preserves behavior, tool permissions or state without tests; pin the underlying model where reproducibility matters.

Gemini 3.8 Flash shares the introductory token rate, not necessarily job cost

Google lists Gemini 3.8 Flash at $0.75 per million input tokens and $3.75 per million output tokens through December 31, 2026, with standard pricing of $1.50/$7.50 from January 1, 2027. The published introductory rates match those of 3.7 and 3.6 Flash, but a newer model may use more reasoning tokens, tool calls or retries, so teams should measure end-to-end task costs rather than assume unchanged invoices.

Timeline

2026-05-19

Google launches Managed Agents

The Gemini API gains a managed Antigravity agent running in an isolated Linux environment.
2026-07-07

Background work and remote MCP arrive

Google adds background execution, remote MCP support, custom functions and credential refresh.
2026-07-28

Budgets, hooks and schedules make the runtime more operational

Managed Agents switch to Gemini 3.6 Flash by default and gain environment hooks, token budgets, scheduled triggers and free-tier access.
2026-08-13

Gemini 3.7 Flash becomes the managed-agent default

Google's updated Antigravity Agent documentation says `antigravity-preview-05-2026` now defaults to Gemini 3.7 Flash when no model is explicitly selected; 3.6 Flash remains supported.
2026-12-31

Promotional Flash pricing ends

Google's published promotional standard rate for Gemini 3.7 Flash and 3.6 Flash runs through this date.
2027-01-01

Published standard Flash pricing doubles

Google lists $1.50/1M input tokens and $7.50/1M output tokens for Gemini 3.7 Flash and 3.6 Flash starting on this date.
2026-10-05

Old Antigravity preview ID reaches shutdown deadline

Google's old May preview identifier is deprecated with an October 5 shutdown date; migration target is antigravity-preview-09-2026.
2026-10-07

Gemini 3.8 Flash confirmed as Managed Agents default

Google's latest-model and custom-agent docs identify Gemini 3.8 Flash as the default for the September Antigravity agent.

What to watch next

  • Whether Google formally confirms shutdown enforcement across all existing May-ID integrations.
  • Whether the September preview agent gains a stable versioned contract or further deprecation schedule.
  • Whether default-model changes alter measured task success, latency and token consumption.
  • How hooks, budgets and scheduled runs behave across agent ID migrations.
  • Published standard Gemini 3.8 Flash pricing after December 31, 2026.

Still unclear

  • Google's launch material and current documentation demonstrate the controls, but there is still not enough public production data to judge reliability across large numbers of long-running scheduled agents.
  • Persistent environments reduce setup work but also create operational questions around stale state, secrets and cleanup that each application still has to design for.
  • Equal per-token pricing does not imply equal end-to-end job cost: Gemini 3.7 Flash may use a different mix of reasoning tokens, tool calls and retries than 3.6 Flash on a given workload.
  • The Antigravity Agent and Interactions API remain in preview, and Google explicitly notes that features and schemas may change.
  • Google's docs announce the October 5 shutdown deadline, but this review did not independently test live calls to the retired identifier.

Sources

Direct reading behind this dossier.

9 sources
Antigravity Agent
Google AI for Developers Official documentation

Current managed-agent documentation. It states that `antigravity-preview-05-2026` is powered by and defaults to Gemini 3.7 Flash, lists supported model choices, preview status, budget semantics, triggers and availability.

Gemini Developer API pricing
Google AI for Developers Official pricing documentation

Current token pricing for Gemini 3.7 Flash and 3.6 Flash, including promotional rates through December 31, 2026 and published rates from January 1, 2027.

Introducing Gemini 3.7 Flash
Google Primary model announcement

Primary launch announcement for Gemini 3.7 Flash and its positioning for coding and agent workflows.

Building managed agents
Google AI for Developers Official documentation

Only September agent ID supported; Gemini 3.8 Flash default and supported explicit model choices.

What's new in Gemini 3.8 Flash
Google AI for Developers Official documentation

Current managed-agent default, model pricing and migration context.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment