Get Agent • AI Agent SDK

get_agent: Get a registered agent by ID.

get_agent

Method

</div>

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

Get a registered agent by ID.

Diagram

Input Data

Agent: get_agent

Output Result

Signature

python
def get_agent(agent_id: str) -> Optional['Agent']

Parameters

ParamField str

No description available.

Returns

ResponseField Optional['Agent']

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1400


Related Documentation