Get Spawned Agents • AI Agent SDK
get_spawned_agents: Get list of currently spawned sub-agents.
get_spawned_agents
Method
</div>
This is a method of the AgentTeam class in the agents module.
Get list of currently spawned sub-agents.
Signature
def get_spawned_agents() -> List[SpawnedSubAgent]Returns
ResponseField
List[SpawnedSubAgent]The result of the operation.
Source
View on GitHubpraisonaiagents/agents/agents.py at line 4602