LiveKit (tracing)
LiveKit (tracing)
LiveKit Agents emits structured spans for agent sessions, model calls, and tool execution. Use Respan’s LiveKit instrumentation to emit them through the Respan tracing pipeline.
Set up Respan
Create an account at platform.respan.ai and grab an API key.
Run npx @respan/cli setup to set up with your coding agent.
Example projects
Setup
Initialize and run
Pass livekitModule when your app imports @livekit/agents directly. This ensures the instrumentor patches the same LiveKit module instance your application uses.
View your trace
Open the Traces page and look for agent sessions, agent turns, LLM nodes, function tools, user turns, handoffs, and TTS spans generated from LiveKit agent execution.