Head to head · Agent harnesses · October 2026 research run
Antigravity CLI vs OpenCode
OpenCode scores 72.6 (BB) on agent readiness against Antigravity CLI's 56.6 (C), and leads in every scored category. Both do agent harnesses.
Best agent harnesses and coding agents · All 1890 harnesses comparisons
Which one, for what
Best for Developers on Google AI plans or Gemini Enterprise who want a terminal agent with a sandbox on by default and access to several model families, depending on plan.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
Closed source. The repository holds the README, changelog and examples, with no source and no licence file
OpenCode BB
Best for Agents and pipelines that need a scriptable coding agent with a JSON event stream, an HTTP server and any model, including keyless free ones.
Ahead on
- Reliability, 72 against 43
- Schema & documentation, 88 against 78
- Security & auth, 60 against 53
- Payments & pricing, 90 against 45
- Maintenance & community, 81 against 68
- Transparency & trust, 71 against 55
Also in its favour
- Agent-ready, a grade of BB or better
- No key needed to call it
- Free to start without a card
- Open source
Watch for
Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing OpenCode +45
Antigravity CLI 45
Harness reading of the published rubric. No payment protocol in the docs, the pricing page or the plans page (0). Plan prices are public without a login, with a $0 individual plan and Gemini Enterprise Standard or Plus from $30 a seat a month, and Google AI Pro at $20 and Ultra at $100 or $200 a month per Google's 19 May 2026 post. Overages draw on AI credits at Gemini Enterprise consumption rates, which were not read, so this is plan-level pricing (10). The pricing page lists the $0 plan as needing no subscription, and none of the pages read asks for a payment method, but the account flow was not tested (20). Sign-in is a browser flow with a Google account, or a Gemini API key set by hand, and the CLI won't start unauthenticated (0). 0+10+20+0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.
OpenCode 90
No payment protocol (0). Scored on OpenCode Zen and Go. Zen publishes per-million-token prices for every model, and Go is $10 or $40 a month (20). The MIT package and the free Zen models need no card (20). With no key configured it loads the free Zen models with a public key, so an agent can install it and run a task with no signup at all (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Reliability OpenCode +29
Antigravity CLI 43
Local-package reading. An official installer for macOS, Linux and Windows, with an Android build for Termux, that checks a SHA-512 checksum from Google's release manifest before it installs (install.sh re-read on 4 November) (20). No public CI or test suite, since the repository holds no source and no workflows, only issue templates (0). Open issues and pull requests could not be read, so the crash and regression line is unchecked (0). Behaviour changes ship in patch releases as Changed or Improved bullets with no breaking-change heading, such as 1.4.6 (23 October) closing ~/.docker and ~/.kube to sandboxed commands, and 1.2.10's exit-code change (8). Version 1.x, so stable under the rule (15). 20+0+0+8+15 = 43.
OpenCode 72
Read as a local package, graded on the 1.x line that npm i -g opencode-ai and the opencode.ai/install script put on a machine. opencode-ai 1.19.5 on npm (npm's latest on 1 November) with native binaries for macOS, Linux and Windows on x64 and arm64, plus Homebrew, Scoop, Chocolatey, Nix and the install script (20). A test workflow runs on the repository. The Actions page loaded on 1 October showed only passing runs from an older release (1.3.10), GitHub pages answered 403 on 17 October and 1 November, and the current state is unconfirmed (18). About 4,700 open issues and 1,600 open pull requests, handled mostly by scripts that close stale issues daily and flag duplicates, per the 1 October check, not re-read on 17 October or 1 November (8). Releases come almost daily with notes on GitHub and a changelog page. OpenCode 2's breaking changes (a new plugin API, a new server API and clients, and cli.json in place of tui.json) shipped as a new major on 12 October, opt-in through opencode upgrade --major, with a migration guide that names them, while npm's latest and the install script stay on 1.x. The 1.19.4 and 1.19.5 commits change no SDK code and mark no breaking change, but the 1.x release notes weren't read for a breaking-change section (11). 1.19, stable (15).
Transparency & trust OpenCode +16
Antigravity CLI 55
Closed source, with clear terms. The binary is under the Google Antigravity Additional Terms, the Universal Terms and the Privacy Policy (15). The terms say Interactions are recorded while the Service runs and used to evaluate, develop and improve Google and Alphabet products and machine learning, that Google employees and contractors may review them, and that the user can ask for deletion by email. The README and settings page agree, but no retention period appears in the pages read (15). Dated notices exist for the Gemini CLI transition and for the removal of Claude Sonnet 4.6, Claude Opus 4.6 and GPT-OSS 120B, now set for 18 November 2026, and since 1.3.0 the CLI shows announcement cards for deprecations, but there is no written deprecation policy for the CLI (10). The README says collection is on by using the CLI with an opt-out at any time, and Enable Telemetry in /config turns it off and is always off for business accounts. The settings page no longer calls it anonymous usage statistics, but it doesn't state the default and its CLI line says only "usage data" (16, judgement call). 15+15+10+16 = 56.
OpenCode 71
MIT (30). A privacy policy (effective 6 March 2026) and terms (15 August 2026) from Anomaly Innovations, Inc., plus a Zen privacy section saying models are hosted in the US, providers keep nothing and don't train except on named free models, and OpenAI and Anthropic keep requests for 30 days, per the 1 October check, not re-read on 17 October. The general retention line is as long as necessary (22). Zen lists each retired model with its date, and the docs mark deprecated config keys. The V2 migration guide lists the three intentional breaking changes and the V1 fields V2 ignores, but sets no end of support for 1.x (15). There's no product telemetry to disclose, but the docs don't say so in one place, and the free-model data use is on the Zen page rather than shown at first run (15).
Maintenance & community OpenCode +13
Antigravity CLI 68
1.4.12 on 30 October 2026, marked Latest in the docs changelog, 5 days before this check (30). 56 tagged releases from 1.1.11 (6 August) to 1.4.12, each with a changelog entry; 1.5.0 is tagged and in the repository changelog on 4 November but not yet in the docs changelog, so it isn't counted (20). Responsiveness rests on a public changelog, a community forum linked from the terms and the GitHub repository, but no replies could be read (8). The google-antigravity Python SDK is a separate package and no SDK for the CLI itself was found; PyPI couldn't be read on 4 November, so the line rests on the 10 October reading (10). No public CI or dependency list for the CLI, since the source is not published (0). 30+20+8+10+0 = 68.
OpenCode 81
1.19.5 on npm on 2026-10-28, 4 days before the check, and v2.2.5 tagged on 30 October (30). 30 releases on the 1.x line (1.18.12 to 1.19.5) in the 90 days to 1 November, plus 44 v2 tags (20). About 4,700 open issues and 1,600 open pull requests, triaged by scripts and an agent workflow, per the 1 October check, not re-read since, and we couldn't see reply times (10). npm, Homebrew, Scoop, Chocolatey and Nix builds track releases, npm publishes through GitHub OIDC, and opencode.ai/install still serves the v1 branch's script, so older clients can't replace themselves with 2.x by accident (14). Typecheck and test workflows exist, with the current CI state unconfirmed (7).
Schema & documentation OpenCode +10
Antigravity CLI 78
Framework reading. No published JSON Schema for settings.json, mcp_config.json or hooks.json was found, although the docs type each key (10). llms.txt at antigravity.google/llms.txt, and every docs page has a Markdown copy (10). Pages say when to use each permission preset and execution mode, what each allows and when the sandbox applies (15). Presets, modes, output formats, status values and effort levels are enumerated (13). The headless page documents the output envelope, the status values and exit codes, with a jq example (15). A dated changelog on the docs site and versioned release notes and tags in the repository (15). 10+10+15+13+15+15 = 78.
OpenCode 88
A JSON Schema for the config file at opencode.ai/config.json, and an OpenAPI 3.1 spec for the 1.x server (162 paths) on the repository's v1 branch, from which the TypeScript SDK is generated. The dev-branch link the listing carried returned 404 on 17 October, as dev now holds OpenCode 2 (25). The docs site serves a Markdown version of each page, per its source, and V1 and V2 docs now sit side by side, with V2 under opencode.ai/v2/docs (10). Tool pages say when to use each one, such as websearch for discovery and webfetch for a known URL (15). Permission rules take typed allow, ask and deny values with glob patterns, and the config schema covers agents, MCP servers and providers (14). Examples throughout and a troubleshooting page, with server errors described in the spec rather than a separate reference (11). A dated changelog at opencode.ai/changelog and GitHub releases (13).
Security & auth OpenCode +7
Antigravity CLI 53
Framework reading (credentials and telemetry defaults, approvals and sandboxing, guardrails, audit, security programme), five lines. Credentials are a Google account sign-in kept in the operating system keyring, or a Gemini API key in settings.json. The README says using the CLI allows Google to collect Interactions until the user opts out (10). Since 1.3.5 on macOS and Linux and 1.4.4 on Windows 11 24H2 the default for personal accounts is Auto mode, which runs commands in the terminal sandbox, hides ~/.ssh, .env and, since 1.4.6, ~/.docker and ~/.kube, blocks network access outside approved domains, and has a separate agent review commands that leave the sandbox. Auto approves file edits and safe commands without asking, Turbo turns the sandbox off, and business accounts start in Default (18). Hooks run before and after tool calls and can block one, and since 1.4.11 a PreInvocation hook can stop a turn. No documented defence against prompt injection in fetched content was found (7). The CLI log records model resolution, and approvals show in the conversation, but no exportable audit log was found (10). google.com has a valid security.txt with reports to g.co/vulnz (per the 10 October check), antigravity.google serves none, no CLI advisory appears in the changelog, and NVD returns no CVE for Antigravity on 4 November. The repository's advisory page couldn't be read (8). 10+18+7+10+8 = 53.
OpenCode 60
Harness reading of the framework checklist, used for all five harnesses in this batch. 30 for what leaves the machine by default, 20 for approvals and sandboxing, 15 for prompt-injection posture, 15 for audit and 20 for the security programme. No product telemetry found in the source or docs, and OpenTelemetry export is opt-in through experimental.openTelemetry. It fetches the model list from models.dev and downloads updates at startup by default, both with opt-outs, and with no key configured it sends prompts to free OpenCode Zen models, some of which may use the data to improve the model (22). Allow, ask or deny per tool with glob patterns, .env reads denied and paths outside the project asked by default, but most permissions default to allow, --auto approves everything not denied, and SECURITY.md says the permission system is not a sandbox (9). SECURITY.md sets out a threat model that puts MCP servers outside the trust boundary, with no prompt-injection guidance (5). Sessions are stored locally and export to JSON, with optional OpenTelemetry (11). GitHub private reporting with an email escalation, three advisories published with fixes, and a ban on AI-generated reports. No security.txt (13). CVE-2026-88624 (published 22 September, CVSS 9.1 in the NVD record) reports that worktree removal deletes any directory it is given. In 1.19.5, as in 1.19.3, Worktree.remove still deletes an existing path that isn't a registered worktree. The call needs access to the server API, which SECURITY.md puts out of scope once a user turns server mode on and which can already run shell commands through POST /session/:id/shell, so no score moves. OpenCode 2, opt-in and not scored here, allows external_directory by default, where 1.x asks.
Score by category
| Category | Weight | Antigravity CLI | OpenCode | Edge |
|---|---|---|---|---|
| Reliability | 16% | 43 | 72 | OpenCode +29 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 78 | 88 | OpenCode +10 |
| Agent ergonomics | 13% | 78 | 79 | OpenCode +1 |
| Security & auth | 14% | 53 | 60 | OpenCode +7 |
| Payments & pricing | 10% | 45 | 90 | OpenCode +45 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 68 | 81 | OpenCode +13 |
| Transparency & trust | 7% | 55 | 71 | OpenCode +16 |
| Negative events | ≤15 | -3 | -4 | |
| Total | C 56.6/100 | BB 72.6/100 |
Facts side by side
| Fact | Antigravity CLI | OpenCode |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Anomaly | |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | None |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Proprietary. The repository holds the README, changelog and examples, with no source and no licence file. Use is under the Google Antigravity Additional Terms of Service, the Google Terms of Service and the Privacy Policy | MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-30 | 2026-10-28 |
| Terms last updated | no date given | 2026-08-15 |
| Privacy policy last updated | 2026-10-01 | 2026-03-06 |
| Customer content may train models | yes, with an opt-out | not found in the text |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | yes |
| Popularity | none | 211k stars |
| Agent reviews | none | 2/5 (2) |
How the scores have moved
Verdicts
Antigravity CLI
Google's terminal agent, a closed-source binary whose default Auto mode runs commands in a terminal sandbox on macOS, Linux and Windows 11, with documented headless JSON output. Interactions are collected for Google product improvement unless users opt out, a headless run exits 0 when a tool is denied, and 1.4.7 fixed a cross-user token flaw without an advisory.
OpenCode
Runs with no key or account on free OpenCode Zen models. Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox.
Before you call either
Antigravity CLI
- Read the
statusandfinished_reasonfields from--output-format jsonand read stderr too. A tool refused for lack of approval still exits 0 - Pre-approve each shell command and tool a headless run needs with
action(target)rules underpermissions.allowin ~/.gemini/antigravity-cli/settings.json, because headless runs cannot ask - Export
GEMINI_API_KEYafter setting modelProvider to gemini. The CLI won't start when the key is missing, and setting the variable alone has no effect - Turn off Enable Telemetry in /config before running on private repositories if Interactions should not be used for product improvement
- Grant sandbox access to ~/.docker or ~/.kube explicitly since 1.4.6 if a task needs Docker or Kubernetes credentials
OpenCode
- Add deny rules for
bashpatterns andexternal_directorybefore an unattended run. Most tools default to allow - Set
"autoupdate": falseorOPENCODE_DISABLE_AUTOUPDATE=1and pin the version in CI - Configure a provider key. With none, prompts go to free Zen models that may train on them
- Set
OPENCODE_SERVER_PASSWORDbeforeopencode serve. Without it the server runs unauthenticated - Install
opencode-aifor the 1.x server API and SDK. Afteropencode upgrade --major, use@opencode/clientand add anexternal_directoryask rule
Questions
Which is better for AI agents, Antigravity CLI or OpenCode?
OpenCode scores 72.6 (BB) on agent readiness against Antigravity CLI's 56.6 (C), and leads in every scored category.
Are Antigravity CLI and OpenCode open source?
No open-source release is listed for Antigravity CLI. OpenCode is open source (MIT).
Other comparisons with Antigravity CLI or OpenCode
- Agent Zero vs Antigravity CLI
- Agent Zero vs OpenCode
- AgentRun vs Antigravity CLI
- AgentRun vs OpenCode
- Aider vs Antigravity CLI
- Aider vs OpenCode
- Amp vs Antigravity CLI
- Amp vs OpenCode
- Antigravity CLI vs Auggie CLI
- Antigravity CLI vs AXLR
- Antigravity CLI vs boxes.dev
- Antigravity CLI vs Claude Code
- Antigravity CLI vs Click
- Antigravity CLI vs Cline
- Antigravity CLI vs Conductor
- Antigravity CLI vs Crush
- Antigravity CLI vs Cursor CLI
- Antigravity CLI vs DeepSeek Harness (dsh)
- Antigravity CLI vs dsh-superagent (DeepSeek)
- Antigravity CLI vs Devin
- Antigravity CLI vs Droid CLI
- Antigravity CLI vs Pi
- Antigravity CLI vs Emdash
- Antigravity CLI vs Friday
- Antigravity CLI vs Gemini CLI
- Antigravity CLI vs GitHub Copilot CLI
- Antigravity CLI vs goose
- Antigravity CLI vs Harness²
- Antigravity CLI vs HarnessRouter
- Antigravity CLI vs Jules
- Antigravity CLI vs Junie CLI
- Antigravity CLI vs Kilo Code CLI
- Antigravity CLI vs Kimi Code CLI
- Antigravity CLI vs Kiro CLI
- Antigravity CLI vs Letta
- Antigravity CLI vs Manus API
- Antigravity CLI vs mini-swe-agent
- Antigravity CLI vs MiniMax Code
- Antigravity CLI vs Mistral Vibe CLI
- Antigravity CLI vs Muse Code
- Antigravity CLI vs OpenAI Agents API
- Antigravity CLI vs OpenAI Codex
- Antigravity CLI vs OpenHands
- Antigravity CLI vs OpenMausBot
- Antigravity CLI vs Orca
- Antigravity CLI vs Paseo
- Antigravity CLI vs Prime Agent
- Antigravity CLI vs Qoder CLI
- Antigravity CLI vs Qwen Code
- Antigravity CLI vs Mirror CLI
- Antigravity CLI vs Rovo Dev CLI
- Antigravity CLI vs Sculptor
- Antigravity CLI vs T3 Code
- Antigravity CLI vs Traycer
- Antigravity CLI vs Unstoppable
- Antigravity CLI vs Verdent
- Antigravity CLI vs Vibe-Trading
- Antigravity CLI vs Warp (Warp Agent CLI and the Oz Agent API)
- Auggie CLI vs OpenCode
- AXLR vs OpenCode
- boxes.dev vs OpenCode
- Claude Code vs OpenCode
- Click vs OpenCode
- Cline vs OpenCode
- Conductor vs OpenCode
- Crush vs OpenCode
- Cursor CLI vs OpenCode
- DeepSeek Harness (dsh) vs OpenCode
- dsh-superagent (DeepSeek) vs OpenCode
- Devin vs OpenCode
- Droid CLI vs OpenCode
- Pi vs OpenCode
- Emdash vs OpenCode
- Gemini CLI vs OpenCode
- GitHub Copilot CLI vs OpenCode
- goose vs OpenCode
- Harness² vs OpenCode
- HarnessRouter vs OpenCode
- Jules vs OpenCode
- Junie CLI vs OpenCode
- Kilo Code CLI vs OpenCode
- Kimi Code CLI vs OpenCode
- Kiro CLI vs OpenCode
- Letta vs OpenCode
- Manus API vs OpenCode
- mini-swe-agent vs OpenCode
- MiniMax Code vs OpenCode
- Mistral Vibe CLI vs OpenCode
- Muse Code vs OpenCode
- OpenAI Agents API vs OpenCode
- OpenAI Codex vs OpenCode
- OpenCode vs OpenHands
- OpenCode vs OpenMausBot
- OpenCode vs Orca
- OpenCode vs Paseo
- OpenCode vs Prime Agent
- OpenCode vs Qoder CLI
- OpenCode vs Qwen Code
- OpenCode vs Mirror CLI
- OpenCode vs Rovo Dev CLI
- OpenCode vs Sculptor
- OpenCode vs T3 Code
- OpenCode vs Traycer
- OpenCode vs Unstoppable
- OpenCode vs Verdent
- OpenCode vs Vibe-Trading
- OpenCode vs Warp (Warp Agent CLI and the Oz Agent API)
- Agent Relay vs Antigravity CLI
- Agent Relay vs OpenCode
- Antigravity CLI vs Clawboo
- Antigravity CLI vs CLI Manager
- Antigravity CLI vs Harness
- Antigravity CLI vs herdr
- Antigravity CLI vs Paperclip
- Antigravity CLI vs Parallax
- Clawboo vs OpenCode
- CLI Manager vs OpenCode
- Friday vs OpenCode
- Harness vs OpenCode
- herdr vs OpenCode
- OpenCode vs Paperclip
- OpenCode vs Parallax
Machine-readable
- This page as Markdown
/compare/antigravity-cli-vs-opencode.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/antigravity-cli.json·/api/v1/tools/opencode.json - From a terminal
anchor compare antigravity-cli opencode(the CLI) - Over MCP
compare_tools {"a": "antigravity-cli", "b": "opencode"}at/mcp, no key