Quickstart
Build and run your first Pipecat application
Now that you’ve got Pipecat installed, let’s run your first example application. We’ll use the “Say One Thing” example, which creates a simple bot that greets users when they join a room and exits when they leave.
Getting the Example
Download the “Say One Thing” example from the pipecat
repo and save it to your project directory.
Configuring the Example
The example uses Cartesia’s text-to-speech service. Make sure you have your .env
file set up with:
The example uses a pre-configured voice. You can change this by modifying the voice_id
parameter in the CartesiaTTSService
configuration.
Running the Example
- Open your Daily room URL in a browser tab
- Join the room
- Run the example:
If all goes well, you should see another participant (named “Say One Thing”) join the room, greet you, and disconnect when you leave the room.
Understanding How It Works
Let’s look at the key components of this example:
This example demonstrates several core Pipecat concepts:
- Using a transport for audio output
- Setting up a TTS service
- Creating a simple processing pipeline
- Handling events and generating responses
- Managing application lifecycle
Next Steps
Now that you’ve got your first Pipecat app running, you can:
- Discover Pipecat’s supported services
- Explore more Examples in our GitHub repo
- Join our Discord community to get help and share your projects