AI Cloud Architect

Subagents have arrived in Gemini CLI

GoogleAnnouncement by Jack Wotherspoon and Abhi PatelGoogle Developers Blog

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

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.

Timeline

Posts about Gemini on Gemini CLI, oldest first.

  1. New featureAutomate app deployment and security analysis with new Gemini CLI extensions · Google · Announcement
  2. New featureNow open for building: Introducing Gemini CLI extensions · Google · Announcement
  3. New featureSay hello to a new level of interactivity in Gemini CLI · Google · Announcement
  4. Update to an existing featureMaking the terminal beautiful one pixel at a time · Google · Announcement
  5. New featureAnnouncing the Data Commons Gemini CLI extension · Google · Announcement
  6. New featureMaking Gemini CLI extensions easier to use · Google · Announcement
  7. New featurePlan mode is now available in Gemini CLI · Google · Announcement
  8. This postSubagents have arrived in Gemini CLI