A simple Pipecat example demonstrating how to handle signaling between the client and the bot, ensuring that the bot starts sending audio only when the client is available, thereby avoiding the risk of cutting off the beginning of the audio.
-
Navigate to the server directory:
cd server -
Install dependencies:
uv sync
-
Copy env.example to .env and configure:
cp env.example .env
- Add your API keys
-
Start the server:
uv run server.py
For client-side setup, refer to the JavaScript Guide.
Ensure the bot server is running before using any client implementations.
- Python 3.11+
- Node.js 16+ (for JavaScript)
- Daily API key
- Cartesia API key
- Modern web browser with WebRTC support