Cmd. /agents
On current versions, explain how to manage subagents.
Key takeaways
- On current versions, explain how to manage subagents.
- Check the input surface and availability before using the examples below.
Purpose
On current versions, explain how to manage subagents.
/agentsAvailability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Current reference |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Claude Code 2.1.278 |
v2.1.198+ prints management guidance; the interactive creation UI belongs to v2.1.197 and earlier.
Examples
/agentsEffects and persistence
Current versions explain how to manage subagents. Their definitions live in project or user agents directories.
Where definitions live
Project definitions live in .claude/agents/; user definitions live in ~/.claude/agents/. Existing directories are watched. A newly created directory or an added-directory configuration can require a restart. claude agents in the terminal opens Agent View and serves a different purpose from /agents.
Cautions
Ask Claude to edit agent definitions. The current command no longer opens the older creation wizard.