project command manages everything you deploy and run. A project is an agent with environments, and each environment is an agent of its own, so one group covers both: a command names the project, and --env reaches one of its environments.
project status my-bot-pr-7 addresses the same preview as --env pr-7. The project is its own production environment, so --env production means the project itself, exactly as naming it with no --env does.
For the concepts behind the environment commands, see Projects and environments.
start
Start a deployed agent instance, creating an active session. Usage:Unique string identifier for the agent deployment. Must not contain spaces.
Defaults to
agent_name in pcc-deploy.toml.Act on this environment of the project rather than on the project itself.
Addressing an agent by its own name works just as well.
Public API key to authenticate the agent deployment. Will default to any key
set in your config.For more information, see API keys.
Stringified JSON object to pass to the agent deployment. This data will be
available to the agent as a
data parameter in your bot() method.More information here.Stringified JSON object with Daily room properties to customize the WebRTC
session. Only used when
--use-daily is set to true.See Daily API
documentation for
available properties.Organization to start the agent for. If not provided, uses the current
organization from your configuration.
stop
Stop an active agent session and clean up its resources. Usage:Act on this environment of the project rather than on the project itself.
Addressing an agent by its own name works just as well.
Organization which the agent belongs to. If not provided, uses the current
organization from your configuration.
status
Shows the current status of an agent deployment, including health and conditions, the deployment’s CPU architecture, and its resolved resources (CPU and memory). For agents deployed with explicit resources rather than a profile, this is where the sizing is shown. Usage:Act on this environment of the project rather than on the project itself.
Addressing an agent by its own name works just as well.
Organization the agent belongs to. If not provided, uses the current
organization from your configuration.
status says so and names the repository and branch it did come
from.
For a project with a repository connected, the output also carries its watch
paths, whether PR
previews are on and which secret set they
mount, and whether pull requests opened by bots get previews.
For an environment it carries the project it belongs to and its environment
name instead, and for a PR preview the pull request it deploys.
Its environments are a listing of their own: see env list.
deployments
Lists deployment history for an agent, including image versions and timestamps. Usage:Act on this environment of the project rather than on the project itself.
Addressing an agent by its own name works just as well.
Organization the agent belongs to. If not provided, uses the current
organization from your configuration.
logs
Displays combined logs from all agent instances, useful for debugging issues. Usage:Act on this environment of the project rather than on the project itself.
Addressing an agent by its own name works just as well.
Organization the agent belongs to. If not provided, uses the current
organization from your configuration.
Filter logs by severity:
DEBUG, INFO, WARNING, ERROR, or CRITICAL.
Omit it to return every level.Filter results for specific agent deployment ID (obtainable from
pipecat cloud project deployments [project]).Filter results for specific session ID (obtainable from
pipecat cloud project sessions [project]).link
Link an agent to a GitHub repository and branch, or re-point an existing link. Requires the organization to be connected to GitHub. Usage:Act on this environment of the project rather than on the project itself.
Addressing an agent by its own name works just as well.
Organization the agent belongs to. If not provided, uses the current
organization from your configuration.
Linking never changes what is running. It sets where the next deploy comes
from — use
project deploy --github to ship the branch now.link on an already-linked agent re-points it. Options you leave out keep their stored values, so changing only the branch won’t reset a Dockerfile path you set earlier.
The repository and branch are validated locally against the same rules the API applies, so a typo fails immediately rather than after a round trip.
unlink
Remove an agent’s GitHub repository link. Usage:Act on this environment of the project rather than on the project itself.
Addressing an agent by its own name works just as well.
Organization the agent belongs to. If not provided, uses the current
organization from your configuration.
deploy
Build and deploy a GitHub-linked agent from its branch’s current HEAD, without waiting for a push. Usage:Act on this environment of the project rather than on the project itself.
Addressing an agent by its own name works just as well.
Deploy the agent’s linked GitHub branch. Currently the only mode this command
supports, so it has to be passed — without it the command exits 1 and points
you at
pipecat cloud deploy.Organization the agent belongs to. If not provided, uses the current
organization from your configuration.
--github is explicit rather than implied so that adding image-based deploys
to this command later can’t change what an existing script does. To deploy an
image or a cloud build, use pipecat cloud deploy.What --wait reports
Without --wait, the command returns once the deploy is queued, printing the branch and commit it will build.
With --wait, it follows the deploy and reports one of these:
“Never observed” exits non-zero on purpose: a wait that saw nothing can’t tell a healthy build from an API that was down the whole time, and calling that success is what would make
--wait unsafe as a deploy gate.
list
Lists the organization’s projects: the agents that are not environments of another agent. Each row carries the project’s region, how many named environments it has, whether PR previews are on and how many are open, and its GitHub repository and branch. Usage:Include environments and PR previews, not only projects. Each row then also
names the project an environment belongs to, as
my-bot > staging.Organization to list projects for. If not provided, uses the current
organization from your configuration.
Filter by region. If not provided, projects from all regions are listed. Must
be a region of the organization in use. An environment is always in its
project’s region.
sessions
Lists active sessions for a specified agent. When there are no active sessions, it suggests how to start a new session. The Status column distinguishes how each session ended: sessions that ended before reaching an agent (“Ended before agent start”), activation timeouts (“Timeout”), and agent errors are shown separately from completed sessions. When used with the--id option, displays detailed information about a specific session including CPU and memory usage with sparkline visualizations and percentile summaries, plus lifecycle events showing when the request arrived, when the agent started serving it, and when the session ended.
Usage:
Act on this environment of the project rather than on the project itself.
Addressing an agent by its own name works just as well.
Session ID to view detailed metrics for. When provided, displays CPU and
memory usage statistics including sparkline visualizations and percentile
summaries (p50, p90, p99).
Filter sessions by how they ended. Known values:
active, completed,
ended_before_agent_start, agent_start_timeout, terminated,
agent_error, unknown. Other values are passed to the API, so states added
after this CLI release still filter.Organization to list sessions for. If not provided, uses the current
organization from your configuration.
delete
Deletes an agent deployment. This will prevent starting new agents and remove all associated data. Usage:Act on this environment of the project rather than on the project itself.
Addressing an agent by its own name works just as well.
Organization to delete the agent from. If not provided, uses the current
organization from your configuration.
env
Manage a project’s environments. See Projects and environments.env list
List a project’s environments, starting withproduction, which is the
project’s own agent. Then come the named environments, and then the PR
previews, newest pull request first. Each row carries the environment’s agent
name, the branch it deploys, the commit it is running, and the pull request it
previews.
Usage:
Organization the project belongs to. If not provided, uses the current
organization from your configuration.
env add
Link an existing agent as an environment of a project. Usage:What to call it among the project’s environments. Two to 50 lowercase letters,
digits and dashes, starting and ending with a letter or digit.
production is
the project itself, and names starting with pr- are reserved for PR
previews.Organization the project belongs to. If not provided, uses the current
organization from your configuration.
pipecat cloud deploy, then link it.
Linking changes nothing about what the agent runs: it keeps its own repository
link, secret sets and scaling, and follows the project’s watch paths from here.
Re-running env add with a different name renames the environment, and with a
different project moves it.
The name is checked locally against the same rules the API applies, so a typo
fails immediately rather than after a round trip. The API refuses the link when
the agent is in another region than the project, when either side already has
environments, when the project has PR previews on, when the name is taken by
another environment, or when the agent is a PR preview.
env remove
Unlink an environment from its project. Usage:Organization the project belongs to. If not provided, uses the current
organization from your configuration.
delete.
A PR preview cannot be unlinked: its link belongs to its pull request.
env promote
Deploy an environment’s running code onto the project. Usage:Organization the project belongs to. If not provided, uses the current
organization from your configuration.
pipecat cloud project status my-bot.
previews
Manage a project’s PR previews.previews status
Show whether a project’s PR previews are on, and the previews that are open. Usage:Organization the project belongs to. If not provided, uses the current
organization from your configuration.
previews enable
Turn a project’s PR previews on, with the secret set they mount. Usage:Secret set every preview mounts in place of the project’s own sets. It has to
exist, be a secret set rather than an image pull secret, and be in the
project’s region.
Whether pull requests opened by bots get previews too. Left out, the stored
setting is kept.
Organization the project belongs to. If not provided, uses the current
organization from your configuration.
previews disable
Turn a project’s PR previews off. Usage:Organization the project belongs to. If not provided, uses the current
organization from your configuration.
watch-paths
Manage a project’s watch paths. They are a project setting: the project, its environments and its PR previews all follow the same list.watch-paths show
Print a project’s watch paths. Usage:Organization the project belongs to. If not provided, uses the current
organization from your configuration.
watch-paths set
Set a project’s watch paths, replacing the ones it has. Usage:One or more glob patterns a change has to match to deploy, relative to the
repository root. A leading
! excludes. Write bot or bot/** for a folder:
a trailing slash is refused. See writing
patterns.Organization the project belongs to. If not provided, uses the current
organization from your configuration.
watch-paths clear
Clear a project’s watch paths, so every change deploys. Usage:Organization the project belongs to. If not provided, uses the current
organization from your configuration.
profiles
Theprofiles sub-commands manage organization-defined agent profiles for self-hosted regions. A profile is a named CPU and memory shape selected with --profile on deploy. Profile edits apply to future deploys only: running agents keep the resources their deployment captured.
profiles list
Lists the platform’s agent profiles plus any your organization has defined, with CPU, memory, source, and whether each is enabled. Usage:Organization to list profiles for. If not provided, uses the current
organization from your configuration.
profiles create
Create an organization-defined profile. Usage:The profile’s name, used with
--profile on deploy. Lowercase letters,
numbers, and hyphens; must not collide with a platform profile name.Organization to create the profile in. If not provided, uses the current
organization from your configuration.
profiles update
Change a profile’s sizing or display name. CPU and memory are updated together. Usage:Organization the profile belongs to. If not provided, uses the current
organization from your configuration.
profiles disable
Retire a profile from new deploys. Existing deployments are unaffected. Disabling is reversible withenable.
Usage:
Organization the profile belongs to. If not provided, uses the current
organization from your configuration.