androidengineers.Book a session

Streaming, voice, and interactive agents

Lab: simulate an interruptible conversation

exerciseSelf-paced

Assignment

Use timed text events to simulate speech recognition and model streaming. A microphone or paid speech service is not required for the state-machine exercise.

Build sequence

  1. Assign turn IDs to inputs, partial outputs, and tool proposals.
  2. Interrupt a turn and deliver its remaining events late.
  3. Simulate a slow client and bound buffered output.
  4. Reconnect the client and show the persisted task/proposal state.

Acceptance checks

  • Stale events cannot replace the current turn.
  • Partial transcripts never authorize writes.
  • Cancellation reports whether work stopped before or after any committed effect.

Evidence to keep

Submit the working artifact or decision document described above, the inputs used, and the observed results for every acceptance check. Include one failed attempt and the change you made after investigating it. Label fixture-based outcomes separately from live-system measurements. These artifacts become part of your final portfolio review.

YOUR LEARNING JOURNEY

0 of 118 available lessons completed

Progress saved in this browser. No account needed.
Lab: simulate an interruptible conversation | Agentic AI | Android Engineers