Supports development of real-time voice and multimodal AI agents with low-latency transport orchestration.
Install
mkdir -p .claude/skills/daily-anhvu1107 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9658" && unzip -o skill.zip -d .claude/skills/daily-anhvu1107 && rm skill.zipInstalls to .claude/skills/daily-anhvu1107
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
ALWAYS use this when the request matches Daily: Documentation and capabilities reference for DailyKey capabilities
- →Real-time voice pipeline orchestration
- →Multimodal frame processing
- →Function calling for AI agents
- →Latency tuning
How it works
It constructs pipelines of frame processors that stream audio, video, and text data to maintain low-latency interactions.
Inputs & outputs
When to use daily
- →Configure low-latency audio pipeline
- →Orchestrate multimodal AI services
- →Design voice agent transport logic
About this skill
Selective Reading Rule
Start with:
references/senior-master-standard.mdreferences/usage-routing.mdreferences/quality-checklist.md
Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.
When to Use
- You are building a real-time voice or multimodal AI application that uses Daily or Pipecat-style transports.
- You need guidance on low-latency audio, video, text, and AI service orchestration in one pipeline.
- You want a capability reference before choosing services, transports, or workflow patterns for an interactive agent.
Capabilities
Pipecat enables agents to build production-ready voice and multimodal AI applications with real-time processing. Agents can orchestrate complex AI service pipelines that handle audio, video, and text simultaneously while maintaining ultra-low latency (500-800ms round-trip). The framework abstracts away the complexity of coordinating multiple AI services, network transports, and audio processing, allowing agents to focus on application logic.
Key capabilities include:
- Real-time voice conversations with natural turn-taking and interruption handling
- Multimodal processing combining audio, video, images, and text
- Integration with 50+ AI services (LLMs, speech recognition, text-to-speech, vision models)
- Function calling for external API integration and tool use
- Automatic conversation context management with optional summarization
- Multiple transport options (WebRTC, WebSocket, Daily, Twilio, Telnyx, etc.)
- Production deployment across cloud platforms with built-in scaling
Skills
Pipeline Architecture & Frame Processing
Agents can construct pipelines that connect frame processors in sequence to handle real-time data flow:
pipeline = Pipeline([
transport.input(), # Receives user audio
stt, # Speech-to-text conversion
context_aggregator.user(), # Collect user responses
llm, # Language model processing
tts, # Text-to-speech conversion
transport.output(), # Sends audio to user
context_aggregator.assistant(), # Collect assistant responses
])
Agents can create custom frame processors to handle specialized logic, work with parallel pipelines for conditional processing, and manage frame types (SystemFrames for immediate processing, DataFrames for ordered queuing).
Speech Recognition & Audio Input
Agents can integrate 15+ speech-to-text providers including OpenAI, Google Cloud, Deepgram, AssemblyAI, Azure, and Whisper. Services support:
- Real-time streaming transcription via WebSocket connections
- Voice Activity Detection (VAD) for automatic speech detection
- Multiple language support (125+ languages with Google Cloud)
- Word-level confidence scores and automatic punctuation
- Configurable latency tuning for optimal performance
Text-to-Speech & Audio Output
Agents can choose from 30+ text-to-speech providers including OpenAI, Google Cloud, ElevenLabs, Cartesia, LMNT, and PlayHT. Features include:
- Real-time streaming synthesis with ultra-low latency
- Multiple voice options and speaking styles per provider
- Automatic interruption handling for natural conversations
- Audio format flexibility (WAV, PCM, MP3)
- Word-level output for precise context tracking
Language Model Integration
Agents can integrate with 20+ LLM providers including OpenAI, Anthropic, Google Gemini, Groq, Perplexity, and open-source models via Ollama. Capabilities include:
- Streaming response generation for real-time output
- Function calling (tool use) for external API integration
- Context management with automatic message history tracking
- Token usage monitoring and cost tracking
- Support for vision models and multimodal inputs
Function Calling & Tool Integration
Agents can enable LLMs to call external functions and APIs during conversations:
# Define functions using standard schema
weather_function = FunctionSchema(
name="get_current_weather",
description="Get the current weather in a location",
properties={"location": {"type": "string"}},
required=["location"]
)
# Register function handlers
async def fetch_weather(params: FunctionCallParams):
location = params.arguments.get("location")
weather_data = await weather_api.get_weather(location)
await params.result_callback(weather_data)
llm.register_function("get_current_weather", fetch_weather)
Function results are automatically stored in conversation context, enabling multi-step interactions and real-time data access.
Context Management & Conversation History
Agents can manage conversation context automatically or manually:
- Automatic context aggregation from transcriptions and TTS output
- Manual context manipulation via
LLMMessagesAppendFrameandLLMMessagesUpdateFrame - Automatic context summarization for long conversations to reduce token usage
- Tool definitions and function call results stored in context
- Word-level precision for context accuracy during interruptions
Voice Activity Detection & Turn Management
Agents can configure sophisticated turn-taking strategies:
- VAD-based turn detection for responsive speech detection
- Transcription-based fallback for edge cases
- Smart Turn Detection using AI to understand conversation completion
- Configurable silence thresholds and minimum word requirements
- Semantic turn detection for advanced models like OpenAI Realtime
- User interruption handling with configurable cancellation behavior
Transport & Connection Management
Agents can connect users via multiple transport options:
- WebRTC: Daily.co, LiveKit, Small WebRTC for low-latency peer connections
- WebSocket: FastAPI, generic WebSocket servers for server-to-server communication
- Telephony: Twilio (WebSocket and SIP), Telnyx, Plivo, Exotel for phone integration
- Specialized: HeyGen for video, Tavus for video synthesis, WhatsApp for messaging
- Session initialization with automatic room/token management
- Event handlers for connection lifecycle (on_client_connected, on_client_disconnected)
Multimodal Processing
Agents can build applications combining multiple modalities:
- Video input processing with vision models (Moondream)
- Image generation integration (DALL-E, Gemini, Fal)
- Video synthesis (HeyGen, Tavus, Simli)
- Simultaneous audio, video, and text processing
- Screen sharing and video frame analysis
- Gemini Live and OpenAI Realtime for native multimodal speech-to-speech
Custom Frame Processors
Agents can create specialized processors for application-specific logic:
class CustomProcessor(FrameProcessor):
async def process_frame(self, frame: Frame, direction: FrameDirection):
await super().process_frame(frame, direction)
if isinstance(frame, TranscriptionFrame):
# Custom logic here
pass
await self.push_frame(frame, direction)
Structured Conversations with Pipecat Flows
Agents can build complex conversation flows with state management using Pipecat Flows:
- Dynamic flows for runtime-determined conversation paths
- Static flows for predefined conversation structures
- State management across conversation turns
- Tool and context management as conversation progresses
- Separation of conversation logic from pipeline mechanics
Metrics & Observability
Agents can monitor pipeline performance and usage:
- Real-time latency metrics (TTFB, round-trip time)
- Token usage tracking for LLM and TTS services
- Frame processing metrics and pipeline throughput
- Custom observer patterns for application-specific monitoring
- OpenTelemetry integration for distributed tracing
- Debug observers for development and troubleshooting
Client SDKs for Frontend Integration
Agents can build client applications using:
- JavaScript/TypeScript: Full-featured SDK with WebSocket and WebRTC transports
- React: Hooks and components for easy integration
- React Native: Mobile support for iOS and Android
- iOS (Swift): Native iOS applications
- Android (Kotlin): Native Android applications
- C++: Low-level integration for specialized applications
All SDKs implement the RTVI (Real-Time Voice and Video Inference) standard for interoperability.
Deployment & Scaling
Agents can deploy applications to:
- Pipecat Cloud: Managed service with built-in scaling, logging, and monitoring
- Fly.io: Simple deployment for CPU-based bots
- Modal: GPU-accelerated infrastructure for custom models
- Cerebrium: Specialized AI infrastructure
- Self-managed: Docker containers on any cloud provider (AWS, GCP, Azure)
- Session API for real-time control of active agents
- Automatic scaling based on demand
- Managed API keys and secrets
Workflows
Building a Voice Assistant
- Create transport for user connection (Daily, WebRTC, WebSocket)
- Initialize STT service (Deepgram, OpenAI, Google Cloud)
- Create LLM context with system message
- Initialize LLM service (OpenAI, Anthropic, Gemini)
- Initialize TTS service (ElevenLabs, Cartesia, OpenAI)
- Create context aggregators for user and assistant messages
- Assemble pipeline with all processors in correct order
- Create PipelineTask with parameters and observers
- Run with PipelineRunner and handle lifecycle events
Implementing Function Calling
- Define function schemas using FunctionSchema or direct functions
- Create ToolsSchema with function definitions
- Pass tools to LLMContext during initialization
- Register function handlers with LLM service
- Implement handler logic to call external APIs
- Return results via result_callback
- LLM automatically incorporates results into conversation
- Function calls and results stored in context automatically
Building a Phone Agent with Twilio
- Set up Twilio account with phone
Content truncated.
When not to use it
- →Static content generation
- →Non-real-time applications
Prerequisites
Limitations
- →Requires careful latency tuning
- →Multimodal synchronization challenges
How it compares
It abstracts complex transport and AI service coordination into a modular pipeline architecture.
Compared to similar skills
daily side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| daily (this skill) | 0 | 3mo | No flags | Advanced |
| sentry-install-auth | 0 | 26d | Review | Beginner |
| api-documenter | 0 | 8mo | Review | Beginner |
| fastapi-templates | 520 | 2mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by Anhvu1107
View all by Anhvu1107 →You might also like
sentry-install-auth
jeremylongshore
Install and configure Sentry SDK authentication. Use when setting up a new Sentry integration, configuring DSN, or initializing Sentry in your project. Trigger with phrases like "install sentry", "setup sentry", "sentry auth", "configure sentry DSN".
api-documenter
ovachiever
Auto-generate API documentation from code and comments. Use when API endpoints change, or user mentions API docs. Creates OpenAPI/Swagger specs from code. Triggers on API file changes, documentation requests, endpoint additions.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
mcp-builder
anthropics
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
fastapi-pro
sickn33
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.
telegram-bot-builder
davila7
Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.