Skip to content

latent.wire.providers.native

Native AgentProtocol provider for aisdk-stream-adapter.

This provider bridges the agent-studio AgentProtocol event hierarchy (TextDelta, ReasoningDelta, ToolCall, ToolResult, StepBoundary, Usage, Error) to the stream adapter's NormalizedEvent hierarchy for AI SDK UI protocol encoding.

Requires the native extra: pip install aisdk-stream-adapter[native]