Managing agent sessions with the Pipecat Cloud Python SDK
Session
class is the primary way to start and interact with agent sessions.
use_daily
is True, includes dailyRoom
URL and dailyToken
.RaisesAgentStartError
: If the session fails to start due to missing API key, agent not found, agent not ready, or capacity limits.SessionParams
class allows you to configure a session.
use_daily=True
.See Daily API
documentation for
available properties.