Warpai warpai DOCS
Home Download 1 中文

20+ CLI Agents Guide

This guide provides end-to-end instructions for installing, authenticating, and running the 20+ command-line AI coding agents supported natively by Warpai across macOS, Windows, and Linux, utilizing standard package managers (Homebrew, npm, pip, winget, scoop, etc.).

SHOT-25 (P2) Multi-Agent CLI Ecosystem in Action

20+ 款 CLI 智能体生态:Warpai 窗口中多标签/分屏同时运行 Claude Code、OpenAI Codex、Antigravity、Gemini 等不同智能体 CLI,展示零配置状态感知与环境隔离。

建议尺寸: 1440x810 (16:9) 目标路径: docs/images/cli-agents-ecosystem.png 截图待补充 · 对应表格 docs/SCREENSHOT-INVENTORY.xlsx

Quick Reference Summary

Agent CLI Command Install (macOS) Install (Windows) Auth Command
Claude Code claude npm i -g @anthropic-ai/claude-code npm i -g @anthropic-ai/claude-code claude (OAuth web)
OpenAI Codex codex brew install codex npm i -g codex / winget codex login
Google Gemini CLI gemini npm i -g @google/gemini-cli npm i -g @google/gemini-cli gemini auth login
Cursor Agent cursor-agent Cursor IDE Command Palette Add Cursor bin to %PATH% Shares Cursor login
Antigravity agy brew tap google/antigravity && brew install agy scoop install agy agy login
Qoder qoder Official installer script Official Windows setup qoder login
QoderCN qodercn Official QoderCN installer Official QoderCN setup qodercn login
Trae CLI trae Trae IDE CLI bundle Trae IDE CLI bundle Shares Trae login
Mistral Vibe vibe pip install mistral-vibe pip install mistral-vibe export MISTRAL_API_KEY=...
DeepSeek Harness dsh-tui pip install deepseek-harness pip install deepseek-harness export DEEPSEEK_API_KEY=...
Goose goose brew install block/goose/goose winget install Block.Goose Guided in CLI
Hermes Agent hermes pip install hermes-agent pip install hermes-agent export OPENAI_API_KEY=...
xAI Grok Build grok npm i -g @xai/grok-cli npm i -g @xai/grok-cli grok login
GitHub Copilot copilot gh extension install github/gh-copilot gh extension install github/gh-copilot gh auth login
Pi CLI pi npm i -g @pi-dev/cli npm i -g @pi-dev/cli pi login
oh-my-pi (OMP) omp npm i -g oh-my-pi npm i -g oh-my-pi omp auth
OpenCode opencode pip install opencode-cli pip install opencode-cli opencode login
Amp (Amplified) amp npm i -g @ampt/cli npm i -g @ampt/cli amp login
Auggie Agent auggie pip install auggie-agent pip install auggie-agent auggie login
Droid Agent droid npm i -g @droid-ai/cli npm i -g @droid-ai/cli droid auth

1. Anthropic Claude Code (claude)

  • Install:
    • macOS / Linux: npm install -g @anthropic-ai/claude-code or brew install claude-code
    • Windows: npm install -g @anthropic-ai/claude-code
  • Auth: Run claude and complete web browser OAuth login.
  • Run in Warpai: Type claude in any terminal tab.

2. OpenAI Codex (codex)

  • Install:
    • macOS: brew install codex or npm i -g @openai/codex
    • Windows: npm i -g @openai/codex or winget install OpenAI.Codex
  • Auth: codex login or set export OPENAI_API_KEY="sk-..."
  • Run in Warpai: Type codex in any terminal tab.

3. Google Gemini CLI (gemini)

  • Install: npm install -g @google/gemini-cli
  • Auth: gemini auth login or set export GEMINI_API_KEY="AIzaSy..."
  • Run in Warpai: Type gemini.

4. Cursor Agent CLI (cursor-agent)

  • Install:
    • macOS: Open Cursor IDE > Cmd+Shift+P > Install 'cursor' command in PATH.
    • Windows: Add %LOCALAPPDATA%\Programs\cursor\resources\app\bin to %PATH%.
  • Auth: Inherits Cursor desktop session credentials automatically.
  • Run in Warpai: Type cursor-agent.

5. Google Antigravity (agy)

  • Install:
    • macOS: brew tap google/antigravity && brew install agy
    • Windows: scoop bucket add antigravity https://github.com/google/antigravity-scoop && scoop install agy
    • Linux: curl -fsSL https://antigravity.google/install.sh | bash
  • Auth: agy login
  • Run in Warpai: Type agy. Live quota metadata is reflected in the quota monitor footer.

6. DeepSeek Harness (dsh-tui)

TUI Installation Pathway

Per project instructions, only the interactive dsh-tui (Terminal User Interface) route is installed and documented.

  • Install:
    • macOS / Linux: pip install --upgrade deepseek-harness or curl -fsSL https://raw.githubusercontent.com/deepseek-ai/deepseek-harness/master/install-tui.sh | bash
    • Windows: pip install --upgrade deepseek-harness or scoop install dsh-tui
  • Auth: export DEEPSEEK_API_KEY="sk-..." (or $env:DEEPSEEK_API_KEY="..." on Windows)
  • Run in Warpai: Type dsh-tui in any terminal pane.

7. Qoder & QoderCN (qoder, qodercn)

  • Global: curl -fsSL https://install.qoder.com/install.sh | bash
  • China Edition (QoderCN): curl -fsSL https://install.qoder.cn/install.sh | bash
  • Auth: qoder login / qodercn login
  • Run in Warpai: Discovered as independent clients with dedicated settings rows.

8. Mistral Vibe (vibe)

  • Install: pip install --upgrade mistral-vibe
  • Auth: export MISTRAL_API_KEY="your-key"
  • Run in Warpai: Type vibe.

9. Block Goose (goose)

  • Install:
    • macOS: brew install block/goose/goose
    • Windows: winget install Block.Goose
    • Linux: curl -fsSL https://github.com/block/goose/releases/latest/download/goose-linux-x86_64.tar.gz | tar -xz -C /usr/local/bin
  • Run in Warpai: goose session

10. Additional Supported Agents (10-20)

  • Hermes Agent (hermes): pip install hermes-agent → export OPENAI_API_KEY="..." → hermes
  • xAI Grok Build (grok): npm i -g @xai/grok-cli → grok login → grok
  • GitHub Copilot CLI (copilot): gh extension install github/gh-copilot → gh auth login → copilot
  • Pi CLI (pi): npm i -g @pi-dev/cli → pi login → pi
  • oh-my-pi (omp): npm i -g oh-my-pi → omp auth → omp
  • OpenCode CLI (opencode): pip install opencode-cli → opencode auth → opencode
  • Amp / Amplified (amp): npm i -g @ampt/cli → amp login → amp
  • Auggie AI Agent (auggie): pip install auggie-agent → auggie login → auggie
  • Droid Coding Agent (droid): npm i -g @droid-ai/cli → droid auth → droid
  • Trae CLI (trae): Provided via Trae IDE executable bundle.