Skip to main content
The Pipecat JavaScript SDK provides a lightweight client implementation that handles:
  • Device and media stream management
  • Connecting to Pipecat bots
  • Messaging with Pipecat bots and handling responses using the RTVI standard
  • Managing session state and errors

Installation

Install the SDK and a transport implementation (e.g. Daily for WebRTC):

Example

Here’s a simple example using Daily as the transport layer:

Explore the SDK

Client Constructor

Configure your client instance with transport and callbacks

Client Methods

Core methods for interacting with your bot

Callbacks & Events

Handle bot events, messages, and state changes

Transport Packages

Daily, SmallWebRTC, WebSocket, and other transports
The Pipecat JavaScript SDK implements the RTVI standard for real-time AI inference, ensuring compatibility with any RTVI-compatible server and transport layer.