Mar 02 12:27:54 ip-172-31-11-124 sarvam-cellassist...
# ask-ai
b
Mar 02 122754 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 122754.688 INFO livekit.agents EOU metrics Mar 02 122754 ip-172-31-11-124 sarvam-cellassist-agent[223435]: {"model_name": "unknown", Mar 02 122754 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "model_provider": "vad", "end_of_utterance_delay": 0.0, "transcription_delay": Mar 02 122754 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 0.0, "pid": 223861, "job_id": "AJ_rCe996h9ncka", "room_id": "RM_DD9esEgkXhUu"} Mar 02 122754 ip-172-31-11-124 sarvam-cellassist-agent[223861]: INFO Agent state changed: thinking Mar 02 122756 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122756] INFO Agent state changed: speaking Mar 02 122756 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 122756.508 INFO livekit.agents LLM metrics Mar 02 122756 ip-172-31-11-124 sarvam-cellassist-agent[223435]: {"model_name": "gpt-4.1", Mar 02 122756 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "model_provider": "api.openai.com", "ttft": 1.0, "prompt_tokens": 6856, Mar 02 122756 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "prompt_cached_tokens": 6784, "completion_tokens": 35, "tokens_per_second": Mar 02 122756 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 19.26, "pid": 223861, "job_id": "AJ_rCe996h9ncka", "room_id": "RM_DD9esEgkXhUu"} Mar 02 122759 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 122759.847 INFO livekit.agents TTS metrics Mar 02 122759 ip-172-31-11-124 sarvam-cellassist-agent[223435]: {"model_name": "bulbul:v3", Mar 02 122759 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "model_provider": "Sarvam", "ttfb": 0.24697375996038318, "audio_duration": 8.62, Mar 02 122759 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "pid": 223861, "job_id": "AJ_rCe996h9ncka", "room_id": "RM_DD9esEgkXhUu"} Mar 02 122803 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122803] INFO User state changed: speaking Mar 02 122803 ip-172-31-11-124 sarvam-cellassist-agent[223861]: INFO Agent state changed: listening Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122804] INFO User state changed: listening Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223861]: INFO STT FINAL ts=1772454484.772914 sid=None Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223861]: text='Doctor John' Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 122804.772 INFO livekit.agents STT metrics Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: {"model_name": "saaras:v3", Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "model_provider": "Sarvam", "audio_duration": 1.76, "pid": 223861, "job_id": Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "AJ_rCe996h9ncka", "room_id": "RM_DD9esEgkXhUu"} Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 122804.774 DEBUG livekit.agents received user transcript Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: {"user_transcript": "Doctor John", Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "language": "en-IN", "transcript_delay": 0.9202561378479004, "pid": 223861, Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "job_id": "AJ_rCe996h9ncka", "room_id": "RM_DD9esEgkXhUu"} Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 122804.780 INFO livekit.agents EOU metrics Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: {"model_name": "unknown", Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "model_provider": "vad", "end_of_utterance_delay": 0.92, "transcription_delay": Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 0.92, "pid": 223861, "job_id": "AJ_rCe996h9ncka", "room_id": "RM_DD9esEgkXhUu"} Mar 02 122804 ip-172-31-11-124 sarvam-cellassist-agent[223861]: INFO Agent state changed: thinking Mar 02 122806 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 122806.293 INFO livekit.agents LLM metrics Mar 02 122806 ip-172-31-11-124 sarvam-cellassist-agent[223435]: {"model_name": "gpt-4.1", Mar 02 122806 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "model_provider": "api.openai.com", "ttft": 1.13, "prompt_tokens": 6898, Mar 02 122806 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "prompt_cached_tokens": 6784, "completion_tokens": 24, "tokens_per_second": Mar 02 122806 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 15.9, "pid": 223861, "job_id": "AJ_rCe996h9ncka", "room_id": "RM_DD9esEgkXhUu"} Mar 02 122806 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122806] INFO Agent state changed: speaking Mar 02 122808 ip-172-31-11-124 sarvam-cellassist-agent[223435]: 122808.361 INFO livekit.agents TTS metrics Mar 02 122808 ip-172-31-11-124 sarvam-cellassist-agent[223435]: {"model_name": "bulbul:v3", Mar 02 122808 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "model_provider": "Sarvam", "ttfb": 0.26153883687220514, "audio_duration": 5.04, Mar 02 122808 ip-172-31-11-124 sarvam-cellassist-agent[223435]: "pid": 223861, "job_id": "AJ_rCe996h9ncka", "room_id": "RM_DD9esEgkXhUu"} Mar 02 122811 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122811] INFO Agent state changed: listening Mar 02 122813 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122813] INFO User state changed: speaking Mar 02 122814 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122814] INFO User state changed: listening Mar 02 122815 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122815] INFO User state changed: speaking Mar 02 122815 ip-172-31-11-124 sarvam-cellassist-agent[223861]: INFO User state changed: listening Mar 02 122822 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122822] INFO User state changed: speaking Mar 02 122823 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122823] INFO User state changed: listening Mar 02 122827 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122827] INFO User state changed: speaking Mar 02 122828 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122828] INFO User state changed: listening Mar 02 122829 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122829] INFO User state changed: speaking Mar 02 122830 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122830] INFO User state changed: listening Mar 02 122832 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122832] INFO User state changed: speaking Mar 02 122834 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122834] INFO User state changed: listening Mar 02 122844 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122844] INFO User state changed: away Mar 02 122847 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122847] INFO User state changed: speaking Mar 02 122848 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122848] INFO User state changed: listening Mar 02 122849 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122849] INFO User state changed: speaking Mar 02 122852 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122852] INFO User state changed: listening Mar 02 122853 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122853] INFO User state changed: speaking Mar 02 122854 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122854] INFO User state changed: listening Mar 02 122904 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122904] INFO User state changed: away Mar 02 122925 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122925] INFO User state changed: speaking Mar 02 122927 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122927] INFO User state changed: listening Mar 02 122928 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122928] INFO User state changed: speaking Mar 02 122930 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122930] INFO User state changed: listening Mar 02 122931 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122931] INFO User state changed: speaking Mar 02 122933 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122933] INFO User state changed: listening Mar 02 122934 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122934] INFO User state changed: speaking Mar 02 122936 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122936] INFO User state changed: listening Mar 02 122937 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122937] INFO User state changed: speaking Mar 02 122939 ip-172-31-11-124 sarvam-cellassist-agent[223861]: [2026-03-02 122939] INFO User state changed: listening in this logs agent goes in silent mode
t
Thanks for reaching out, Tejas. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I reviewed the logs you shared and the behavior you’re asking about (the agent entering a “silent mode”). Below is a concise analysis and next steps you can take to verify and address it. What I’m responding to • Your logs show the agent receiving and responding to speech, then later the user state repeatedly toggles and becomes
away
twice (122844 and 122904). You observed the agent becoming effectively silent during those periods. What’s happening (summary) • The agent successfully processed input (“Doctor John”), invoked the LLM, and produced TTS as expected. • At 122844 and again at 122904 the logs show:
INFO User state changed: away
. • The
away
state is triggered when the system detects prolonged user inactivity (speech not detected for the configured
user_away_timeout
, default 15.0s). • When the user is marked
away
, the agent remains in a `listening`/idle mode waiting for user speech; it will not proactively speak while the user is
away
. That is why it appears to go “silent.” Why the silence appears • The silence is caused by user inactivity leading to
away
. The agent is not necessarily failing — it’s following the session logic that treats
away
as an inactive user and inhibits proactive responses. • Two possibilities to consider from the logs: ◦ The agent stayed in
listening
awaiting user input (expected behavior) and thus didn’t produce further output during the
away
window. ◦ If you expected the agent to proactively re-engage after inactivity, there may be a configuration or application-level timer that prevents the agent from initiating speech while the user is
away
. Quick checks to confirm 1. Verify the configured
user_away_timeout
value in your agent/session settings (default is 15s). If it’s shorter than expected, the agent will mark users away sooner. 2. Confirm whether your application logic lets the agent initiate speech when user state is
away
. If not, the agent will remain silent until user speech resumes. 3. Inspect logs for any Agent state changes after 122811 — in your sample the last agent state change to
listening
is at 122811; if the agent later changed to `thinking`/`speaking` those entries would confirm it re-engaged. 4. Check for any session timeouts or errors in other surrounding logs (network issues, process restarts) that might coincide with prolonged silence. Actions you can take • If you want the agent to re-engage after a short inactivity window: ◦ Increase or decrease
user_away_timeout
to match your expected pause length. ◦ Implement logic that allows the agent to proactively prompt the user after
away
(for example: “Are you still there?”) if that fits your UX. • If you want to keep the current timeout but need better visibility: ◦ Add logging around Agent state transitions (especially after
away
) to capture whether the agent attempted to change state. ◦ Log timestamps for any proactive prompts from the agent and for network / resource errors. If you’d like, I can help with one of the following next steps: • Walk through how to find and change
user_away_timeout
in your configuration (tell me where you store agent/session settings). • Suggest a small code snippet or state-machine change to let the agent prompt after
away
. • Review additional log ranges (before/after 12:27 and after 12:29) to confirm whether agent state changes were lost from this sample. Which of those would be most helpful? Sources: Agent session | LiveKit Documentation