List Agents • AI Agent SDK

list_agents: List all registered agent IDs.

list_agents

Method

</div>

This is a method of the GatewayProtocol class in the protocols module.

List all registered agent IDs.

Diagram

Input Data

Agent: list_agents

Output Result

Signature

python
def list_agents() -> List[str]

Returns

ResponseField List[str]

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1404


Related Documentation