Organize independent session teams with Agent Teams. Team members discuss, cross-validate, and converge on direction.
Use Agent Teams to organize independent session teams.
This is different from subagents (the Agent tool). With Teams, each member lives in an independent session, can send messages to each other, and can discuss and narrow down direction.
/team "analyze why the robot falls more in late training"
/team "discuss reward design direction"
/team "comparative analysis of FiLM vs cerebellar"
| Task | Team Composition | Rationale |
|---|---|---|
| Direction selection | Advocate + Opponent + Neutral analyst | Prevent bias toward one side |
| Debugging | Math expert + Performance expert + Code analyst | Search for root cause from different perspectives |
| Experiment design | Designer + Critic + Prior work researcher | Watertight design |
| Paper analysis | Methodology analyst + Our-project comparison specialist | Precisely assess the threat |
TeamCreate(
team_name: "{topic}-team",
description: "{task description}"
)
Define each member's work clearly with TaskCreate. Members claim and work on their tasks.
Each member's prompt must include:
# Team: {team name}
# Your role: {specific role and perspective}
# Your task: {what to do}
## Context
{2-3 lines on what the project is}
{What is currently being worked on and why this team was launched}
{What roles the other team members have}
## What you must deliver
{Specific deliverables}
## Rules
- Read actual code/data and provide evidence. No guessing.
- If you disagree with other team members, rebut with evidence. Do not just agree.
- If uncertain, explicitly state that you are uncertain.
Do not throw it over assuming "they'll get it." Team members have no knowledge of our conversation.
Agent(
team_name: "{team name}",
name: "{role name}",
prompt: "{prompt above}",
run_in_background: true
)
Send all independent members simultaneously.
The core of Teams. The decisive difference from subagents.
SendMessage to relay member A's findings to member B.## Team Results: {task description}
### Team Composition
| Member | Role | Perspective |
|--------|------|-------------|
| {name} | {role} | {what perspective they examined from} |
### Key Findings
1. {Most important finding}
2. {Second}
### Discussion Summary (if applicable)
- {Issue}: {Member A} argues {claim} (evidence: ...), {Member B} argues {claim} (evidence: ...)
- **Conclusion:** {How it converged, or whether it remains unresolved}
### Recommended Next Actions
1. {Specific action}
### Confidence: HIGH / MEDIUM / LOW
TeamDelete()
Always clean up when the team is done. Do not leave orphan teams.
| Situation | What to Use |
|---|---|
| Tasks with definitive answers (search, verification, analysis) | Subagent (Agent tool) |
| Direction selection, design decisions, trade-offs | Teams (/team) |
| Tasks requiring discussion/counterarguments | Teams |
| Need results quickly | Subagent |
| Need to dig deep from multiple perspectives | Teams |