what are the values for agent_state and user_state
# ask-ai
h
what are the values for agent_state and user_state
✅ 1
t
Thanks for reaching out, Sahil. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — regarding the values for
agent_state
and `user_state`: • agent_state ◦
initializing
— session is setting up; no audio/video processing yet ◦
listening
— agent is listening for user input ◦
thinking
— agent is processing input and generating a response ◦
speaking
— agent is speaking; audio being generated ◦
idle
— agent is ready but not currently processing input • user_state ◦
speaking
— user has started speaking ◦
listening
— user has stopped speaking ◦
away
— user is not present (disconnected or inactive); triggered after
user_away_timeout
(default 15.0s) If you want, I can point you to the docs for these fields or show where
user_away_timeout
is configured. Sources: Agent session | LiveKit Documentation | Turns overview | LiveKit Documentation, with interactive elements