Quick start
Zero to your first replay in five minutes. Copy, paste, run.
Start here
Open-source, self-hosted replay and eval for LiveKit voice agents. Hear what your agent heard. See what it decided. Find where it broke.
xray works in five steps.
Conversation in Python. It holds user turns, a per-turn Assertion or two, and an optional Judge for the whole conversation.xray.run(...). The SDK joins your LiveKit room as the user. It plays the user audio, records the agent's audio and transcript, and uploads one stereo WAV file.xray.replay.id value and reads the tool calls and model usage.ReplayResult.Alpha. The wire format and the SDK API can change between minor versions. Upgrading wipes your data. Delete
/data/xray.dbbefore you start a new container.