Coding Agents · [ 3 min read ]
Google's agentic coding math: 95% per step becomes 36% by step 20
Google's Antigravity framework shows a 95%-accurate model finishes a 20-step chain only 36% of the time without verification gates, and prescribes budgets, retries and human sign-off.
Key findings
- Google published its agentic coding loop framework for Antigravity on November 24, 2026.
- A model at 95% per-step accuracy completes a 20-step chain only 36% of the time without verification; a gate with one retry raises it to 95%.
- The SDK reference loop caps sessions at 20 model calls and 200,000 tokens, with a single retry before human takeover.
- Example model split: Gemini 4 Carbon for orchestration and implementation, Gemini 4 Hydrogen for codebase search, token-free scripts for verification.
- Antigravity Agent offers a managed alternative running in an isolated Google Cloud sandbox.

A 95%-accurate model completes a 20-step file-editing chain just 36% of the time. That single piece of arithmetic anchors Google's new framework for agentic coding loops in its Antigravity development environment, published November 24.
The pitch is a shift in engineering posture. Stop writing prompts for single tasks, Google argues, and start designing systems that supervise model behaviour. One verification gate with a single targeted retry raises effective per-step probability to 99.75%, and the same 20-step chain to 95% end-to-end. The math is theoretical. It's also the strongest argument in the document.
What does the framework actually prescribe?
Google tiers software work into five levels: a simple question, a single task, a larger feature, a project, and a continuous system. Small jobs need one prompt. Larger stories and projects need specifications, plans and executable tests written before any autonomous loop starts.
The control points are concrete:
- Durable state stored through Git-backed checkpoints
- Verification gates that block code passing by deleting or weakening tests
- Evaluation benchmarks for non-deterministic issues, reduced to pass-or-fail outcomes
- Halt conditions based on turns and cost
- Standardised instructions loaded from project files such as AGENTS.md and SKILL.md
Those instruction files persist across sessions. Lessons from previous failures carry into later runs even when the model starts with no memory of earlier context.
Google's structural claim deserves scrutiny, though it holds up: the harness matters more than the model, because model leadership changes fast and the governing loop is the durable asset. What Google doesn't say is how much tuning that harness costs before it stops burning tokens on retries.
How does Antigravity implement it?
Some patterns ship as built-in commands. /goal runs multi-turn autonomous execution. /grill-me establishes design constraints, invariants and tests before the loop starts. This absorbs what developers previously assembled as custom scripts — stateless command-line loops that piped prompts into agents and reset context every cycle, keeping state in Git history, progress files and test suites.
Those lightweight loops proved demand for unattended coding, Google concedes. They also fall apart when tasks span multiple files or require coordination across sub-agents.
The reference SDK example delegates codebase search to one sub-agent and implementation to another, then verifies by running a real test suite outside the model. Budgets are strict: 20 model calls and 200,000 tokens per session, one retry after failed verification, then a human takes over. Model choice varies by task — Gemini 4 Carbon for orchestration and implementation, Gemini 4 Hydrogen for codebase search, deterministic scripts for verification, consuming no tokens at all.
Google calls this an experimental starting point, not a finished template. For teams that don't want to host their own loop infrastructure, Antigravity Agent runs in an isolated Google Cloud sandbox.
Where does the human stay in the loop?
At the boundary, says Google — firmly. Every validation system needs a defined limit that keeps a person in control of final output, and teams should improve the process step by step rather than handing over whole layers of work at once.
"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.
That's the right caveat, and it comes from the vendor selling the automation. The framework is worth reading for the retry math alone. The rest is disciplined engineering hygiene dressed in new vocabulary — which, to be fair, is exactly what agentic coding needs.
Google News: agentic coding (Source)
More from Priya Raman
Show full bio
Staff writer covering technology and product news in AI-coding movement at Vibe Coder.
26 articles