Skip to main content

Pipecat Beyond Presence Integration

Generate real-time video avatars for your Pipecat AI agents with Beyond Presence.

Maintainer: Beyond Presence team (@bey-dev)

Installation

pip install pipecat-ai-bey

Prerequisites

Usage with Pipecat Pipeline

The BeyTransport integrates with the Beyond Presence platform to create conversational AI applications where a Beyond Presence avatar provides synchronized video and audio output while your bot handles the conversation logic.

from pipecat_bey import BeyParams, BeyTransport

transport = BeyTransport(
    bot_name="Pipecat bot",
    session=session,
    bey_api_key=os.environ["BEY_API_KEY"],
    daily_api_key=os.environ["DAILY_API_KEY"],
    avatar_id="b9be11b8-89fb-4227-8f86-4a881393cbdb",  # Default "Ege" avatar
    room_url=os.environ["DAILY_ROOM_URL"],
    params=BeyParams(
        audio_in_enabled=True,
        audio_out_enabled=True,
        microphone_out_enabled=False,
        vad_analyzer=SileroVADAnalyzer(params=VADParams(stop_secs=0.2)),
    ),
)

pipeline = Pipeline([
    transport.input(),
    stt,
    context_aggregator.user(),
    llm,
    tts,
    transport.output(),
    context_aggregator.assistant(),
])

See example.py for a complete working example.

Running the Example

  1. Install dependencies:

    uv sync
    
  2. Set up your environment

    cp env.example .env
    
  3. Run:

    uv run python example.py
    

The bot will create a Daily room with a video avatar that responds to your voice.

Compatibility

Tested with Pipecat v0.0.89

  • Python 3.10+
  • Daily transport (generic WebRTC support coming soon)

License

BSD-2-Clause - see LICENSE

Support

Release files for pipecat-ai-bey 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipecat-ai-bey 0.0.4
File Size Uploaded
pipecat_ai_bey-0.0.4.tar.gz 142.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pipecat-ai-bey 0.0.4
File Interpreter ABI Platform
pipecat_ai_bey-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 152.0 kB

Release files / pipecat_ai_bey-0.0.4.tar.gz

Download URL pipecat_ai_bey-0.0.4.tar.gz
Size 142.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bf5f5be5805f325a1c1327a9f494b9763d8a0ebf5227c51f92259413f76743e5
BLAKE2b-256 checksum
How to use checksums
925bd2a6e4bd33e9dc8a16525d522db9837a13aecfca8d16553c75c2ef62848c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.16

Release files / pipecat_ai_bey-0.0.4-py3-none-any.whl

Download URL pipecat_ai_bey-0.0.4-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84df2b8e865050016fc3828b717531e0d8fe1cdf091c584c6dfefb76c57b3cf3
BLAKE2b-256 checksum
How to use checksums
f0163f00079066a2189798999b04feb97f05e351a244da7b9e0239ca86e9cfde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.16

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page