A Pipecat example demonstrating the simplest way to create a voice agent using WebsocketTransport.
-
Navigate to the server directory:
cd server -
Install dependencies:
uv sync
-
Configure environment variables:
cp env.example .env
- Add your API keys
- Choose what you wish to use: 'fast_api' or 'websocket_server'
uv run server.pyFor client-side setup, refer to the:
Ensure the bot server is running before using any client implementations.
- Python 3.10+
- Node.js 16+ (for JavaScript components)
- Google API Key
- Ensure all dependencies are installed before running the server.
- Check the
.envfile for missing configurations.
Happy coding! 🎉