Agent ID • AI Agent SDK

agent_id: ID of the agent handling this session.

agent_id

Method

</div>

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

ID of the agent handling this session.

Diagram

Input Data

Agent: agent_id

Output Result

Signature

python
def agent_id() -> Optional[str]

Returns

ResponseField Optional[str]

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1256


Related Documentation