[FEATURE] BidiAgent: separate text and reasoning streaming events
Author: pgrayyCreated Sep 22, 2026Updated Sep 22, 2026
Labelsenhancementpythonarea-bidirectional-streaming
SDK Language
Python
Problem Statement
Bidi model text currently flows through transcript events, without a separate event type for reasoning. Applications need to distinguish generated text, provider-exposed reasoning, and speech transcription.
Proposed Solution
- Introduce dedicated text and reasoning streaming events, consistent with existing event conventions.
- Update provider adapters to emit these events and reserve transcript events for speech transcription.
- Update ConsoleIO to consume and render the new events, keeping reasoning distinct from response text and transcripts.
- Update message handling, exports, tests, and documentation to preserve these distinctions.
Use Case
Display and process text responses and reasoning independently of audio transcripts in a bidi conversation.
Additional Context
Parent epic: #1722. Related response-boundary and transcript-history work: #4502.
Source: strands-agents/harness-sdk