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.

Diagram

Input Data

Agent: get_spawned_agents

Output Result

Signature

python
def get_spawned_agents() -> List[SpawnedSubAgent]

Returns

ResponseField List[SpawnedSubAgent]

The result of the operation.

Source

View on GitHub

praisonaiagents/agents/agents.py at line 4602


Related Documentation