Open source LLM observability for voice agents: tools you can self-host
By Supriya · · 16 min read

Open source LLM observability tools were built for text. A voice call adds audio, streaming stages and a phone leg that the LLM never sees. This guide covers which open source LLM observability tools you can run yourself, and what each one actually captures from a voice agent. It focuses on tracing and logs. It sits under observability and evals on AI Voice Base. For the choice of framework itself, read the voice agent framework comparison.
Observability: the ability to explain why a system behaved as it did, from the traces, logs and metrics it emits. See observability in Voicepedia.
Facts below come from GitHub repositories, licence files and vendor docs opened on 24 November 2026. Pipecat and LiveKit are the two voice frameworks covered, and both are listed on AI Voice Base: LiveKit and Pipecat.
How we chose
The tools were picked with four rules for self hosted LLM observability that still works for a phone call:
- You can run it yourself. The server, not just a client SDK, is available to self-host.
- It ingests OpenTelemetry. Voice frameworks already emit it, so no custom shipping code.
- A voice framework documents the integration. Pipecat or LiveKit docs, or the tool's own docs, name it.
- Licence read from the repo. We quote the licence file, and say when README and licence disagree.
Featured, sponsored and affiliate status played no part. We did not install or benchmark any tool, so no performance claim here is ours. Most of these projects are not listed on AI Voice Base, so they are named without links.
The tools at a glance
| Tool | Licence (repo) | Self-host stack | Voice integrations in docs | Audio |
|---|---|---|---|---|
| OpenTelemetry (GenAI conventions) | Apache-2.0 | None: it is a spec | Pipecat, LiveKit emit it | Token fields and a user speech span; no STT or TTS span |
| Langfuse | MIT, except ee folders | Web, worker, Postgres, ClickHouse, Redis, S3 | LiveKit, Pipecat via OTLP | Attachments: mp3, wav, ogg and more |
| Arize Phoenix | Elastic License 2.0 | One container or Helm | Pipecat, LiveKit Agents | Playback not confirmed for Phoenix |
| Opik | Apache-2.0 | Docker Compose or Helm | Pipecat, LiveKit Agents | Not documented |
| OpenLIT | Apache-2.0 | Docker Compose or Kubernetes | Not named in README | Not documented |
| Grafana stack | AGPL-3.0 (Grafana, Tempo, Loki), Apache-2.0 (Prometheus) | Several services | Pipecat lists Grafana | None for audio |
"Not documented" means the page I read did not say. It is not a claim that the feature is missing.
What a voice call looks like as a trace
A text agent makes one LLM call per request. A voice agent runs a chain of streaming stages, and every stage adds latency. A trace is a tree of timed spans, so the chain maps onto it directly.
conversation (one call)
└── turn 7
├── stt transcript, is_final, ttfb
├── llm messages, tokens, ttft
│ └── tool inputs, outputs, duration
└── tts characters, ttfb
Pipecat's tracing docs use exactly this shape: a conversation span holds turn spans, and each turn holds stt, llm and tts spans. Realtime speech-to-speech models get a different shape with llm_setup, llm_response and llm_tool_call spans.
Here is how each hop in a call maps to a span, a field, and a gap.
| Hop | What to time | Where it shows up | Gap |
|---|---|---|---|
| Telephony or WebRTC leg | Setup, jitter, loss | Carrier records, not AI spans | Neither framework traces the carrier |
| Endpointing and turn detection | Silence to end of turn (turn latency) | LiveKit end_of_utterance_delay (end of utterance); Pipecat turn span | Server-side turn detection emits no EOU metric in LiveKit |
| Speech-to-text | First partial, final transcript | Pipecat stt span; LiveKit STT metrics | LiveKit streaming STT duration is always 0 |
| LLM | Time to first token, tokens | ttft, token counts | Realtime models skip per-stage fields |
| Text-to-speech | Time to first byte, characters | ttfb, characters_count | Playback delay is a different number |
| Playback and interruption | Mouth-to-ear, barge-in | Pipecat interrupted flag; LiveKit e2e_latency | Network delay to the caller is not measured |
Sources: Pipecat tracing docs and LiveKit data hooks. For why each stage matters, see latency and barge-in.
OpenTelemetry and the GenAI semantic conventions
OpenTelemetry LLM tracing is the common layer for any LLM tracing open source stack. It is the transport, not a backend. A framework emits spans over OTLP, and any compatible store ingests them. The GenAI semantic conventions define the attribute names, such as gen_ai.operation.name and gen_ai.usage.input_tokens.
Three facts matter for voice, all from the GenAI conventions repository (Apache-2.0):
- Status is Development. Names can still change. LiveKit's docs show it: Agents 1.8.0 renamed
gen_ai.system.messagetogen_ai.system_instructions. - There is a realtime page. It defines a
realtime_inferencespan for models such as OpenAI Realtime and Gemini Live. It also has audio token attributes, such asgen_ai.usage.audio.input_tokens, and an optional user speech span. - Audio coverage is partial. For OpenTelemetry GenAI semantic conventions for audio, you get token fields and one speech span, not a full model of a call.
- There is no STT or TTS operation. I found no speech-to-text or text-to-speech span in the registry. Cascaded pipelines still need custom span names, which is why Pipecat uses
sttandtts.
Best for: anyone who wants to avoid lock-in. Instrument once, swap the backend later.
Skip if: you need a UI today. It is a spec, so you still pick a store.
Langfuse
Langfuse is the most complete open source LLM observability choice for voice today. It can keep audio next to the trace. Langfuse self hosted is a supported, documented path. Its LICENSE file says content outside the ee folders is "MIT Expat". The ee folders carry a separate licence. Langfuse says some add-on features need a licence key, and lists Organization Creators, the Instance Management API and UI customisation as enterprise features. The LICENSE copyright line names ClickHouse, Inc.
Self-hosting. Langfuse's docs list four required stores: PostgreSQL, Redis or Valkey, ClickHouse and S3-compatible blob storage. Docker Compose is for a single VM and has no high availability or backups. Production uses Helm on Kubernetes, or the AWS, Azure and GCP templates. The scaling page gives minimum sizes:
| Component | Minimum |
|---|---|
| Web container | 2 CPU, 4 GiB |
| Worker container | 2 CPU, 4 GiB |
| PostgreSQL | 2 CPU, 4 GiB |
| Redis or Valkey | 1 CPU, 1.5 GiB |
| ClickHouse | 2 CPU, 8 GiB |
| Blob storage | Serverless S3, or SeaweedFS or MinIO (2 CPU, 4 GiB) |
What it captures for voice. Langfuse takes OTLP traces at /api/public/otel/v1/traces. LiveKit's docs use Langfuse as the worked example. Langfuse's LiveKit changelog lists traces for sessions, agent turns, LLM nodes, tool calls, text-to-speech and end-of-turn detection. Pipecat's docs list Langfuse as a supported backend.
Audio. Can Langfuse store call audio? Yes. Its multi-modality docs list audio attachments (mp3, wav, ogg, plus oga, aac, m4a, flac, opus and weba). Files go to your S3 bucket through presigned URLs. The default cap is 1 GB per attachment. In self-hosting, the bucket needs a publicly resolvable hostname, because SDKs upload directly and browsers fetch from it.
Gotchas. LiveKit's docs say to send the header x-langfuse-ingestion-version=4. Without it, spans can take up to 10 minutes to appear. Self-hosted instances also report basic usage statistics by default. Set TELEMETRY_ENABLED=false to opt out.
Best for: teams that want transcripts, token use and call audio in one place, and can run ClickHouse.
Skip if: you have one VM and no ops time. Six moving parts is a lot for a pilot.
Arize Phoenix
Arize Phoenix is built on OpenTelemetry and OpenInference. Its repo states the Elastic License 2.0 (ELv2). That licence says you may not provide the software to third parties as a hosted or managed service. It is source-available, and it does not meet AI Voice Base's open source definition.
Pipecat's docs call Phoenix an open-source path for local development or single-container self-hosting. The licence file says otherwise. For internal use ELv2 is rarely a problem. For a vendor who resells tracing to customers, it is.
Self-hosting. Run phoenix serve locally or use the Docker image. A Helm chart, Docker Compose and cloud templates also exist. Phoenix's docs say there are no feature gates, licence fees or usage limits, and that deployments can be air-gapped.
What it captures for voice. The Pipecat tracing guide says each turn becomes a trace. STT, LLM, TTS and tool spans carry latency, tokens and errors. Passing a conversation_id groups turns into a session. There is also a LiveKit Agents guide.
Audio gap. Arize's audio cookbook stores audio as base64 on span attributes. The default cap is 32,000 characters, about half a second. A truncated clip will not play. The cookbook runs on Arize AX, the hosted product. It says Phoenix's evals do not yet accept audio, and does not confirm audio ingestion in Phoenix.
Best for: teams already on OpenInference who want one container and a notebook-friendly UI.
Skip if: you resell observability, or need call-audio playback in a self-hosted tool.
Opik and OpenLIT
Opik from Comet is Apache-2.0 and self-hostable with Docker Compose (./opik.sh) or Helm. Its README lists first-party OpenTelemetry support and, in its integrations table, both Pipecat and LiveKit Agents. It says nothing about audio. It is a clean pick for open source LLM observability when you want a permissive licence and an eval suite in one server.
OpenLIT is also Apache-2.0. Its README describes an OTLP receiver on ports 4317 and 4318 that writes to ClickHouse, with Docker Compose and Kubernetes options. It follows the gen_ai.* conventions. It lists ElevenLabs and AssemblyAI among 70+ integrations. Deepgram, LiveKit and Pipecat are not on that page, so check the full docs before you commit. Governance features such as custom roles and audit logs are in the paid Enterprise tier.
Best for (Opik): an Apache-2.0 server with Pipecat and LiveKit integrations already documented.
Best for (OpenLIT): teams that also want GPU and cost monitoring from one OTLP-native tool.
Skip if: you need audio storage. Neither project documents it.
Grafana, Prometheus and Jaeger
Many teams already run these. Pipecat's docs list Jaeger (for local development), SigNoz and Grafana as OTLP backends.
| Project | Licence (GitHub, 24 Nov 2026) | Role |
|---|---|---|
| Grafana | AGPL-3.0 | Dashboards |
| Tempo | AGPL-3.0 | Trace storage |
| Loki | AGPL-3.0 | Log storage |
| Prometheus | Apache-2.0 | Metrics |
| Jaeger | Apache-2.0 | Trace UI |
These tools are strong on percentiles and alerts. A p95 time-to-first-byte panel per STT vendor is a few lines of query. They are weak at reading a conversation. They show a span, not the transcript flow, and they have no audio player. Read the AGPL terms if you modify and expose any of the three.
Best for: SRE teams that want voice latency on the same dashboards as everything else.
Skip if: support staff need to read and listen to individual calls.
What Pipecat and LiveKit expose natively
You do not always need a separate backend on day one.
Pipecat (BSD-2-Clause) has tracing built in but off by default. Here is how to trace a Pipecat voice agent: turn it on and point it at an OTLP exporter. enable_tracing defaults to False, and enable_turn_tracking defaults to True. Pass a conversation_id or a UUID is generated. Spans record transcripts, is_final, language, voice ID, character counts, token usage and TTFB. Some service metrics also need enable_metrics=True in PipelineParams. For recordings, its AudioBufferProcessor delivers merged audio or separate user and bot tracks as raw PCM through callbacks, per its docs. You write the files.
# Simplified, from Pipecat's tracing docs: exporter is an OTLP exporter you create
setup_tracing(
service_name="my-voice-app",
exporter=exporter,
console_export=False,
)
LiveKit Agents (Apache-2.0) gives you three routes.
- Open route. Call
set_tracer_providerfromlivekit.agents.telemetrywith an OTLP exporter. Spans includeagent_turnand, since Agents 1.8.0,realtime_inference. Attributes usegen_ai.*plus LiveKit's ownlk.*. Content attributes carry anlk.pii.prefix. Setallow_pii=Falseto strip content before export. - Hooks. Per-plugin
metrics_collectedevents givettft,ttfb,end_of_utterance_delayand token counts.make_session_report()runs entirely in your agent process, so it works without LiveKit Cloud. - Cloud route. Agent insights stores transcripts, traces, logs and two-channel audio. LiveKit says it works with agents on LiveKit Cloud and with self-hosted agents on Cloud media servers. It does not work with self-hosted media servers. Data is deleted after 30 days by default.
For a fully self-hosted LiveKit stack, use the open route and your own backend. LiveKit Egress can store recordings in your own storage, per the data hooks docs.
Reference architecture
One layout fits most self-hosted setups.
Phone / WebRTC caller
│ audio
Voice agent (Pipecat or LiveKit Agents)
│ OTLP spans + metrics │ PCM audio (end of call)
OpenTelemetry Collector Object storage (S3-compatible)
│ │ media references
Trace store (Langfuse / Opik / Tempo) ──┘
│
Dashboards, alerts, review UI
This is self hosted observability for voice AI with three parts: a collector, a trace store and object storage. Design choices that save pain later:
- Put a collector in the middle. The OpenTelemetry Collector (Apache-2.0) lets you strip PII, sample and fan out to two backends without redeploying the agent.
- Use one conversation ID everywhere. Use the call SID or room name. It joins agent spans, carrier records and recordings.
- Store audio by reference. Put a URL on the span, not base64. Phoenix's 32,000-character default shows why.
- Redact before export. PII redaction matters because transcripts hold names and card numbers. Use
allow_pii=Falsein LiveKit, or processors in the collector. Keep call recordings under stricter access than traces. See PII. - Keep telephony metrics separate. Carrier records cover the leg your spans cannot. See voice agent telephony costs for what that leg bills.
Worked example: storage and hosting for 100,000 calls a month
This is a worked example, not a measurement. Every input is an assumption you should replace.
| Assumption | Value |
|---|---|
| Calls per month | 100,000 |
| Call length | 4 minutes (240 s) |
| Turns per call | 12 |
| Spans per turn | 5 (turn, stt, llm, tts, one tool call) |
| Spans per call | 12 × 5 + 1 conversation span = 61 |
| Span size with content | 3,000 bytes (chat history inside LLM spans) |
| Compression in the trace store | 5 to 1 |
| Object storage price | $0.023 per GB-month |
The price is AWS's S3 Standard rate for the first 50 TB in US East (N. Virginia), as of November 2026. Check your own region.
Trace data. 61 spans × 3,000 bytes = 183,000 bytes per call. × 100,000 calls = 18.3 GB per month raw. At 5 to 1 compression that is 3.66 GB.
Audio, two channels. Bytes per second = sample rate × 2 bytes × 2 channels.
| Format | Per call | Per month | Per month at $0.023/GB |
|---|---|---|---|
| 8 kHz PCM16 WAV | 7.68 MB | 768 GB | $17.66 |
| 16 kHz PCM16 WAV | 15.36 MB | 1,536 GB | $35.33 |
| Compressed at 32 kbps (4,000 B/s) | 0.96 MB | 96 GB | $2.21 |

