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

# streaming • AI Agent SDK

> PraisonAI Streaming Module.

# streaming

<Badge color="blue">AI Agent</Badge>

PraisonAI Streaming Module.

Provides the StreamEvent protocol for pass-through streaming from LLM providers.

This module is lazily loaded to ensure zero performance impact when streaming
features are not used.

Usage:
from praisonaiagents.streaming import (
StreamEvent,
StreamEventType,
StreamMetrics,
StreamEventEmitter,
create\_text\_printer\_callback,
)

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import streaming
```
