Files
pipecat/examples/foundational
Vanessa Pyne 18c0374126 Merge pull request #1785 from pipecat-ai/vp-small-filenmae-change
39-aws-nova-sonic.py -> 40-aws-nova-sonic.py
2025-05-09 12:19:09 -05:00
..
2025-05-02 15:33:10 -05:00
2025-05-02 20:58:10 -04:00
2025-05-07 17:21:08 -04:00
2025-05-02 20:58:10 -04:00
2025-04-28 22:57:18 +05:30
2025-04-24 18:04:36 -04:00

Pipecat Foundational Examples

This directory contains examples showing how to build voice and multimodal agents with Pipecat. Each example demonstrates specific features, progressing from basic to advanced concepts.

Learning Paths

Depending on what you're trying to build, these learning paths will guide you through relevant examples:

  • New to Pipecat: Start with examples 01, 02, 07
  • Building conversational bots: 07, 10, 38
  • Common add-on capabilities: 17, 24, 28, 34
  • Adding visual capabilities: 03, 12, 26
  • Advanced agent capabilities: 14, 20, 37

Quick Start

  1. Set up a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Create a .env file with your API keys.

  4. Run any example:

    python run.py 01-say-one-thing.py
    
  5. Open the web interface at http://localhost:7860 and click "Connect"

Examples by Feature

Basics

Conversational AI

Common Utilities

Advanced LLM Features

Media Handling

Vision & Multimodal

Voice & Language

Integration Examples

Performance & Optimization

Utilities

Advanced Usage

Customizing Network Settings

python run.py <example-name> --host 0.0.0.0 --port 8080

Troubleshooting

  • No audio/video: Check browser permissions for microphone and camera
  • Connection errors: Verify API keys in .env file
  • Missing dependencies: Run pip install -r requirements.txt
  • Port conflicts: Use --port to change the port

For more examples, visit our GitHub repository.