For 0.24.0, the recommended pattern is to create the client config with a factory helper, start the client with async with AgenTaoClient(config), register event handlers, and then call run_forever().
If your application needs to read from audio_stream() and write with send_audio() independently, use asyncio.TaskGroup and a queue so neither side blocks the other.
ActiveCall