[BUG] TeamCreate/TeamDelete removed in 2.1.179 but CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS still documented
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
### Summary
With CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 set (in settings.json env and
exported in the process env), the TeamCreate / TeamDelete / TeamList tools
are no longer exposed to the model in Claude Code 2.1.179. The task/messaging
primitives (TaskCreate, TaskUpdate, SendMessage) ARE exposed, and the
Agent tool now documents team_name as: "Deprecated; ignored. The session
has a single implicit team."
This looks like an intentional migration from explicit team management to an
plugin/skill whose preflight or orchestration calls TeamCreate/TeamDelete.
### Environment
- Claude Code: 2.1.179
- OS: Linux (5.4.0-1160-aws-fips)
~/.claude/settings.jsonenv:CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS: "1",teammateMode: "auto"- Confirmed exported:
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
### Actual
Flag is honored as env but the explicit-team tools are silently absent; the
only signal is the Agent tool's "team_name … Deprecated; ignored" note.
### Ask
Confirm whether CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS / TeamCreate are
deprecated, and document the supported teammate API for 2.1.x so plugins can
migrate.
What Should Happen?
Expected
Either:
(a) CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 still exposes the legacy
TeamCreate/TeamDelete tools, OR
(b) the flag is now a no-op and the explicit-team API is officially removed —
in which case please document the replacement (implicit single team +
Agent spawn with name/run_in_background + SendMessage) and a
migration note, so plugins relying on TeamCreate know to update.
Error Messages/Logs
Steps to Reproduce
### Repro
- Set the flag above; restart the session.
- Invoke any skill that runs the documented Agent-Teams preflight
TeamCreate(team_name: "...", description: "...").
- The model cannot find/call
TeamCreate(the tool isn't registered).
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.179
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