Setup and safety

Connect your 7 coding agent CLIs in CmdBrief

See how Claude Code, Codex, Grok CLI, OpenCode, Cursor CLI, Antigravity CLI, and Kimi CLI work in CmdBrief — crew mixing rules, usage meters, multi-account support, and the per-CLI Use setting.

  • Updated December 1, 2026
  • 6 min read
  • 6 primary sources
  • 3 steps
  • You act in steps 2 and 3

Quick verdict

Quick verdict

  • All 7 coding agent CLIs run in terminal panes. Six — Claude Code, Codex, Grok CLI, OpenCode, Cursor CLI, and Antigravity CLI — also run in Standard chat panes and mix freely as lead or crew in any combination.
  • Kimi CLI runs in terminal panes only: it does not open as a Standard chat pane, cannot lead or join a crew, and exposes no usage meter.
  • CmdBrief never proxies model traffic or copies credentials between computers. Every CLI installs with its vendor installer, signs in through its own command, and can be set to On, Limits only, or Off in Settings › Agents.

What you get

What you get

CmdBrief drives the real CLI binaries installed on your computer (or on your paired computers) using your own vendor plans and API keys. Model and effort menus are populated live from each CLI rather than a stale hardcoded list. For a deeper side-by-side of the tools themselves, see the coding agent CLI comparison and Features.

  • Claude Code (claude)

    Standard chat
    Yes
    Lead & crew mixing
    Yes — leads or joins any mixed crew
    Usage meter
    5-hour & weekly windows, per-model pools, USD cost
    Multiple accounts
    Yes (CLAUDE_CONFIG_DIR)
  • Codex (codex)

    Standard chat
    Yes
    Lead & crew mixing
    Yes — leads or joins any mixed crew
    Usage meter
    Both rate-limit windows; token-weighted estimate
    Multiple accounts
    Yes (CODEX_HOME)
  • Grok CLI / Grok Build (grok)

    Standard chat
    Yes
    Lead & crew mixing
    Yes — leads or joins any mixed crew
    Usage meter
    Weekly credits from the CLI billing log
    Multiple accounts
    No
  • OpenCode (opencode, v2)

    Standard chat
    Yes
    Lead & crew mixing
    Yes — leads or joins any mixed crew
    Usage meter
    OpenCode Go rolling, weekly & monthly via Zen API key
    Multiple accounts
    Yes (OPENCODE_DB, Standard panes)
  • Cursor CLI (cursor-agent)

    Standard chat
    Yes
    Lead & crew mixing
    Yes — leads or joins any mixed crew
    Usage meter
    Monthly Cursor-models & Other-models pools (CLI credential)
    Multiple accounts
    No
  • Antigravity CLI (agy)

    Standard chat
    Yes
    Lead & crew mixing
    Yes — leads or joins any mixed crew (since 0.5.102)
    Usage meter
    Weekly & 5-hour pools (Gemini, Claude & GPT, Gemini 4 Argon) via agy -p /usage
    Multiple accounts
    One sign-in per computer, with Switch account… in Setup
  • Kimi CLI (kimi)

    Standard chat
    No (terminal panes only)
    Lead & crew mixing
    No — runs beside crews in terminal panes
    Usage meter
    None (CLI exposes no usage data)
    Multiple accounts
    No
All 7 supported coding agent CLIs in CmdBrief

You can also add a DeepSeek prepaid balance row under Settings › Usage & cost (polled from api.deepseek.com/user/balance and displayed as currency). DeepSeek is a billing readout, not an agent CLI.

Install CLIs locally or from Setup

An agent can do thisOn this computer, or in Settings › Computers › <computer> › Setup

On macOS and Linux, clicking Install on any missing agent during onboarding or in a computer’s Setup card runs that vendor’s official installer in an embedded terminal box. On Windows, the card gives you the exact PowerShell command to copy and run.

Official vendor install commands (macOS and Linux)bash
# Claude Code
curl -fsSL https://claude.ai/install.sh | bash

# Codex
curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_NON_INTERACTIVE=1 sh

# Grok CLI (Grok Build)
curl -fsSL https://x.ai/cli/install.sh | bash

# OpenCode (v2 — CmdBrief requires OpenCode 2, not legacy opencode-ai v1)
curl -fsSL https://opencode.ai/install | bash

# Cursor CLI (installs cursor-agent)
curl https://cursor.com/install -fsS | bash

# Antigravity CLI (installs agy)
curl -fsSL https://antigravity.google/cli/install.sh | bash

On Windows, Claude Code installs with irm https://claude.ai/install.ps1 | iex, Codex with npm install -g @openai/codex, and OpenCode 2 with npm install -g @opencode/cli. CmdBrief detects both native .exe binaries (such as %USERPROFILE%\.local\bin\claude.exe) and npm .cmd shims.

Check it worked

  • Terminalclaude --version; codex --version; opencode --version; agy --versionEach CLI you installed prints its version.
  • Linux headlesscmdbrief agentsLists installed CLIs, their sign-in state, git, and gh.

Sign in locally or on a paired computer

You do thisIn CmdBrief Setup, or in your own terminal

CmdBrief never handles your provider passwords or copies ~/.claude, ~/.codex, or any other CLI credential between computers. Clicking Sign in runs the unmodified CLI’s own login command in a terminal box and waits until the CLI itself reports signed in.

