Skip to main content

Module team_manage

Module team_manage 

Source
Expand description

Dynamic team management tools: team_add_role, team_remove_role, team_list_roles.

These tools give a coordinator agent the ability to create and destroy specialist roles at runtime — analogous to Fake CC’s TeamCreateTool and TeamDeleteTool.

The shared state is an Arc<tokio::sync::RwLock<AgentPool>> passed into each tool constructor so all three tools see the same pool.

Structs§

TeamAddRole
Add or update a role in the shared AgentPool at runtime.
TeamListRoles
List all roles currently registered in the shared AgentPool.
TeamRemoveRole
Remove a role from the shared AgentPool.