Skip to main content
The Pipecat Cloud Python SDK provides a programmatic interface for managing and interacting with your agents. It allows you to start and manage agent sessions, handle different session types, and respond to various error conditions.

Installation

Install the SDK using uv:
The session-argument types in pipecatcloud.agent subclass pipecat-ai’s runner types, and pipecat-ai is an optional dependency. If you use them outside an agent image, install the extra:

Key Components

The SDK contains several main components:

Quick Start

Here’s a simple example to get started:
For more detailed examples and use cases, see the Examples section.