CLILocal sign-in commandRemote / headless sign-in (via Setup)
Claude Codeclaude auth login (--console or --sso supported)Runs claude auth login; open link on your Mac and paste code back
Codexcodex loginRuns codex login --device-auth; open link and type the printed code
Grok CLIgrok loginRuns grok login --device-auth; open link and type the printed code
OpenCodeopencode auth loginRuns opencode auth login in the remote terminal box
Cursor CLIcursor-agent loginRuns with NO_OPEN_BROWSER=1; click Open sign-in page on your Mac
Antigravity CLIagyRuns agy in the remote terminal box (see SSH note below)
Kimi CLIkimi loginRun kimi login directly in a terminal pane or SSH session
Sign-in commands on this computer vs on a paired remote computer

To sign in a CLI on a paired Mac, Windows PC, or Linux server without touching its screen, open Settings › Computers › `<computer>` › Setup and click Sign in on that agent’s row. CmdBrief streams the terminal to your window and surfaces Open sign-in page whenever the CLI prints an https:// login link. See Run your agents on a Linux server and Pair another Mac or Windows PC.

Control each CLI with Settings › Agents (On / Limits only / Off)

You do thisIn Settings › Agents

Every installed CLI has its own Use setting under Settings › Agents › `<CLI>`, letting you keep an installed tool out of CmdBrief’s pickers or watch its quota without letting leads start it:

SettingOffered in pickers & crewsAgent limits row & pollingAlready-open panes
On (default)Yes — offered, started, hooked, and available to leads and crewsShown and updated normallyKeep running
Limits onlyNo — never offered or startedKept visible and updated in the sidebar and Limits & paceKeep running
OffNo — never used even when installedHidden and background readings stopKeep running
Per-CLI Use setting options

If a lead tries to start a CLI set to Limits only or Off, CmdBrief returns a plain message ("<CLI> is turned off in Settings › Agents › <CLI>. Turn its Use back On there to start it.") instead of failing silently.

On the same Settings page, saved Codex, Antigravity CLI, and Grok models can follow the newest release in their model family (for example, choosing a "Newest …" entry beside pinned exact model IDs), so new sessions pick up family updates automatically while running sessions keep their current model. For multi-account switching and per-workspace accounts (Claude Code, Codex, and OpenCode), see Multiple CLI accounts, usage limits, and cold-cache resume.

Check it worked

  • Settings › AgentsSet a CLI you do not want crews to spawn to Limits only or OffIt disappears from Deploy agent and crew pickers; Limits only keeps its quota row.
  • SidebarCheck the Agent limits lineEvery enabled CLI with reliable provider limit data reports its current window.

If it fails

  • An installed CLI shows “Not installed” in Setup

    CmdBrief resolves binaries from your login shell PATH. Confirm which claude (or codex, cursor-agent, agy, opencode) works in a fresh login shell, then click Check again.

  • Cursor CLI shows no usage limits on Linux or Windows

    You do this

    Cursor’s usage meter reads the Cursor CLI’s own login (cursor-agent login), not the Cursor desktop editor’s sign-in. Sign in to cursor-agent directly.

  • A lead fails to start a CLI with “turned off in Settings › Agents”

    You do this

    Open Settings › Agents › `<CLI>` and switch Use from Limits only or Off back to On.

  • OpenCode fails to connect in a Standard pane

    CmdBrief requires OpenCode 2 (@opencode/cli or https://opencode.ai/install). The older npm opencode-ai package stops at OpenCode 1 and is refused.

  • An agent keeps asking to sign in after you already signed in externally

    You do this

    Verify you signed in under the same account folder (CLAUDE_CONFIG_DIR / CODEX_HOME if using multiple accounts) and on the same computer. Completing a sign-in or working turn clears the card automatically.

Questions

Can Antigravity CLI lead or join a crew with Claude Code and Codex?

Yes. Since CmdBrief 0.5.102, all six Standard-pane CLIs — Claude Code, Codex, Grok CLI, OpenCode, Cursor CLI, and Antigravity CLI — mix freely as lead or crew members. Only Kimi CLI stays outside crews in terminal panes.

Why does Kimi CLI only open in terminal panes?

CmdBrief supports Kimi CLI via native PTY terminal panes with managed status hooks in Kimi’s config.toml, not as a Standard structured chat pane or crew member, and Kimi does not expose a usage-limit feed.

Which CLIs support multiple signed-in accounts at once?

Claude Code (CLAUDE_CONFIG_DIR), Codex (CODEX_HOME), and OpenCode (OPENCODE_DB, for Standard panes) keep multiple isolated accounts signed in simultaneously under Settings › Agents › Accounts and Workspace settings › Accounts. Antigravity CLI supports one sign-in per computer with a Switch account… action in Setup.

Can I turn off an installed CLI without uninstalling it?

Yes. Open Settings › Agents › <CLI> and set Use to Limits only (keeps its usage meter while hiding it from pickers and crews) or Off (hides it completely and stops polling its usage).

Still unsure? Write to [email protected] or use the contact form. Contact CmdBrief →

Primary sources

Provider terms and product behavior can change. Confirm plan, pricing, model, and permission details in the current official documentation.

We use cookies to analyze site usage.