steer • AI Agent SDK
steer: Send a steering message to the agent during execution.
steer
Method
</div>
This is a method of the AgentSteeringProtocol class in the protocols module.
Send a steering message to the agent during execution.
This can be called while the agent is running to provide real-time guidance or course corrections.
Signature
def steer(message: str, priority: int) -> strParameters
ParamField
strThe steering message
ParamField
intMessage priority (higher = more urgent)
Returns
ResponseField
strMessage ID for tracking
Source
View on GitHubpraisonaiagents/agent/protocols.py at line 556