> ## 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.

# Get Pending Messages • AI Agent SDK

> get_pending_messages: Get all pending steering messages.

# get\_pending\_messages

Method

> This is a method of the [**MessageSteeringProtocol**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/MessageSteeringProtocol.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

Get all pending steering messages.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_pending_messages() -> List[Any]
```

### Returns

**Returns** `List[Any]`

List of pending messages ordered by priority

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/protocols.py#L494)
>
> `praisonaiagents/agent/protocols.py` at line 494


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.