Skip to main content
Use the Bluejay SDK to observe production conversations, run simulations, and call the Bluejay API. The SDK supports Python and Node.js. The Node.js preview package works with JavaScript and TypeScript. The TypeScript tabs use examples you can also copy into JavaScript.

Observe your agent

Capture transcripts, model calls, tools, and voice recordings.

Run simulations

Queue a saved simulation, read its results, and attach traces from your agent.

Install and authenticate

The Python examples require bluejay-sdk 0.4.0 or later and Python 3.10 or later. The Pipecat extra requires Python 3.11 or later. The Node.js preview requires Node.js 22 or later.
Create a key in API Keys and set it in the environment where the SDK runs.

Make your first request

The default client calls the API. To capture conversations and traces, enable tracing once at startup and follow the observability guide. Node.js API methods return promises. In Python asyncio applications, use AsyncBluejayClient and await HTTP methods such as client.agents.list(). Writing client.turn() is synchronous in both SDKs.

API reference

The SDK groups API methods by resource. For example, use client.agents.list() for agents, client.simulations.run(...) to queue a test, and client.simulation_results.list(...) to read a run. The API reference describes request fields and response models.
The Node.js SDK is available as a preview tarball. Install that build to try the TypeScript examples before npm release.
Last modified on November 23, 2026