Products & Tools

Google’s agentic coding rules put verification before autonomy

Google’s Antigravity framework uses external tests, one-retry gates, hard budgets and human sign-off to keep long-running coding agents reliable across 20-step chains.

Google sets out rules for reliable agentic coding loops
Google sets out rules for reliable agentic coding loopsPexels / pixabay
By Marcus Bennett6 min read

Why it matters

  • Google’s November 24, 2026 framework divides software work into five levels, ending with a continuous system.
  • With no outside check, a 95%-accurate model completes 20 file modifications at only 36% success.
  • A verification gate with one targeted retry raises effective per-step success to 99.75% and the 20-step rate to 95%.
  • Google’s sample Antigravity loop caps one session at 20 model calls and 200,000 tokens, then permits one retry.
  • A second failed verification stops that sample loop and returns the task to a human.

A coding model with 95% accuracy at each step has only a 36% success rate across 20 consecutive file modifications without outside verification, according to Google’s framework for agentic coding loops.

Google’s November 24, 2026 framework focuses on Antigravity, its development environment for agentic software work. It defines the central problem as supervision: models execute software tasks, while tests, evaluations, retry limits and budgets determine whether those tasks can proceed.

For developers moving from interactive coding to unattended automation, the stakes are the reliability of a chain, not the quality of one answer. Google argues that a supervised control system matters more than the model inside it because the leading model can change quickly.

What changes in Google’s approach?

Google describes a move away from one-off prompts and toward longer-running automated workflows. Its argument is direct: in multi-step coding systems, the structure around a model matters more than the model itself.

Google divides software work into five levels:

  • A simple question.
  • A single task.
  • A larger feature.
  • A project.
  • A continuous system.

For the smaller jobs, Google says one prompt may be enough. For features and projects, developers should define specifications, plans and executable tests before starting an autonomous loop.

The distinction sets the control requirements by task size. At the larger levels, Google shifts the unit of design from a prompt to a specification, a plan and a test that can decide whether the work passes.

Why does verification change the 20-step math?

Google uses a theoretical example to make the reliability case. A model with 95% per-step accuracy completes 20 consecutive file modifications at only 36% success when no outside check intervenes.

Add a verification gate (an independent pass-or-fail test) with one targeted retry, and the example raises effective per-step probability to 99.75%. Across the same 20-step chain, end-to-end success reaches 95%.

In Google’s argument, that gap between 36% and 95% shows why long-running agents need verification at each step. Errors compound even when the underlying model performs well on most individual actions.

Google recommends tools outside the model for those checks:

  • Compilers.
  • Test suites.
  • Linters.

Verification stays external. These tools can provide deterministic outcomes, meaning the same input produces the same pass-or-fail result.

Where deterministic testing is not possible, Google recommends evaluation methods that reduce answers to clear pass-or-fail outcomes. Google also warns against allowing an agent to retry indefinitely after failure.

Retries remain bounded. Google’s protocol identifies the error, allows one specific retry and then returns the task to a human if the problem remains unresolved.

Which guardrails does Google require?

Google’s design puts five control points around model execution:

  • Durable state, stored through Git-backed checkpoints (saved repository states).
  • Verification gates that prevent code from passing by deleting or weakening tests.
  • Evaluation benchmarks for non-deterministic issues, where outputs are not fully repeatable.
  • Halt conditions based on turns and cost.
  • Standardized instructions loaded from project files.

Durable state gives a long-running loop a place to resume. Google says AGENTS.md and SKILL.md can encode project rules and reusable utilities, allowing lessons from previous failures to carry into later sessions.

A new agent run may begin with no memory of earlier context. Google says project files let those lessons survive that reset, so operating constraints do not depend on conversational memory alone.

Google argues that these controls form the durable part of AI-assisted engineering. Model leadership can change quickly; the lasting asset is the harness (the scaffolding that invokes, monitors and corrects a model).

What does Antigravity already automate?

Within Antigravity, Google has built some patterns into two commands:

  • /goal supports multi-turn autonomous execution, meaning a task can continue across more than one model turn.
  • /grill-me establishes design constraints, invariants (rules that must remain true) and tests before the loop starts.

These commands reflect a broader move by platform providers to absorb workflows that developers previously assembled with custom scripts.

Google describes earlier approaches as stateless command-line loops: prompts were piped repeatedly into agents, and context was reset after every cycle. Durable state lived in Git history, progress files and test suites.

Google says those lightweight loops demonstrated demand for unattended coding automation. They also become fragile when a task spans multiple files or needs sustained coordination across sub-agents (separate agents assigned different parts of the work).

Google’s design therefore places Git-backed state, project instructions and verification ahead of autonomy. The control layer determines whether an agent continues after failure, rather than merely whether it produces another response.

What does Google’s sample loop contain?

Google’s Antigravity software development kit includes an experimental custom supervisory loop. One sub-agent searches the codebase, another implements the change, and the supervisor checks the result by running a real test suite outside the model.

The sample applies a strict session budget of 20 model calls and 200,000 tokens. It permits one retry after failed verification. If that retry also fails, the loop stops and a human takes over.

Google says model choice should vary by task. Its example assigns:

  • Orchestration and implementation to Gemini 4 Carbon.
  • Codebase search to Gemini 4 Hydrogen.
  • Verification to deterministic scripts that consume no tokens.

The division keeps verification independent of the language model while assigning search and implementation to separate models. It also makes the operating ceiling explicit: 20 calls and 200,000 tokens per session.

Google presents this setup as an experimental starting point rather than a finished template. For developers who do not want to build and host their own loop infrastructure, Google points to Antigravity Agent.

Antigravity Agent runs in an isolated Google Cloud sandbox. The managed service therefore offers the execution environment without requiring a self-hosted loop, according to Google.

Where does human control remain?

Despite the emphasis on automation, Google requires every validation system to have a defined boundary that leaves a person in control of the final output. The responsible human must still be able to sign off on the result.

“No matter how perfect your loop, if you, as the responsible human, cannot sign off on your agent's output, there is minimal value in any of the artifacts it is producing,” Google said.

Google argues that a well-designed loop has little value if the responsible person cannot approve its artifacts. Teams also need to observe the systems closely, identify where agents struggle and improve the process step by step.

Google does not advocate handing over whole layers of software work at once. Its guidance is incremental: retain the human boundary, learn from failures and improve the harness before expanding the scope of delegation.

The next test for Google’s framework is practical: teams will need to show that its independent checks, explicit limits and human handoff remain effective as workflows grow beyond the 20-step example.

Source: itbrief.com.au

Share this article:

More from Marcus Bennett

Marcus Bennett

Show full bio

Senior reporter covering companies, deals and strategy in artificial intelligence and machine learning at AI In Context.

872 articles

Related articles

  1. Google now runs six automated gates, including an AI reviewer, on every agent skill
  2. Google Cloud ships new security tools for autonomous AI agents
  3. Google Open-Sources Harness²: Framework That Improves Agents Without Touching Model Weights
  4. Google Cloud sets out five lessons for putting AI agents to work
  5. AI Agents Cheat on Their Own Tests, Benchmark Shows

« Previous articleNext article »