Skip to content

AI Environment

CLI Tools Overview & Comparison

The right agentic CLI depends on the research task, model access, and tolerance for setup complexity.

The best CLI agent is not the most powerful one, but the one that fits your research workflow.

Overview

The Research Memex workflow works with both GUI and CLI tools. GUI tools suit early exploration and teaching; CLI tools suit file-based, repeatable, auditable work. Most researchers should start with one of each: Cherry Studio for model comparison and knowledge bases, plus a CLI agent for project files, scripts, and long-running workflows.

Current CLI options

Cherry Studio

  • Visual multi-model workspace
  • Good first interface for API keys, knowledge bases, and MCP servers
  • Useful for teaching, comparison, and non-terminal researchers
  • Full guide: Cherry Studio Setup

Claude Code

  • Anthropic's terminal agent
  • Strong fit for deep project work, code, and research-writing infrastructure
  • Best when you want Claude as the main workspace model
  • Full guide: Claude Code Setup

Antigravity CLI

  • Google's current terminal-agent path for consumer and free Gemini CLI users
  • Good fit for Google-account workflows, SSH use, and Antigravity 2.0 continuity
  • Best for terminal-agent workflows, not general Gemini API access
  • Full guide: Antigravity CLI Setup

OpenCode

  • Multi-provider terminal UI
  • Good fit for comparing GPT, Claude, Gemini, DeepSeek, Kimi, GLM, Qwen, xAI, and local models
  • Best when model choice is the experiment
  • Full guide: OpenCode Setup

Comparison table

FeatureCherry StudioClaude CodeAntigravity CLIOpenCode
InterfaceGUICLICLITUI
Provider modelMany providersClaudeGoogle Antigravity/Gemini pathsMany providers
Best roleExploration and teachingPrimary project workspaceGoogle terminal-agent workflowProvider comparison
Direct API keysYesUsually noNo for normal sign-in flowYes
MCP supportFullFullagy mcp add or documented settingsDepends on host/provider config
Project memoryKnowledge bases and chatsProject files + Claude configProject files + Antigravity settings/pluginsProject config
Cost shapeProvider API usageSubscription/API, depending on planGoogle account/enterprise pathProvider API usage
Best forStarting outDeep workGoogle-agent continuityModel experimentation

Which one should you use?

If you are new to the workflow

Start with Cherry Studio. It makes providers, API keys, knowledge bases, and MCP servers visible. Add a CLI only after you have a real project folder and repeated tasks.

If you want a project workspace

Choose an interface that supports your project files and the models you want to work with. The Claude Code guide covers one route. The Codex access notes cover another. Kimi can also participate through its own workspace or a plugin, as described below.

Working with Kimi

Kimi is a regular collaborator in the author's reasoning, writing, coding, and sustained projects. Its different perspectives matter throughout the work, including how a problem is first framed.

Keep the model and its access routes distinct:

The plugin is one route into collaboration with Kimi. A review is one possible role. See a workflow that begins with Kimi for another.

If you used Gemini CLI

Move the terminal-agent workflow to Antigravity CLI. Keep direct Gemini API work with Google AI Studio, Cherry Studio, OpenCode, Vox, or another provider client.

If you want to compare models

Use OpenCode. It keeps the tool constant while you vary the model or provider. This approach works well for model-selection experiments.

Research phases

Research phaseRecommended surfaceReason
First setupCherry StudioLowest friction for provider keys and knowledge bases
Literature explorationCherry Studio or OpenCodeEasy model comparison and corpus experiments
File-based analysisClaude Code or Antigravity CLIAgents can work inside a project folder
Multi-model challengeOpenCode or Vox MCPSame prompt across different providers
Final writing and infrastructureClaude CodeStrong project reasoning and repo operations

Terminal basics

If you are new to terminals, these commands are enough to begin:

cd ~/Documents/Research-Project
pwd
ls

Launch the CLI you installed:

claude
agy
opencode

Exit most terminal tools with exit, /exit, or Ctrl+D, depending on the tool.

API keys vs sign-in

Do not use the same authentication pattern for every tool.

Auth patternUsed byNotes
Provider API keyCherry Studio, OpenCode, VoxUse OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY, GEMINI_API_KEY, etc. only when the client calls that provider directly.
Product sign-inClaude Code, Antigravity CLIThe tool handles the session. Do not invent provider env vars unless the official docs say to.
Enterprise project bindingAntigravity CLI, some Claude/Google setupsFollow your organization's onboarding path.

Setup guides

Troubleshooting

Large-context Gemini model access

Use the Gemini API path in API Keys Setup, or use a client such as Cherry Studio, OpenCode, or Vox. Antigravity CLI is the terminal-agent product path, not the general Gemini API setup page.

Old Gemini CLI notes

If the note is about terminal-agent usage, migrate it to Antigravity CLI. If it is about model/API access, keep the Gemini API-key guidance.

Choosing a single CLI

Choose a workspace for your project and the models you want to work with. The guides above cover Claude Code, OpenCode, and Antigravity. Working with Kimi separates its native workspace from its plugins for Claude Code and Codex.

External references

cite this page

Lin, X. (2026). CLI Tools Overview & Comparison. Research Memex. https://research-memex.org/docs/implementation/ai-environment-setup/cli-setup-guide

@misc{docs-implementation-ai-environment-setup-cli-setup-guide-2026,
  author = {Xule Lin},
  title = {CLI Tools Overview \& Comparison},
  year = {2026},
  howpublished = {\url{https://research-memex.org/docs/implementation/ai-environment-setup/cli-setup-guide}},
  note = {ORCID: 0000-0001-7885-4194}
}

one renderingthe source remains