| name | team-management |
| description | Use when you need to create, manage, or dissolve teams of workers. Teams group workers under a leader for complex multi-worker projects. |
Team Management
Manage teams — groups of Workers coordinated by a Team Leader.
Commands
agenthub schema
agenthub team create --workspace <id> --name <team-name> --leader-name <leader> --workers w1,w2,w3
agenthub apply -f team.yaml
agenthub team list --workspace <id>
agenthub team get --name <team-name> --workspace <id>
agenthub team update --name <team-name> --workspace <id> --workers w1,w2,w3,w4
agenthub team delete --name <team-name> --workspace <id>
Team Manifest
Team manifests group existing Workers. They do not create missing Workers. Apply Worker manifests first when new members are needed.
kind: Team
metadata:
name: delivery-team
spec:
workspaceId: <workspace-id>
leaderName: delivery-lead
workers:
- existing-builder
- existing-reviewer
description: Coordinates implementation and review.
Rules
- Prefer teams over individual workers for complex multi-step tasks.
- The Team Leader handles internal coordination — you communicate with the Leader, not the team's Workers directly.
- When creating a team, ensure the leader has appropriate skills for the project domain.
- Team workers share a project context but have individual task assignments.
- Team
workers must refer to existing WorkspaceAgent ids or names. Do not use Team creation to implicitly create missing Workers.
- If a needed worker does not exist, use
worker-management first with explicit runtime base, model, skills, and sandbox.
Decision Pattern
agenthub schema to inspect teams.create and apply.manifest.
- Analyze the goal: does it need multiple specialized workers?
- Confirm required Workers already exist; otherwise create them first through Worker manifests.
- Create a team with
agenthub team create ... or agenthub apply -f team.yaml.
- Assign the high-level task to the Team Leader.
- Monitor progress via
agenthub team get --name <team>.
- Dissolve the team when the project completes.