Skip to main content

MessageSteeringProtocol

Defined in the protocols module.
AI Agent Protocol for message steering during agent execution. This protocol enables real-time communication with agents during long-running operations, allowing users to provide mid-execution guidance, feedback, and course corrections.

Methods

queue_message()

Queue a steering message for the agent.

get_pending_messages()

Get all pending steering messages.

process_steering()

Process any pending steering messages and update execution context.

clear_messages()

Clear all pending messages.

has_pending_messages()

Check if there are pending steering messages.

enabled()

Whether message steering is enabled.

Usage

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 454