This release is a pre-release and may not be stable for production use.
Conversation Flow management for Pipecat AI applications
pip install dv-pipecat-flows==0.0.26.dev156 Copy PIP instructions
Pipecat Flows is an add-on framework for Pipecat that allows you to build structured conversations in your AI applications. It enables you to create both predefined conversation paths and dynamically generated flows while handling the complexities of state management and LLM interactions.
curl -LsSf https://astral.sh/uv/install.sh | sh Need help? Refer to the uv install documentation.
# For new projects uv init my-pipecat-flows-app cd my-pipecat-flows-app uv add pipecat-ai-flows # Or for existing projects uv add pipecat-ai-flows Using pip? You can still use pip install pipecat-ai-flows to get set up.
For more detailed examples and guides, visit our documentation.
The repository includes several complete example implementations demonstrating various features of Pipecat Flows.
The examples demonstrate various conversation flows including food ordering, restaurant reservations, patient intake, insurance quotes, and warm transfers. All examples support multiple LLM providers (OpenAI, Anthropic, Google Gemini, AWS Bedrock) to demonstrate cross-platform compatibility.
For detailed setup instructions, configuration, and running examples, see the Examples README.
# Install dependencies uv sync uv pip install "pipecat-ai[daily,openai,deepgram,cartesia,silero,examples]" # Configure environment cp env.example .env # Add your API keys # Run an example uv run examples/food_ordering.py Contributing to the framework Clone the repository and navigate to it:
git clone https://github.com/pipecat-ai/pipecat-flows.git cd pipecat-flows Install development dependencies:
uv sync --group dev Install the git pre-commit hooks (these help ensure your code follows project rules):
uv run pre-commit install The package is automatically installed in editable mode when you run uv sync.
The package includes a comprehensive test suite covering the core functionality.
uv sync --group dev Running Tests Run all tests:
uv run pytest tests/test_state.py Run specific test:
uv run pytest tests/test_state.py -k test_initialization Run with coverage report:
uv run pytest tests/ --cov=pipecat_flows Pipecat Flows Editor The Flows Editor is deprecated and will be removed along with Static Flows.
We have future plans to introduce a new editor capability that supports dynamic flows, but we don't have a timeline yet. We're open to collaborating with any developers or teams who have an interesting in building out this type of UI! Reach out to us on Discord if you're interested.
A visual editor for creating and managing Pipecat conversation flows.
While the underlying system is flexible with node naming, the editor follows these conventions for clarity:
These conventions help maintain readable and maintainable flows while preserving technical flexibility.
The editor is available online at flows.pipecat.ai.
git clone git@github.com:pipecat-ai/pipecat-flows.git Navigate to project directory
npm run dev Open the page in your browser: http://localhost:5173.
The editor/examples/ directory contains sample flow configurations:
See the examples directory for the complete files and documentation.
The Pipecat Flows Editor project uses JSDoc for documentation. To generate and view the documentation:
npm run docs:serve View in browser by opening: http://localhost:8080
We welcome contributions from the community! Whether you're fixing bugs, improving documentation, or adding new features, here's how you can help:
Before submitting a pull request, please check existing issues and PRs to avoid duplicates.
We aim to review all contributions promptly and provide constructive feedback to help get your changes merged.
pipecat conversation flows state machine ai llm
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




