Get Agent • AI Agent SDK
get_agent: Get the current agent.
get_agent
Method
</div>
This is a method of the BotProtocol class in the protocols module.
Get the current agent.
Signature
def get_agent() -> Optional['Agent']Returns
ResponseField
Optional['Agent']The result of the operation.
Source
View on GitHubpraisonaiagents/bots/protocols.py at line 1108