Isolated execution
Subagents work in their own separate context window, so intermediate steps do not crowd the main Gemini CLI session.
Gemini CLI subagents are specialized helper agents that take on complex or repetitive tasks in isolated context windows, helping the main session stay focused. They can be run automatically or explicitly, and teams can define custom agents with Markdown and YAML.
Subagents in Gemini CLI are specialized agents that handle complex, repetitive, or high-volume tasks on behalf of a primary CLI session. The feature is designed to let the main agent stay focused on orchestration, decision-making, and the final response while subagents handle narrower work in their own isolated context windows.
According to the announcement, subagents can use their own tools, MCP servers, and system instructions, and their output is consolidated back into the main session. Gemini CLI can dispatch them automatically when it thinks they are the most efficient path, or you can request one explicitly with the `@agent` syntax.
Subagents work in their own separate context window, so intermediate steps do not crowd the main Gemini CLI session.
Each subagent can have its own system instructions and curated tool set, including MCP servers, which lets it behave like a specialized expert.
Gemini CLI can run multiple subagents at the same time for research, analysis, code exploration, or tests when a task can be split into parts.
The main Gemini CLI session consolidates a subagent’s work into a single response, which keeps the primary conversation focused on the larger task.
Users can define custom agents with Markdown files and YAML frontmatter, either for personal workflows, team repositories, or extensions.
The CLI includes built-in subagents such as `generalist`, `cli_help`, and `codebase_investigator` for common workflows.
Split a broad task into smaller specialist jobs so research, code exploration, analysis, or testing can happen without filling the main session with intermediate steps.
Run multiple subagents at once when you need several related investigations completed faster than a single linear pass.
Create a project-specific agent that follows your team’s conventions, instructions, or persona for recurring workflows.
Use built-in subagents like `cli_help` or `codebase_investigator` when you want a specialized helper for Gemini CLI questions or repository exploration.
Package subagent definitions in a Gemini CLI extension so the same agent behavior can travel with a reusable distribution.
Gemini CLI uses subagents to delegate complex or repetitive work to specialized agents that run in isolated context windows with their own tools and instructions. The main session stays focused on orchestration and final decisions.
The announcement says subagents can be invoked automatically by Gemini CLI when appropriate, or explicitly with the @agent syntax. You can view configured subagents by running /agents in Gemini CLI.
Yes. The post says custom subagents can be defined with Markdown files and YAML frontmatter, stored globally in ~/.gemini/agents, committed to a project in .gemini/agents, or bundled with Gemini CLI extensions.
The post frames subagents as useful for research, code exploration, analysis, tests, and other high-volume tasks, especially when parallel execution can reduce total time.
AakarDev AI helps teams manage AI provider access, project-level setups, logs, and analytics from one dashboard. It supports BYOK workflows and lists providers including OpenAI, Google Gemini, Anthropic, Groq, Mistral AI, and Perplexity AI.
Skills Janitor is a GitHub-hosted set of slash commands for auditing, tracking, and managing Claude Code and OpenAI Codex skills. It helps users find duplicates, broken links, and unused skills, then clean them up with self-contained commands.
Benchspan is an AI agent security platform that discovers agents, blocks prompt injection and data exfiltration in real time, and supports pre-launch red teaming. It is aimed at teams running agents in production and includes Python and TypeScript SDKs.
Codex Plugins bundle reusable skills, app integrations, and MCP servers into workflows you can install in the Codex app or use from Codex CLI. They help extend Codex with connected-service tasks, reusable instructions, and shared team workflows.
Wallie is an open-source AI streamer that watches your screen, hears chat, and generates live commentary in a configurable persona. It runs locally on your machine with your own keys and is aimed at faceless content, autonomous streams, and real-time reactions.
ClawTick is an AI agent automation platform for scheduling jobs from the CLI, dashboard, or REST API. It is aimed at developers and teams running LangChain, CrewAI, webhook, or custom agent workflows that need monitoring, alerts, and logs.