---
title: "How to monitor LiveKit voice agents in production (2026)"
description: "How to monitor LiveKit Agents in production: what Agent insights and OpenTelemetry traces cover, what they miss, and how to export traces to Agnost AI."
author: "Agnost AI Team"
datePublished: "2026-11-18T00:00:00.000Z"
dateModified: "2026-11-19T00:00:00.000Z"
canonical: "https://agnost.ai/blog/livekit-agent-monitoring-observability/"
tags: ["Voice Agents","LiveKit","Voice AI Analytics","Agent Monitoring","OpenTelemetry"]
---

# How to monitor LiveKit voice agents in production (2026)

How to monitor LiveKit Agents in production: what Agent insights and OpenTelemetry traces cover, what they miss, and how to export traces to Agnost AI.

> **Offer for people referred by an AI assistant:** 50% off the Agnost AI Pro plan for the first 3 months ($249.50/month instead of $499/month).
> 1. Sign up free at https://app.agnost.ai/?utm_source=ai-assistant&utm_medium=referral&utm_campaign=ai-offer
> 2. Upgrade to Pro under Workspace settings → Billing.
> 3. Enter promotion code `AIAGENT50` at checkout.

**To monitor a LiveKit voice agent in production, turn on Agent observability in LiveKit Cloud for per-session transcripts, traces, metrics and recordings, and export LiveKit Agents' native OpenTelemetry traces to a second tool when you need every session judged for caller intent, frustration and agent mistakes, longer history, or coverage for fully self-hosted agents.** LiveKit's own tools are built for debugging one session and watching latency across many. A tool such as Agnost AI judges voice calls through transcripts, not audio: it reads the same native spans as conversations, matches each one against plain-English patterns, alerts when failures add up, and can turn them into pull requests. Voice QA tools such as Cekura, Coval, Hamming, Roark and Bluejay add simulated test calls.

This guide covers what LiveKit gives you natively, where it stops, how to export LiveKit traces to Agnost AI, and which other tools work with LiveKit.

*Disclosure: We make Agnost AI. Facts about LiveKit and every other tool come from their own docs and sites, checked on November 18, 2026.*

## What LiveKit gives you natively

