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

python
def steer(message: str, priority: int) -> str

Parameters

ParamField str

The steering message

ParamField int

Message priority (higher = more urgent)

Returns

ResponseField str

Message ID for tracking

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 556