Overview
SDK Introduction
Build web applications with Pipecat’s JavaScript client library
The Pipecat JavaScript SDK provides a lightweight client implementation that handles:
- Device and media stream management
- Managing bot configuration
- Sending actions to the bot
- Handling bot messages and responses
- 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
API Reference
Detailed documentation of all available APIs
Helpers
Utility functions for common operations
The Pipecat JavaScript SDK implements the RTVI standard for real-time AI inference, ensuring compatibility with any RTVI-compatible server and transport layer.