Serving your agent via Pipecat Cloud
deploy
command requires both of the following arguments:
agent-name
: The name of the agent to deploy.image
: The repository and tag of the image to deploy.pcc-deploy.toml
file in the root of your project (adjacent to where you run your CLI commands.)
The CLI will automatically detect this file and use it to populate the deployment configuration. Any CLI arguments you provide will override the values in the pcc-deploy.toml
file.
An example pcc-deploy.toml
file might look like this:
pcc --config
.ready
status.
my-first-agent
deployment to use the new image and set the minimum number of instances to 2.
To avoid interruption of any active sessions, any running agent instances will continue on the old image until the session concludes.
Idle agent instances in your agent pool will be replaced with the new configuration according to the Pipecat Cloud auto-scaling strategy.
New agent requests may, therefore, start with prior deployment configuration if updates are not fully propagated. This ensures on-demand availability
remains consistent and avoids potential cold starts.
ready
state), requests will be routed to any prior deployments in a ready state.
This ensures that your agent remains available to end-users even when a deployment fails.
delete
command: