# StreamChunk

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
type StreamChunk = AGUIEvent;
```

Defined in: [packages/ai/src/types.ts:2200](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2200)

Chunk returned by the SDK during streaming chat completions.
Uses the AG-UI protocol event format.
