Process Steering • AI Agent SDK

process_steering: Process any pending steering messages and update execution context.

process_steering

Method

</div>

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

Process any pending steering messages and update execution context.

This method is called during agent execution to check for and process any steering messages that have been queued.

Signature

python
def process_steering(context: Optional[Dict[str, Any]]) -> bool

Parameters

ParamField Optional

Optional execution context to update

Returns

ResponseField bool

True if messages were processed, False otherwise

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 503