register_agent
Method
This is a method of the GatewayProtocol class in the protocols module.Register an agent with the gateway.
Signature
Parameters
The agent to register
Optional custom agent ID
Returns
The agent ID (generated if not provided)
Register an agent with the gateway.
This is a method of the GatewayProtocol class in the protocols module.Register an agent with the gateway.
def register_agent(agent: 'Agent', agent_id: Optional[str]) -> str