Coding agents: terminal vs IDE vs cloud
Fix the execution surface first (terminal, IDE, cloud), then compare permission models, background continuation and repo context; each candidate gets its conditions and one line on when to pick another.
Pick the surface first
First distinguish three execution surfaces for a coding agent. Price and model choice come after deciding where work runs:
| Surface | Examples | Execution location | Work to consider |
|---|---|---|---|
| Terminal | Claude Code CLI, Codex CLI, Gemini CLI | Your shell and repository | Existing repositories, scripting, inspectable commands |
| IDE | Cursor, GitHub Copilot, Antigravity | Editor process or vendor cloud | Editing with completion and inline diffs |
| Cloud | Devin, Cursor Cloud Agents | Vendor workspace | Delegated issues and work continuing after the laptop closes |
Ask whether changes run on your machine or in a vendor cloud. This can eliminate unsuitable candidates before other comparisons.
Six dimensions
| Dimension | Claude Code CLI | Codex CLI | Gemini CLI | Cursor | Devin | Antigravity |
|---|---|---|---|---|---|---|
| Surface | Terminal | Terminal | Terminal | IDE and cloud | Cloud workspace | Desktop / CLI / IDE / SDK |
| Permissions | Configurable granularity, documented in docs and CHANGELOG | Execution approvals; app-server architecture | Non-interactive scripting for CI | Editor approvals and cloud controls | Cloud sandbox, issue assignment | Three documented command-execution policies |
| Continuation | Local process | Thread continuation | Script mode | Cloud work can continue after the laptop closes | Asynchronous work | Persistent harness |
| Model line in snapshot | Anthropic | OpenAI | Gemini | Multiple models | Vendor-managed | Gemini |
| Licence/source | Source-visible, All rights reserved | Repository available | Apache-2.0 | Closed-source | Closed-source | Closed-source |
| Pricing basis | Subscription or API; official pricing tiers | ChatGPT tier or API key | Free quota and paid API | Hobby / Pro / Teams / Enterprise | Team quotation | Google AI plan |
No prices are collected here. Current tier names and quotas must be checked on each official pricing page.
When each fits
Claude Code CLI: a candidate for working in an existing repository with commands visible in a terminal. Check authorisation for commands, files and tools. Its default model line in this snapshot is Anthropic; other model requirements need separate configuration checks. Consider Cursor or Copilot for IDE completion, or Gemini CLI for an Apache-2.0 CLI you can modify.
Codex CLI: a candidate for the OpenAI ecosystem, thread continuation and scripting. Rust implementation and the app server are recorded architectural features. Consider Claude Code CLI when the team's requirements are tied to Anthropic.
Gemini CLI: Apache-2.0, launchable through npx, with MCP and non-interactive scripting for CI and teaching. For a permission-control comparison, examine Claude Code CLI's specific settings and change records.
Cursor: a candidate for an IDE workflow alongside cloud continuation. Official documentation distinguishes cloud VMs from tool execution on self-hosted machines. Self-hosted execution does not establish that model requests, logs and all other data stay offline; inspect network settings and terms separately. Consider a CLI when you only need a terminal.
Devin: a candidate for delegating issues to a cloud workspace and reviewing draft PRs afterwards, with Slack / Linear / Jira integrations. If work must run locally without outbound data, investigate the actual local execution and data path of terminal or IDE options.
Antigravity: a candidate for sharing a harness across desktop, CLI, IDE extension and Python SDK, with three documented command policies in this snapshot. If you only need an editor workflow, compare Cursor's IDE form.
Dated facts
- Gemini CLI is Apache-2.0-licensed and supports
npxstartup and MCP (repository README; October 2026 snapshot). - Cursor Cloud Agents run in isolated cloud VMs without requiring the local machine to stay online; a separate self-hosted machine execution path is documented. Execution location alone does not prove end-to-end offline processing (official Cloud Agents documentation; this item rechecked 2026-11-04).
- Antigravity explicitly documents three command-execution policies (release notes checked 2026-10-13).
- Claude Code CLI has a separate CHANGELOG and Atom feed; source is visible but the licence is All rights reserved (repository snapshot).
- Codex CLI is implemented in Rust, with app-server architecture and thread continuation recorded in its repository and releases.
These entries distinguish earlier verification snapshots from the scoped recheck of item 2. Use official releases for publication dates; a scoped recheck is not a new full-guide verification.
Common misreads
- Terminal execution does not establish safe execution. Default confirmations and allowlists are different permission designs.
- Cloud continuation does not remove review; a draft PR still needs inspection.
- An open-source CLI does not establish model-weight rights; their licences are separate.
- MCP support does not make tools ready for unrestricted use. Inspect each server's permissions and data scope.
Sources
| Source | URL |
|---|---|
| Anthropic: Claude Code repository and CHANGELOG (source-visible, All rights reserved; October 2026 snapshot) | https://github.com/anthropics/claude-code |
| OpenAI: Codex CLI repository and releases (Rust, app server; October 2026 snapshot) | https://github.com/openai/codex |
| Google: Gemini CLI repository (Apache-2.0, npx, MCP; October 2026 snapshot) | https://github.com/google-gemini/gemini-cli |
| Cursor: official documentation (Cloud Agent execution location and network controls; scoped recheck 2026-11-04) | https://cursor.com/docs |
| Devin: official documentation (cloud workspaces and issues to draft PRs) | https://docs.devin.ai/ |
| Google Antigravity: official site (shared harness across desktop, CLI, IDE and SDK; checked 2026-10-13) | https://antigravity.google/ |
Source snapshot: 2026-11-03; item-specific rechecks and their scope are recorded in the text or source notes. Features and terms may change; check the original sources before use.
This page appears in: Write code with AI · Make games with AI · Use AI well