> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# steer • AI Agent SDK

> steer: Send a steering message to the agent during execution.

# steer

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**AgentSteeringProtocol**](../classes/AgentSteeringProtocol) class in the [**protocols**](../modules/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 theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def steer(message: str, priority: int) -> str
```

## Parameters

<ParamField query="message" type="str" required={true}>
  The steering message
</ParamField>

<ParamField query="priority" type="int" required={false} default="5">
  Message priority (higher = more urgent)
</ParamField>

### Returns

<ResponseField name="Returns" type="str">
  Message ID for tracking
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/protocols.py#L556">
  `praisonaiagents/agent/protocols.py` at line 556
</Card>
