Gemini CLI now runs subagents: specialized agents with their own context window, instructions and tools, which the main agent delegates sub-tasks to, optionally in parallel.
Who it is for
Developers using Gemini CLI who run long or multi-step coding tasks and want to keep the main session lean.
Key points
Custom subagents are Markdown files with YAML frontmatter in ~/.gemini/agents or .gemini/agents, or bundled in extension agents/ directories.
Built-in subagents: generalist, cli_help and codebase_investigator.
Parallel subagents can hit usage limits faster, and parallel code edits can conflict.
AI:Gemini CLI and Gemini Code Assist IDE extensions stop serving requests for Google AI Pro and Ultra users, and free Gemini Code Assist for individuals, on June 18, 2026, in favor of Antigravity CLI.
AI:A comparison of Google's Antigravity IDE and Gemini CLI, recommending Antigravity for agent management and visual work and Gemini CLI for terminal use and headless automation.
AI:Jules, a Google coding agent, can now be called from Gemini CLI with /jules to run fixes in the background, including parallel GitHub issue fixes and security and bug-fix workflows combined with other Gemini CLI extensions.