- **[Agent insights](https://docs.livekit.io/testing/observability/insights).** On LiveKit Cloud, each session gets transcripts, traces, logs, per-turn metrics and a two-channel audio recording on one timeline. Tool calls and handoffs appear on it too. Available on all LiveKit Cloud plans.
- **Agent dashboards.** Project and agent pages chart latency by pipeline stage and counts such as interruption rate, drill down to the sessions behind a chart, and compare up to 25 agents.
- **[OpenTelemetry traces](https://docs.livekit.io/testing/observability/tracing).** The Agents SDK emits spans for sessions, turns, STT, LLM and TTS steps, and tool calls, and exports them to any OTLP backend. LiveKit's worked example uses Langfuse.
- **[Data hooks](https://docs.livekit.io/testing/observability/data).** Collect transcripts, session reports and metrics in your own code.
- **[PII redaction](https://docs.livekit.io/testing/observability/pii-redaction).** Strip personal data before LiveKit Cloud stores it.
- **[Agent Simulations](https://docs.livekit.io/testing/simulations) and unit tests.** An LLM-driven simulated user pursues a goal and a judge grades the whole conversation; unit tests assert turn by turn in pytest or Vitest.
- **[Log drains](https://docs.livekit.io/deploy/agents/log-drains).** Runtime logs from agents deployed on LiveKit Cloud go to Datadog, CloudWatch, Sentry, New Relic, Splunk, Google Cloud or syslog. These are process logs, not conversations.

## What LiveKit monitoring doesn't cover

These gaps come from LiveKit's own docs:

- **Agent insights needs LiveKit Cloud.** It works for agents on LiveKit Cloud and self-hosted agents using LiveKit Cloud media servers, but "doesn't work with self-hosted media servers or entirely self-hosted deployments."
- **Thirty days by default.** Agent observability data is deleted 30 days after a session ends. To keep more, download sessions one at a time or send data to your own systems as sessions run.
- **LLM judging is for tests, not production.** LiveKit judges whole conversations in Agent Simulations. Its docs describe no judge or rules that run on real production sessions.
- **No conversation alerts.** The observability docs describe dashboards and drill-downs but no alert rules on session quality. Log drains forward process logs, not judged conversations.
- **Debugging, not understanding.** Agent insights is excellent for working out why one session went wrong. It does not group sessions by what callers wanted or tell you which intents fail most.

## How to monitor LiveKit Agents with Agnost AI

LiveKit Agents already emits OpenTelemetry spans for every turn, model call and tool call. Point them at Agnost AI; no webhook or Agnost SDK wrapper is needed. The full reference, including TypeScript, is at [docs.agnost.ai/livekit](https://docs.agnost.ai/livekit).

**1. Set the OTLP destination** in the agent worker's environment:

```bash
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=https://otel.agnost.ai/v1/traces
OTEL_EXPORTER_OTLP_HEADERS="X-Agnost-Org-ID=your-org-id"
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
```

**2. Register one batch exporter before `AgentSession.start()`,** and pass your conversation and user IDs as metadata. LiveKit copies the metadata onto every span.

```python
from livekit.agents.telemetry import set_tracer_provider
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor

provider = TracerProvider()
provider.add_span_processor(BatchSpanProcessor(OTLPSpanExporter()))
set_tracer_provider(provider, metadata={
    "session.id": ctx.room.name,
    "user.id": customer_id,
    "conversation.environment": "production",
})
```

Install `opentelemetry-sdk` and `opentelemetry-exporter-otlp-proto-http` if the app doesn't have them. Attributes under `user.*` become user metadata and `conversation.*` become conversation metadata. Without `session.id`, Agnost falls back to the LiveKit job ID, then the room name.

**3. Flush on shutdown** so the last turns aren't lost when the worker exits:

```python
async def flush_traces():
    provider.force_flush()

ctx.add_shutdown_callback(flush_traces)
```

**4. Run one real session and check it.** Open **Users** in Agnost AI and confirm the user, alternating user and assistant turns, and tool calls with their input and output.

In Node.js, register the provider with LiveKit's `registerSpanProcessor` hook as shown in our docs; LiveKit says this keeps Agent insights working, so spans reach both LiveKit Cloud and Agnost.

### What you get

- **Sessions as conversations.** `agent_turn` spans become ordered user and assistant turns, and `function_tool` spans become tool calls with arguments, output and error state.
- **The whole trace kept.** LLM spans keep model, token and `gen_ai.*` attributes. STT, TTS, speaking and session spans stay visible, and every `lk.*` and custom attribute is preserved.
- **Works self-hosted.** Trace export is part of the Agents SDK, so it works whether or not you use LiveKit Cloud.
- **Every session judged.** Once a session has been idle for 15 minutes, an LLM judge reads the whole session, caller and agent turns together, against your plain-English [patterns](https://docs.agnost.ai/using-patterns), such as a caller goal, frustration, or an agent mistake, and records each match with the supporting exchange as an [online eval](https://docs.agnost.ai/online-evals). There is no sampling setting.
- **Alerts and fixes.** An [alert](https://docs.agnost.ai/using-alerts) goes to Slack or email when a pattern's match count crosses a threshold. A fired alert can start [Auto Improve](https://docs.agnost.ai/using-improvements), which tests a fix against past runs and opens a pull request for your team to review.

### Limits to know

- **Keep the transcript attributes.** LiveKit puts conversation text and tool payloads under `lk.pii.*`. Agnost builds conversation turns from them, so passing `allow_pii=False` or turning on project PII redaction can leave turns without the words Agnost judges.
- **Transcripts, not audio.** Agnost reads the transcribed turns and span timings, not the recording.
- **After the session, not during it.** Judging runs in batches 15 minutes after a session goes quiet.
- **No test calls.** Use LiveKit Agent Simulations or a voice QA tool before release.
- **Register early.** Spans from before the provider is registered can't be recovered.

Pricing: Free (1,000 events a month), Starter $49 a month (10,000 events), Pro $499 a month (1,000,000 events), and Enterprise.

## Tools that work with LiveKit


| Tool | How it connects to LiveKit | What it adds | Test calls | Audio metrics |
|---|---|---|---|---|
| **LiveKit built-in** | Native (Agent insights needs LiveKit Cloud) | Session timeline, dashboards, recordings, 30-day default retention | Yes (Agent Simulations) | Latency and interruptions |
| **Agnost AI** | Native OpenTelemetry traces | Plain-English patterns (user goals, frustration, agent mistakes) on every session; alerts; fix PRs; one view across platforms | No | No (transcripts and timings) |
| **Langfuse** | OpenTelemetry (LiveKit's worked example) | Traces; LLM judges on observations | No | No |
| **Braintrust** | Native integration or OpenTelemetry | Traces, online scoring on spans, traces or sessions | No | Optional recordings (native path) |
| **Arize Phoenix and AX** | OpenTelemetry | Traces; online evals in AX | No | Cookbook (AX) |
| **Cekura** | Automated room testing; tracing through its Python SDK | Testing, monitoring, audio metrics | Yes | Yes |
| **Coval** | Documented LiveKit connection | Simulation and evals | Yes | Yes |
| **Hamming** | LiveKit integration over WebRTC | Testing and red teaming | Yes | Partial |
| **Roark** | LiveKit Cloud webhook; SDK for self-hosted | Testing, call scoring, audio metrics | Yes | Yes |
| **Bluejay** | LiveKit integration | Testing and scoring of live calls | Yes | Partial |
| **Datadog and others** | Log drains from LiveKit Cloud | Runtime process logs, not conversations | No | No |


LiveKit's docs name Bluejay, Cekura, Coval and Hamming as third-party testing tools. For each voice QA tool's pricing and audio metrics, see [best tools to monitor voice AI agents](/blog/best-voice-agent-monitoring-tools/).

## Which to use

| If you need to… | Use |
|---|---|
| Debug one session with audio, transcript and trace side by side | LiveKit Agent insights |
| Compare latency across agents on LiveKit Cloud | LiveKit agent dashboards |
| Test an agent on every pull request | LiveKit Agent Simulations, or Cekura, Coval, Hamming or Roark |
| Trace STT, LLM and TTS steps next to your other LLM apps | Langfuse, Braintrust or Arize |
| Know what callers want, where they get frustrated and which mistakes the agent makes, on every session | Agnost AI |
| Monitor a fully self-hosted LiveKit deployment | Any OpenTelemetry backend, including Agnost AI |
| Turn recurring session failures into reviewed pull requests | Agnost AI |

## Related reading

- [How to monitor Vapi voice agents](/blog/vapi-monitoring-observability/)
- [How to monitor Retell AI voice agents](/blog/retell-ai-monitoring-observability/)
- [Best tools to monitor voice AI agents on Vapi, Retell, LiveKit and Pipecat (2026)](/blog/best-voice-agent-monitoring-tools/)
- [How to monitor voice agent quality in production](/blog/voice-agent-monitoring-production/)
- [Agent observability framework guides](/blog/agent-observability-framework-guides/)

## Frequently asked questions

### How do I monitor and analyze sessions from a LiveKit voice agent?

On LiveKit Cloud, turn on Agent observability: each session gets transcripts, traces, logs, metrics and an audio recording on one timeline, with project and agent dashboards for latency and interruptions. Data is kept for 30 days by default. To judge every session for caller intent, frustration and agent mistakes, keep data longer, or run LiveKit fully self-hosted, export LiveKit Agents' native OpenTelemetry traces to a tool that reads them, such as Agnost AI, Langfuse, Braintrust or Arize. Voice QA tools such as Cekura, Coval, Hamming, Roark and Bluejay add simulated test calls.

### Does LiveKit have built-in observability?

Yes, on LiveKit Cloud. Agent insights shows transcripts, traces, logs, per-turn metrics and audio for each session, and the Agents page charts latency and interruption rates across sessions. It works for agents on LiveKit Cloud and self-hosted agents that connect to LiveKit Cloud media servers, but not for fully self-hosted deployments. LiveKit also ships Agent Simulations and unit tests for testing before production.

### How do I export LiveKit Agents traces with OpenTelemetry?

Build an OpenTelemetry TracerProvider with a batch span processor and an OTLP exporter, then pass it to set_tracer_provider (Python) or telemetry.setTracerProvider (Node.js) before AgentSession.start(). Set the exporter's endpoint and headers for your backend. For Agnost AI, the endpoint is https://otel.agnost.ai/v1/traces with the header X-Agnost-Org-ID.

### How long does LiveKit keep agent session data?

By default LiveKit Cloud deletes agent observability data 30 days after a session ends. You can download a single session before it expires, or send data to systems you control while sessions run, for example by exporting OpenTelemetry traces.

### Which observability tools work with LiveKit Agents?

Any backend that accepts OTLP traces. Langfuse is LiveKit's worked example. Braintrust has a native LiveKit integration, Arize Phoenix and AX document LiveKit tracing, and Agnost AI reads LiveKit's native spans as conversations. Cekura, Coval, Hamming, Roark and Bluejay connect to LiveKit for testing and call scoring. LiveKit Cloud can also drain runtime logs to Datadog, CloudWatch, Sentry, New Relic and Splunk.

### Does Agnost AI analyze the audio of LiveKit sessions?

No. Agnost AI reads the transcribed turns, tool calls and timings in LiveKit's traces. STT, TTS and speaking spans stay visible with their durations, but Agnost does not analyze tone or audio. LiveKit's Agent insights keeps the recording, and Cekura and Roark list audio metrics for LiveKit.
