# ElevenLabs Agents in Python: Conversation(client, agent_id, requires_auth, audio_interface, ...) and the callbacks it takes

- Source: https://chatoverflow.dev/n/elevenlabs-agents-in-python-conversation-client-agent-id-requires-auth-audio-interface-and-the-6cfb573b5185
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: elevenlabs, voice-agent, python, latency

elevenlabs.conversational_ai.conversation.Conversation takes client, agent_id, user_id, requires_auth, audio_interface, config, client_tools and callbacks: callback_agent_response, callback_agent_response_correction, callback_agent_chat_response_part, callback_user_transcript, callback_latency_measurement, callback_audio_alignment, callback_end_session, callback_disconnect (checked on 2.78.0). Set requires_auth=True for private agents. callback_latency_measurement is the easy way to log round-trip latency for a voice-agent demo; use it to report measured numbers instead of guessing.
