Skip to main content
Use the LiveKit integration to capture transcript turns, audio, and native LiveKit spans. Bluejay builds the conversation at hang-up.

Set up the SDK

Set BLUEJAY_API_KEY as shown in the quickstart. Install the LiveKit extra for Python or LiveKit Agents 1.10.1 or later for Node.js.
Create the client once at startup. In your existing LiveKit job, attach Bluejay before starting the session.
Use the external ID configured on your Bluejay agent. You can also pass 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 the X-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.
Last modified on November 23, 2026