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

# Stream Turn • AI Agent SDK

> stream_turn: Stream response deltas from runtime execution.

# stream\_turn

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

> This is a method of the [**AgentRuntimeProtocol**](../classes/AgentRuntimeProtocol) class in the [**protocols**](../modules/protocols) module.

Stream response deltas from runtime execution.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def stream_turn(prompt: str) -> AsyncIterator[RuntimeDelta]
```

## Parameters

<ParamField query="prompt" type="str" required={true}>
  User prompt/query \*\*kwargs: Additional options (system\_prompt, model\_ref, etc.) RuntimeDelta objects with incremental response content
</ParamField>

### Returns

<ResponseField name="Returns" type="AsyncIterator[RuntimeDelta]">
  The result of the operation.
</ResponseField>

## Source

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