Skip to main content
Use the Pipecat integration to capture transcripts, audio, and spans. Bluejay builds the conversation when the pipeline ends.

Set up the SDK

Set BLUEJAY_API_KEY as shown in the quickstart, then install the Pipecat extra.
Create the client once at startup. In your existing pipeline, leave the user and assistant context aggregators in place. The tap uses their finalized turn events to write the transcript.
Use the external ID configured on your Bluejay agent. You can also pass agent_id with its Bluejay ID. The tap goes immediately after transport.output(). The worker flag makes Pipecat emit its native spans. Pass record_audio=False to the tap if you want spans and transcript without uploading audio.

Verify a call

Place a call and end the pipeline. Open the conversation in Logs to inspect its transcript, audio, and trace. If you’re using a realtime speech model, enable input transcription on the model to capture the caller’s text.

Attach traces to a simulation

If Bluejay starts your Pipecat Cloud bot, read X-Simulation-Result-Id from the start request body and pass it as simulation_result_id to instrument_pipecat(). See Connect Pipecat for the start request and Run simulations to queue a test from Python.
Last modified on November 23, 2026