Skip to main content
← Guides

Coding agents: terminal vs IDE vs cloud

Planning

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:

SurfaceExamplesExecution locationWork to consider
TerminalClaude Code CLI, Codex CLI, Gemini CLIYour shell and repositoryExisting repositories, scripting, inspectable commands
IDECursor, GitHub Copilot, AntigravityEditor process or vendor cloudEditing with completion and inline diffs
CloudDevin, Cursor Cloud AgentsVendor workspaceDelegated 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

DimensionClaude Code CLICodex CLIGemini CLICursorDevinAntigravity
SurfaceTerminalTerminalTerminalIDE and cloudCloud workspaceDesktop / CLI / IDE / SDK
PermissionsConfigurable granularity, documented in docs and CHANGELOGExecution approvals; app-server architectureNon-interactive scripting for CIEditor approvals and cloud controlsCloud sandbox, issue assignmentThree documented command-execution policies
ContinuationLocal processThread continuationScript modeCloud work can continue after the laptop closesAsynchronous workPersistent harness
Model line in snapshotAnthropicOpenAIGeminiMultiple modelsVendor-managedGemini
Licence/sourceSource-visible, All rights reservedRepository availableApache-2.0Closed-sourceClosed-sourceClosed-source
Pricing basisSubscription or API; official pricing tiersChatGPT tier or API keyFree quota and paid APIHobby / Pro / Teams / EnterpriseTeam quotationGoogle 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

  1. Gemini CLI is Apache-2.0-licensed and supports npx startup and MCP (repository README; October 2026 snapshot).
  2. 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).
  3. Antigravity explicitly documents three command-execution policies (release notes checked 2026-10-13).
  4. Claude Code CLI has a separate CHANGELOG and Atom feed; source is visible but the licence is All rights reserved (repository snapshot).
  5. 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

SourceURL
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