Overview
Pipecat is an open-source framework created by Daily for building real-time voice, multimodal, and conversational AI agents. In BrokerOS, the Pipecat integration is implemented inintegrations/voice/agents/pipecat/src/index.ts under the Turborepo workspace package @brokeros/int-agent-pipecat.
BrokerOS administrators configure the Pipecat runner connection directly within the Web UI at Dashboard -> Marketing -> Voice -> Settings. All credentials and endpoint URLs are encrypted using AES-256-GCM and stored in PostgreSQL (VoiceAgentIntegration).
Architecture and Dispatch Sequence
The Pipecat integration implements theIVoiceAgentProvider contract from @brokeros/types. Outbound sessions initialize on a Pipecat runner microservice and connect to the lead via PSTN SIP trunks.
Step 1: Deploy Pipecat Runner & Obtain Credentials
- Deploy your Pipecat real estate agent container on your cloud infrastructure (AWS ECS, Fly.io, or GCP Cloud Run).
- Note your runner service endpoint URL (e.g.
https://pipecat.internal.yourfirm.com). - Log into dashboard.daily.co to retrieve your Daily.co API key for WebRTC and SIP routing.
Step 2: Connect in the BrokerOS Web Dashboard
In your BrokerOS dashboard:- Navigate to Dashboard -> Marketing -> Voice -> Settings.
- Select the Gateways & Voice Platforms tab (
/dashboard/marketing/voice/settings?tab=providers). - Click the AI Voice Platforms sub-tab.
- Click Add Platform and select Pipecat AI.
- Fill in the modal connection fields:
- Click Save & Verify Engine. BrokerOS verifies connectivity to the runner, encrypts credentials via AES-256-GCM, and saves them in
VoiceAgentIntegration.
Integration Implementation Details
The Pipecat client is defined inintegrations/voice/agents/pipecat/src/index.ts.