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

# Run Turn • AI Agent SDK

> run_turn: Execute a single turn using the prepared context.

# run\_turn

AsyncMethod

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

Execute a single turn using the prepared context.

This is the main execution entry point for all runtime types.
The context is immutable and contains all necessary configuration
for the turn execution.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def run_turn(context: PreparedTurnContext) -> str
```

## Parameters

**context** `PreparedTurnContext` *required*

The prepared turn context containing model, tools, transcript, delivery channels, and correlation IDs

### Returns

**Returns** `str`

The agent's response as a string

### Exceptions

> [accordion] RuntimeError
>
> If execution fails

> [accordion] ValueError
>
> If context is invalid or incompatible

## Source

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


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