Get Agent • Rust 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 gateway module.

Get a registered agent by ID.

Diagram

Input Data

Agent: get_agent

Output Result

Signature

python
def get_agent(&self, agent_id: &str) -> Option<Arc<Agent>>

Parameters

ParamField &str

No description available.

Returns

Rust Agent Rust Overview Rust Quickstart Rust Installation Rust Autonomy