Three conclusions follow. First, audio is 26 to 420 times larger than the traces, so audio retention is your real storage decision. Second, with 90-day retention you hold three months at once: 2,304 GB of 8 kHz WAV costs $52.99 a month, against $6.62 for 288 GB of compressed audio. Third, storage is cheap next to compute.
Compute. Langfuse's minimums add up to 9 vCPU and 21.5 GiB of memory (2 + 2 + 2 + 1 + 2 CPU; 4 + 4 + 4 + 1.5 + 8 GiB), before S3. Its Helm example for production ClickHouse uses 3 replicas at 100 GiB each. Price that on your cloud's calculator. At this scale compute, not storage, decides the bill. Compare it with the LLM bill in LLM cost per voice agent call.
Gaps no open source tool closes for audio
- No STT or TTS convention. The OpenTelemetry registry has no speech operation, so attribute names differ per framework. Dashboards you build for Pipecat will not read LiveKit spans.
- Audio-native scoring is thin. Arize's own cookbook calls OpenAI directly because Phoenix evals do not take audio yet.
- Server-side turn detection hides metrics. LiveKit does not emit EOU metrics in that mode, and realtime models leave
llm_node_ttftandtts_node_ttfbempty. - Attribute churn. LiveKit renamed content attributes in 1.7.0 (
lk.pii.) and manygen_ai.*names in 1.8.0. Old queries silently stop matching. - Pipecat tracing is opt-in. With the default
enable_tracing=False, a production agent can run for weeks with no traces. - Caller-side delay is invisible. Spans start inside your agent. Network time to the phone is not in them.
For scoring calls against test cases rather than watching live traffic, see the observability and evals category.
Also considered
- Whispey. Listed on AI Voice Base as open source. Its PyPI package (4.2.11) is MIT and targets LiveKit Agents, but the install steps tell you to sign up for a hosted dashboard and generate an API key. Its GitHub repository URL returned 404 on 24 November 2026. I could not verify a self-hostable server.
- voiceobs. Apache-2.0, described as OpenTelemetry-based observability for voice conversations, with turn and STT, LLM and TTS stage timing. PyPI shows 0.0.2, and its GitHub repo had 0 stars and no commits since 28 February 2026. Fine for reading, early for production.
- OpenLLMetry. Apache-2.0 OpenTelemetry instrumentation for LLM apps from Traceloop. It targets LLM calls, not voice stages.
- Helicone. Apache-2.0 AI gateway with logging. Self-hosting runs six services, including ClickHouse and MinIO. The README does not mention voice, and a gateway only sees the LLM hop.
- SigNoz. General observability platform, listed by Pipecat as a backend. Its LICENSE says MIT Expat outside the
eefolders.
Related guides: the voice agent observability guide, the open source voice agent testing frameworks and the voice agent framework comparison.
Frequently asked questions
What is the best open source LLM observability tool for voice agents?
Langfuse is the most complete today: an MIT-licensed core, OTLP ingestion, documented LiveKit and Pipecat paths, and audio attachments in your own S3 bucket. Opik is the closest Apache-2.0 alternative. Neither replaces carrier records for the phone leg.
Is Arize Phoenix open source?
Not by AI Voice Base's definition. Phoenix's repository states the Elastic License 2.0, which forbids offering it to third parties as a hosted or managed service. It is free to self-host for internal use with no feature gates, according to Arize's docs.
Arize Phoenix vs Langfuse: which should I pick for voice?
Langfuse vs Phoenix for voice agents comes down to audio and licence. Pick Langfuse if you need call audio next to traces and a permissive core licence. Pick Phoenix if you already use OpenInference and want one container. Phoenix's own audio cookbook runs on Arize AX, and it does not confirm audio ingestion in Phoenix.
Can I self-host Langfuse?
Yes. It needs PostgreSQL, Redis or Valkey, ClickHouse and S3-compatible storage. Docker Compose suits one VM without high availability. Production uses Helm or a cloud template. Minimums total 9 vCPU and 21.5 GiB of memory before blob storage.
Does LiveKit Agents support OpenTelemetry?
Yes. Set a tracer provider with an OTLP exporter and spans such as agent_turn go to any compatible backend. LiveKit's docs use Langfuse as the example. The Agent insights dashboard is separate and does not work on fully self-hosted media servers.
Does Pipecat support OpenTelemetry tracing?
Yes, but it is off by default. Set enable_tracing on the pipeline, create an OTLP exporter and call setup_tracing. Each turn then gets stt, llm and tts spans. The docs list Jaeger, Langfuse, SigNoz and Grafana as backends.
How much storage do voice agent traces need?
In the worked example above, 100,000 four-minute calls make 3.66 GB of compressed trace data a month. Two-channel 8 kHz WAV audio for the same calls is 768 GB. Audio dominates, so decide audio retention first.
Are the OpenTelemetry GenAI conventions stable?
No. The repository marks them Development. They include a realtime inference span and audio token attributes, but I found no speech-to-text or text-to-speech operation. Expect attribute renames, as LiveKit's 1.8.0 changes show.
The bottom line
Send OpenTelemetry spans from your framework to a backend you control, and keep audio in object storage by reference. Langfuse covers the most open source LLM observability needs for voice today, Opik and OpenLIT are permissive alternatives, and Phoenix's Elastic License 2.0 is the licence detail most teams miss.


