Skip to main content

Cloud hosting for Pipecat AI applications

Project description

pipecat cloud

Docs PyPI

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

  1. Create an account at Pipecat Cloud

  2. Login to your account pcc auth login

  3. (Optional): Clone the quickstart repo here

  4. Build your agent docker build --platform linux/arm64 -t your-agent-name .

  5. Push your Docker image to your repository docker push your-repository/your-agent-name:0.1

  6. 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())

🛠️ Contributing

Setup Steps

  1. Clone the repository and navigate to it:

    git clone https://github.com/daily-co/pipecat-cloud.git
    cd pipecat-cloud
    
  2. Install development and testing dependencies:

    uv sync --group dev
    
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pipecatcloud-0.3.0.tar.gz (263.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipecatcloud-0.3.0-py3-none-any.whl (67.2 kB view details)

Uploaded Python 3

File details

Details for the file pipecatcloud-0.3.0.tar.gz.

File metadata

  • Download URL: pipecatcloud-0.3.0.tar.gz
  • Upload date:
  • Size: 263.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pipecatcloud-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cdaaa6b2e78f779a680cae9d074b4be2fd97019fb98dcc2aa3adf4f36cac23a9
MD5 ea84e5901e327387b4799b5843570a9f
BLAKE2b-256 43b88b15847cc8aff0e42a235918399eea926522afc635e7ee4fe9a6387e42c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipecatcloud-0.3.0.tar.gz:

Publisher: publish-pypi.yml on daily-co/pipecat-cloud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pipecatcloud-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pipecatcloud-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 67.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pipecatcloud-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd2a8a04144dd658a59c9d376980ef405e2e34f8770a99497c8be513c3f8c17a
MD5 613ada6ed2ba77433762f200a6cf93bf
BLAKE2b-256 076a849b26372e736005f9deb83c1b8ddd30d2b84eaf0d7aa4f269527dfaa1bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipecatcloud-0.3.0-py3-none-any.whl:

Publisher: publish-pypi.yml on daily-co/pipecat-cloud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page