Quickstart
Build and run your first Pipecat application
In this quickstart, we’ll create a simple conversational bot that greets users when they join and exits when they leave. This example demonstrates the core components of a Pipecat application with a streamlined setup.
Set up your project
Create a project directory
Set up a virtual environment
Download the example files
Download these files and save them to your project directory:
Install dependencies
Configure the environment
Create a .env
file with your Cartesia API key:
Create a file named .env
in your project directory and add:
Replace your_cartesia_api_key
with the actual API key you created during the
installation
step.
Run the example
Start the bot with this command:
You’ll see a URL (typically http://localhost:7860) in the console output. Open this URL in your browser to join the session. The bot will automatically join, greet you, and then disconnect.
Understanding the code
Let’s examine the key components of 01-say-one-thing.py
:
Customize the example
Try these simple modifications to enhance your bot:
Next steps
Try more examples
Explore our GitHub repository with more sophisticated examples
Core concepts
Deepen your understanding of Pipecat’s architecture and components
Supported services
Integrate additional AI services like OpenAI, Anthropic, or Deepgram
Join our community
Get help, share projects, and connect with other Pipecat developers