> ## 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 Emitter • AI Agent SDK

> stream_emitter: Aggregate ``StreamEventEmitter`` fanning in member agents' events.

# stream\_emitter

Method

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

Aggregate `StreamEventEmitter` fanning in member agents' events.

Lazily created on first access. On creation it registers a forwarding
callback on each member agent's own `stream_emitter` so per-step
events (tool calls, text/reasoning deltas, retries, errors) surface on a
single team-level emitter, each tagged with the emitting agent's
`agent_id`. This gives a single attach point (e.g. the CLI
`--output stream-json` bridge) parity with single-agent runs.

Zero-overhead when unused: nothing is wired unless this property is
accessed, and forwarding only tags `agent_id` when the source event
did not already carry one.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def stream_emitter() -> Any
```

### Returns

**Returns** `Any`

The result of the operation.

## Uses

* `StreamEventEmitter`

## Source

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


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