Agent Frameworks
LiveKit
Automatically trace LiveKit agent executions and interactions.
LiveKit integration captures traces from your LiveKit agent applications, including agent execution flow, tool calls, and LLM interactions.
Quickstart
Install Dependencies
uv add judgeval livekitpip install judgeval livekitInitialize Integration
from judgeval.tracer import JudgmentTracer
from livekit.agents.telemetry import set_tracer_provider
from opentelemetry.sdk.trace import TracerProvider
# Create JudgmentTracer
judgment_tracer = JudgmentTracer(
project_name="livekit_project"
)
# Get the OpenTelemetry processor from Judgment Labs tracer
judgment_processor = JudgmentTracer.get_processor(
judgment_tracer,
project_name="livekit_project",
project_id="your-project-id"
)
# Create TracerProvider and add processor
trace_provider = TracerProvider()
trace_provider.add_span_processor(judgment_processor)
# Set as the global tracer provider for LiveKit
set_tracer_provider(trace_provider)All LiveKit agent executions are automatically traced.