Generate real-time video avatars for your Pipecat AI agents with Beyond Presence
Project description
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
- Beyond Presence API key
- Daily.co API key
- API keys for STT/TTS/LLM services (e.g., OpenAI)
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
-
Install dependencies:
uv sync -
Set up your environment
cp env.example .env
-
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
- Docs: https://docs.bey.dev
- Pipecat Discord: https://discord.gg/pipecat (
#community-integrations)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipecat_ai_bey-0.0.3.tar.gz.
File metadata
- Download URL: pipecat_ai_bey-0.0.3.tar.gz
- Upload date:
- Size: 142.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59a7a9b5a86282231e553aca5fc2378e169c38e847156bdbf1afa5d962e7e3dd
|
|
| MD5 |
f5f7512d4313e63c69eff6fb6cf5c29b
|
|
| BLAKE2b-256 |
4046d319562e83c21a5d52635b80b568731a2e3d5b533699b5c6526dc4ea3ef0
|
File details
Details for the file pipecat_ai_bey-0.0.3-py3-none-any.whl.
File metadata
- Download URL: pipecat_ai_bey-0.0.3-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91267ef204b12660974b2b0f64d1844fd6e2721e67a9bbd97d3b4f77c3f7b18e
|
|
| MD5 |
b9c180ebffd987c533b7e298b215451a
|
|
| BLAKE2b-256 |
f62a484117a7e96395a4a1f2e786b1634ad77fc0947f2e1aeabf8282e801a093
|