Skip to content

Steering Directives

AI steering directives for dynamic control of AI behavior. See the AI Steering Directives guide for usage examples.

SteeringDirective module-attribute

SteeringDirective = InjectMessage | Cancel | UpdateSystemPrompt

Cancel

Bases: BaseModel

Cancel an active tool loop.

UpdateSystemPrompt

Bases: BaseModel

Append text to the system prompt between tool rounds.

InjectMessage

Bases: BaseModel

Inject a message into the AI context between tool rounds.

DeleteContent

Bases: BaseModel

Deletion of a previously sent message.

EditContent

Bases: BaseModel

Edit of a previously sent message.