What is Daily Python SDK?
The Daily Python SDK is a powerful client library that enables you to build video and audio calling capabilities into native desktop and server applications using Python. It provides a comprehensive set of tools for creating real-time communication applications, from simple audio bots to sophisticated AI-powered agents.Looking to build voice and video AI agents?Check out Pipecat, our voice and multimodal conversational AI framework. Pipecat has excellent support for Daily and already uses this Python SDK under the hood.
Key Features
The Daily Python SDK provides everything you need to build real-time communication applications:- Meeting Participation - Join Daily meetings as a participant with full control over your connection
- Audio & Video Streaming - Send and receive high-quality audio and video streams
- Input Configuration - Configure camera, microphone, and custom media inputs
- Publishing Controls - Manage what media you publish to other participants
- Subscription Management - Control which participants’ media you receive
- Participant Control - Update remote participant permissions and manage meeting access
- Recording & Streaming - Start and stop cloud recordings and RTMP live streams
- Transcription - Enable real-time transcription of meeting audio
- Virtual Devices - Create virtual cameras, microphones, and speakers for custom media processing
- Voice Activity Detection - Built-in VAD for detecting speech in audio streams
Common Use Cases
The Daily Python SDK is ideal for building:Audio Bots
Create bots that join meetings to provide automated services like:- Announcements and notifications
- Interactive voice response (IVR) systems
- Meeting assistants and moderators
- Audio recording and transcription services
AI-Powered Agents
Build intelligent conversational agents with:- Real-time speech-to-text processing
- AI-generated responses via text-to-speech
- Multi-modal interactions combining audio and video
- Integration with LLMs and other AI services
Video Applications
Develop custom video experiences including:- Desktop video conferencing clients
- Screen sharing and presentation tools
- Video monitoring and surveillance systems
- Interactive video streaming applications
Media Processing Pipelines
Construct sophisticated media workflows:- Real-time audio/video filtering and enhancement
- Meeting analytics and insights extraction
- Custom recording and archival solutions
- Live streaming with dynamic overlays
System Requirements
Before installing the Daily Python SDK, ensure your system meets these requirements:- Python Version: Python 3.7 or newer
- Operating System: Linux with glibc 2.28 or newer (Ubuntu 18.04+, Debian 10+, etc.)
- Platform: x86_64 architecture
Architecture Overview
The SDK is built on top of Daily’s WebRTC infrastructure and provides a Pythonic interface to:- CallClient - The main client for managing your connection to Daily meetings
- EventHandler - Callback-based event system for handling meeting events
- Virtual Devices - Programmatic control over media inputs and outputs
- Media Processing - Direct access to raw audio and video frames
Next Steps
Installation
Install the Daily Python SDK and verify your setup
Quickstart
Build your first application in minutes
API Reference
Explore the complete API documentation
Examples
Browse real-world code examples
Getting Help
If you need assistance or have questions:- Join our Discord community
- Browse the demos directory for code examples
- Check the API reference documentation
- Visit Daily’s main documentation for platform-wide guides