Appearance
SOP-001: Enable Agent Teams
ID: SOP-001 | Version: 1.0 | Status: Current | Date: 2026-02-12
Fresh 🌱Enable experimental agent teams in Claude Code so you can create and manage multiple coordinated sessions.
Overview
Agent teams are disabled by default. This SOP walks you through enabling them via settings.json or environment variables.
Prerequisites
- Claude Code CLI installed
- Text editor for configuration
- Access to shell/terminal
Decision Tree
Step-by-Step Instructions
Option 1: Enable via settings.json (Recommended)
Open settings.json
bash# On macOS/Linux open ~/.claude/settings.json # On Windows (PowerShell) notepad $env:USERPROFILE\.claude\settings.jsonAdd or update the
envsectionjson{ "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } }Save the file
- Make sure JSON is valid (no trailing commas)
- Close your editor
Restart Claude Code
bash# Kill any running Claude Code sessions pkill -f "claude" # Start fresh claude
Option 2: Enable via Environment Variable
Set temporary environment variable (current shell only)
bashexport CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 claudeSet permanent environment variable
macOS/Linux (add to ~/.bash_profile or ~/.zshrc):
bashexport CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1Then reload:
bashsource ~/.zshrc # or ~/.bash_profileWindows (PowerShell):
powershell[Environment]::SetEnvironmentVariable("CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS", "1", "User")Restart your shell after this change.
Verification Checklist
✓ Confirm settings.json has the env section (or env var is set)
bash
cat ~/.claude/settings.json | grep CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS✓ Start Claude Code
bash
claude✓ Check that agent teams are available Type a message asking Claude to create a team:
Create an agent team with 2 teammates to help me explore architecture options for a CLI tool.✓ Verify teammates appear
- In in-process mode: teammates appear in your terminal
- In split panes mode: teammates get their own panes
✓ Success indicators:
- Claude mentions "spawning teammates"
- You see a task list appear
- You can switch between agents (Shift+Up/Down)
Troubleshooting
Q: I don't see teammates appearing A:
- Check that the setting is actually saved:
cat ~/.claude/settings.json - Restart Claude Code completely:
pkill -f claudethenclaude - Ask Claude explicitly: "Create an agent team with 3 teammates"
Q: Getting "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS not defined" A:
- Verify settings.json file exists:
ls ~/.claude/settings.json - Check JSON syntax: ensure no trailing commas
- Try restarting multiple times (sometimes takes multiple restarts)
Q: Split panes mode not working A:
- tmux not installed:
brew install tmux - For iTerm2: install
it2CLI:pip install it2 - Enable Python API: iTerm2 → Settings → General → Enable Python API
Q: Settings.json file doesn't exist A:
- Create directory:
mkdir -p ~/.claude - Create file:
touch ~/.claude/settings.json - Add content:json
{ "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } }