Set up the SDK
SetBLUEJAY_API_KEY as shown in the quickstart. Install the LiveKit extra for Python or LiveKit Agents 1.10.1 or later for Node.js.
agent_id with its Bluejay ID. The integration uses LiveKit’s native model and tool spans. Pass record_audio=False if you want spans and transcript without uploading audio.
Verify a call
Place a call and hang up. Open the conversation in Logs to inspect its transcript, audio, and trace.Attach traces to a simulation
For Bluejay test calls, the SDK reads theX-Simulation-Result-Id participant attribute. If your transport supplies the ID as job metadata or a header, read it there and pass simulation_result_id to instrument_livekit(). See Connect LiveKit for how each transport delivers it, and Run simulations to queue a test from Python.
Node.js uses LiveKit’s finalized recording and FFmpeg to upload audio at hang-up. Keep FFmpeg on the worker’s PATH and set LiveKit’s recording options to the categories you want to capture. Set recordAudio: false to skip the Bluejay audio upload.