Antigravity vs Codex CLI After Six Months in Production — Measured Comparison from Running Six Sites in Parallel
I ran Antigravity and OpenAI's Codex CLI in parallel for six months across six auto-publishing pipelines at Dolice. This is the measured comparison — not benchmark numbers, but the real decision axes that mattered: concurrency, fix cost, recovery behavior, and monthly bill — with the production data behind each.
Picking between Antigravity and OpenAI's Codex CLI is, in my circles at least, the central agent-selection question of 2026. Benchmark comparisons are everywhere. What I actually wanted to know was different: what happens if you run both for six months on real projects?
I do, as an indie developer at Dolice. Six auto-publishing pipelines across the four AI labs and two long-running content sites (Claude Lab, Gemini Lab, Antigravity Lab, Rork Lab, Lacrima, Mystery). For the past six months I have run Antigravity on some repositories and Codex CLI on others, swapping monthly to see the same task handled by both. This is what came out.
The short version: there is a clear "pick one" axis, and there is a clear "use both" pattern. The article walks through both.
The four repositories and the conditions
Site A: Next.js 16 + Cloudflare Workers (one of the AI labs) — TypeScript, ~45,000 lines
Site D: app-business API backend (PHP/JSON delivery) — PHP ~8,000 lines
December 2025 through May 2026. Sites A and C primarily on Antigravity, B and D primarily on Codex CLI, with one swap per month so the same agent saw every repository at least a few times. Repository size, task type, and human-intervention rate kept roughly comparable.
Four indicators I measured
I avoided benchmark-shaped metrics on purpose. I wanted what running them feels like, not pass/fail on synthetic tests:
Task completion rate: I asked for a PR; did I actually get one I could review?
Fix cost per PR: how many human edits did I have to make to land it?
Recovery on failure: when something timed out or errored, how often did the agent recover itself?
Monthly operating cost: actual dollars charged (subscription + API)
Codex CLI wins task completion by 5 points and PR cleanliness by ~40%. Antigravity wins recovery rate and long-task stability — its planning step seems to act like a self-checking layer that keeps it from going off the rails on multi-step refactors.
✦
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
✦See measured numbers from six months of real-project parallel runs: task completion rate, edit-lines-per-PR, self-recovery rate, and monthly cost — laid out side by side
✦Adopt the decision flowchart for the 'pick one' situation, based on average task length, cost-shape preference, and team size
✦Take home the shared MCP server design that lets the two agents share tools so you can swap or run both — with the exact tool inventory I run on a single Cloudflare Worker
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.
The single biggest lived difference was practical concurrency. Antigravity's manager view runs multiple agents, but past 4 in parallel, I started seeing "agents that cannot resolve their own merge conflicts" pile up. Codex CLI as a background batch held steady at 6.
That changes how I structure the pipeline, not just how many tasks I dispatch:
// pipeline-orchestrator.ts excerpt// per-agent concurrency caps based on six months of observationconst AGENT_CONCURRENCY = { antigravity: { max: 4, suitableFor: ["frontend-refactor", "schema-migration", "long-running"], }, codex_cli: { max: 6, suitableFor: ["batch-edit", "test-generation", "lint-fix"], },} as const;function assignAgent(task: PipelineTask): AgentType { if (task.estimatedDurationMin > 20) return "antigravity"; if (task.parallelizable && task.batchSize > 4) return "codex_cli"; if (task.requiresPlanning) return "antigravity"; return "codex_cli";}
In my live pipeline this maps cleanly: front-end refactors and schema migrations to Antigravity; mass dependency bumps, lint autofix, and test-scaffolding to Codex CLI.
Behavior on a deliberately broken repo
I broke four repositories on purpose and watched both agents try to recover:
① a critical file is 0 bytes (simulating a failed previous edit)
② package.json has contradictory dependency versions
③ 50+ TypeScript type errors
④ unresolved merge conflict markers in the tree
| Break | Antigravity | Codex CLI |
|---------------------|----------------------------------------------|----------------------------------------|
| ① empty file | planning tries to restore from git history | reconstructs from git log, often wrong |
| ② dep conflict | proposes peer-dependency fix automatically | stops, asks human to resolve |
| ③ 50+ type errors | works step by step, holds up over long tasks | parallelizes fixes, but regresses more |
| ④ merge conflict | reads conflict markers, proposes resolution | tends to skip conflicted regions |
The takeaway I now apply: dependency-shaped breakage → Antigravity; mass lint/test mechanical work → Codex CLI.
Cost shape, not cost level
The two have very different cost shapes, which matters more than the absolute level:
Antigravity ($40 flat):
- 6 sites at 4-way parallelism, same monthly cost regardless of intensity
- Predictability is the win
Codex CLI ($50–$70 usage):
- Quiet month: $42
- Heavy month: $68 (when a big refactor lands)
- Bursts when you batch
I lean toward Antigravity for the steady-state site operations (the budget is the budget), and reach for Codex CLI when I have a once- or twice-yearly big push where usage-billing is fine because the burst is real.
Sharing a single MCP server across both
If you use both, a shared MCP server is what makes the comparison fair and the swap painless. In my pipeline:
I run this on one Cloudflare Worker for under $5/month. Both agents see the same tools, so the difference I measure between them is actually about the agents — not about tooling friction.
How to pick if you only get one
Three axes that have held up across these six months:
First: average task length on your codebase. If a typical task runs over 20 minutes — Antigravity. If most of your work is 5–15 minute slices — Codex CLI. My Site A (front-end refactors) is the first kind; Site D (small PHP edits) is the second.
Second: how you want the bill to look. Flat monthly budget you can defend without spreadsheets → Antigravity. Usage-based that scales with bursts → Codex CLI.
Third: team size. As a solo developer juggling many repositories, Antigravity's planning loop acts like a substitute human reviewer, which matters a lot when there is no actual second reviewer. With a real team, Codex CLI's higher parallelism starts paying off because there are humans to absorb its rougher edges.
After six months, I'm convinced the right framing is not "which one is better" but "which one fits the operating pattern you already have". I hope sharing the measured comparison helps anyone else trying to make this call.
Share
Thank You for Reading
Antigravity 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.