Gemini CLI / Code Assist
Google's open-source Gemini CLI and Code Assist agent mode share file, shell, search, MCP, planning, and approval patterns across terminal and supported IDEs.
Surfaces
Gemini CLI · VS Code · JetBrains IDEs
Context
Uses workspace files, indexed IDE symbols where available, tool responses, URLs, Google Search, explicit context files, and MCP resources.
Actions
Reads and writes files, searches code, executes shell or Git commands, performs web search, and calls MCP or API tools.
Execution
Runs against the local workspace by default. Optional sandboxing supports macOS Seatbelt, containers, gVisor, and other configured providers.
Memory & rules
GEMINI.md and related context files provide persistent project guidance; the CLI can save selected facts into that file.
Permissions
Mutating file and shell tools normally request confirmation unless allowed. Sandbox expansion can request narrowly broader access; a YOLO mode bypasses prompts.
Verification
Can inspect IDE diagnostics, run tests and commands, review plans, and iterate on tool results. Agent mode is documented as preview, so behavior may change.
Best for
- Google-centered development workflows
- Terminal work that benefits from integrated Google Search
- Teams wanting an open-source CLI plus supported IDE surfaces
Limitations
- Editorial judgment: workflows that require stable non-preview IDE-agent behavior
- Editorial judgment: tasks where Google service terms or authentication do not fit the environment
Comparison note
Gemini CLI and Code Assist overlap but are not one identical surface. Check the current IDE and CLI documentation before assuming a tool or permission behaves the same in both.
Compare nearby
Evidence
First-party sources checked
- 1Gemini Code Assist agent mode overview
Google · Documentation · checked 2026-07-13
- 2Gemini CLI tools reference
Google · Documentation · checked 2026-07-13
- 3Sandboxing in Gemini CLI
Google · Documentation · checked 2026-07-13