Session Continuation Pattern at Bankruptcy Data Company Stretto: Enabling Voice AI to Surpass Streaming Session Duration Limits
The voice AI agent Tara, built by Stretto and CI&T for bankruptcy telephone interviews, faces a specific engineering constraint: complete interviews require 15 to 20 minutes, exceeding the maximum duration of a single streaming session on Amazon Nova 2 Sonic. The team treated this limit as a design parameter and implemented a session continuation pattern.
Bankruptcy services data company Stretto and AWS partner CI&T co-authored an article on the Amazon Machine Learning Blog detailing their production deployment experience with their voice AI agent, Tara. Tara is used to answer calls from individuals seeking bankruptcy advice on the Bankruptcy.com website, conducting structured pre-bankruptcy interviews. A specific engineering constraint shaped the core of the technical narrative: the full attorney-designed interview takes 15 to 20 minutes, which exceeds the maximum duration of a single streaming session on Amazon Nova 2 Sonic. Rather than treating this limitation as a defect to be avoided, the team viewed it as a design parameter, leading to the development of a session continuation pattern.
The mechanism of the session continuation pattern works as follows: a voice bridging layer continuously tracks how long the bidirectional audio stream between the caller and Nova 2 Sonic has been active. Approaching the limit, it opens a new stream using the same system prompt and tool configuration, feeding in the conversation history thus far as text. Once Tara completes her current response, the bridging layer switches the caller's audio to the new stream while closing the old one. To the caller, the conversation seamlessly continues at the response boundary, without them perceiving that a session switch occurred underneath.
The portability of this pattern lies in its independence from model improvements; it handles constraints at the orchestration layer. Any team building a telephone agent using streaming voice models will encounter the conflict between single-session duration limits and real-world conversation lengths. The timing of the switch described in the article—after the model finishes its current response—is a key design choice: switching mid-response would cause audio breaks for the caller, while switching before the response begins might mean the model has not yet output a complete semantic unit.