Expand description
Team collaboration — persistent multi-agent project coordination.
A Team is a named group of agents that share a task list and communicate
via a mailbox. Teams persist on disk at ~/.telos/teams/{name}/config.json.
Key concepts:
- Team = Project = TaskList (1:1 mapping to shared task directories)
- Lead — the agent that created the team, coordinates work
- Members — agents spawned to help with specific tasks
- Mailbox — async message passing between team members
§Lifecycle
- Lead calls TeamCreate → team file written, shared task list initialized
- Lead creates tasks via TaskCreate/TodoWrite
- Lead spawns teammates via SubagentTool with team context
- Teammates claim tasks, work, and SendUserMessage to coordinate
- TeamDelete when work is complete (fails if members still active)
Structs§
- Team
Config - On-disk team configuration.
- Team
Member - A team member record.
Functions§
- cleanup_
team - Delete a team from disk (config + tasks directory).
- has_
active_ members - Check if a team has any active (non-lead) members, which would prevent deletion.
- lead_
agent_ id - Deterministic lead agent ID.
- load_
team_ config - Load a team config from disk.
- save_
team_ config - Save a team config to disk.
- team_
config_ path - Path to a team’s config file.
- team_
tasks_ dir - Path to a team’s shared task directory.
- teams_
root - Team root directory under the user’s home.