Prerequisites
Pipecat requires Python 3.10 or higher. To check your Python version:LMNT
Text-to-Speech: Converts text to
natural-sounding speech.
Accounts you’ll need
These are the services you need for the quickstart. You can later swap these out as needed.Deepgram
Speech-to-Text: Converts audio to text in realtime.
Openai
LLM Inference: Generates streaming text responses based on user input.
Explore Pipecat’s full list of supported
services for more integration options.
Setting up your project
Create a virtual environment
We recommend using a virtual environment to manage your dependencies:Install Pipecat
Thepipecat-ai
Python module uses optional dependencies to keep your installation lightweight. This approach lets you include only the specific AI libraries you need for your project.
To install Pipecat with support for the recommended services above, use this command:
You can add this to your
requirements.txt
file or include any combination of
supported integrations based on your
needs.Next Steps
Build Your First Bot
Now that you have everything set up, proceed to the Quickstart guide to build
your first Pipecat application with LMNT.