Cloud hosting for Pipecat AI applications
Project description
Pipecat Cloud
Python module and CLI for interacting with Pipecat Cloud.
Requirements
- Python 3.10+
- Docker and a Docker repository (e.g. Docker Hub)
- Active Pipecat Cloud account
Documentation
Documentation for Pipecat Cloud is available here.
Installation
pip install pipecatcloud
pcc --version
pcc --help
# Note: you can use `pcc` or `pipecatcloud` interchangeably
pcc auth login
! All CLI commands have a --help flag that will display the command usage and options.
Usage
-
Create an account at Pipecat Cloud
-
Login to your account
pcc auth login -
(Optional): Clone the quickstart repo here
-
Build your agent
docker build --platform linux/arm64 -t your-agent-name . -
Push your Docker image to your repository
docker push your-repository/your-agent-name:0.1 -
Deploy your agent
pcc deploy starter-agent your-repository/your-agent-name:0.1
Usage in Python scripts
If want to programmatically start an agent within a Python script, you can use the pipecatcloud.session module.
from pipecatcloud.session import Session
from pipecatcloud.exception import AgentStartError
import asyncio
async def main():
session = Session(
agent_name="your-agent-name",
api_key="pk_...",
)
try:
await session.start()
except AgentStartError as e:
print(e)
except Exception as e:
raise (e)
if __name__ == "__main__":
asyncio.run(main())
Troubleshooting
SSL certificate errors on macOS
If pcc auth login fails with an SSL certificate verification error, your Python
installation may not have access to the macOS system certificate store. This is
common with Python installed via pyenv, conda, or the python.org installer.
To diagnose:
import ssl, sys, os
print(ssl.get_default_verify_paths())
print(os.path.realpath(sys.executable))
To fix, install certifi and point Python to its certificates:
pip install certifi
export SSL_CERT_FILE=$(python -c "import certifi; print(certifi.where())")
For the python.org installer, you can also run the bundled
Install Certificates.command script found in /Applications/Python X.Y/.
🛠️ Contributing
Setup Steps
-
Clone the repository and navigate to it:
git clone https://github.com/daily-co/pipecat-cloud.git cd pipecat-cloud
-
Install development and testing dependencies:
uv sync --group dev
-
Install the git pre-commit hooks:
uv run pre-commit install
Running tests
To run all tests, from the root directory:
uv run pytest
Run a specific test suite:
uv run pytest tests/test_name.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipecatcloud-0.6.0.tar.gz.
File metadata
- Download URL: pipecatcloud-0.6.0.tar.gz
- Upload date:
- Size: 257.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e9d01f638da23c0a9fb203591a5df0d95d7b52f3b27799024fc323b28905087
|
|
| MD5 |
743a507b8e553b3b3baa2528154f9434
|
|
| BLAKE2b-256 |
195b2c2fcc3bee0123977c973152bbefa46785c2409818ab31873ed8c71f2c8b
|
Provenance
The following attestation bundles were made for pipecatcloud-0.6.0.tar.gz:
Publisher:
publish-pypi.yml on daily-co/pipecat-cloud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pipecatcloud-0.6.0.tar.gz -
Subject digest:
9e9d01f638da23c0a9fb203591a5df0d95d7b52f3b27799024fc323b28905087 - Sigstore transparency entry: 1357225939
- Sigstore integration time:
-
Permalink:
daily-co/pipecat-cloud@1a7474946b9ecc18337d8cf8dd06aa9b54061127 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/daily-co
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1a7474946b9ecc18337d8cf8dd06aa9b54061127 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pipecatcloud-0.6.0-py3-none-any.whl.
File metadata
- Download URL: pipecatcloud-0.6.0-py3-none-any.whl
- Upload date:
- Size: 78.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b21cc1e0273b71c2442d0fa6703511f6d24485f76cc5bc512f65d96b9ec5500
|
|
| MD5 |
bbf30e5095bb818b9fc4a741c7405cc1
|
|
| BLAKE2b-256 |
495fcb3b89f08fc56ed0fc99866eafe12d33618f74865115ccc65deda5f3fd19
|
Provenance
The following attestation bundles were made for pipecatcloud-0.6.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on daily-co/pipecat-cloud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pipecatcloud-0.6.0-py3-none-any.whl -
Subject digest:
2b21cc1e0273b71c2442d0fa6703511f6d24485f76cc5bc512f65d96b9ec5500 - Sigstore transparency entry: 1357225953
- Sigstore integration time:
-
Permalink:
daily-co/pipecat-cloud@1a7474946b9ecc18337d8cf8dd06aa9b54061127 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/daily-co
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1a7474946b9ecc18337d8cf8dd06aa9b54061127 -
Trigger Event:
workflow_dispatch
-
Statement type: