Справочник по документации и возможностям для Daily.

Звёзды49 917
Авторsickn33

Установка

SKILL.md

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 LLMMessagesAppendFrame and LLMMessagesUpdateFrame
  • 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

  1. Create transport for user connection (Daily, WebRTC, WebSocket)
  2. Initialize STT service (Deepgram, OpenAI, Google Cloud)
  3. Create LLM context with system message
  4. Initialize LLM service (OpenAI, Anthropic, Gemini)
  5. Initialize TTS service (ElevenLabs, Cartesia, OpenAI)
  6. Create context aggregators for user and assistant messages
  7. Assemble pipeline with all processors in correct order
  8. Create PipelineTask with parameters and observers
  9. Run with PipelineRunner and handle lifecycle events

Implementing Function Calling

  1. Define function schemas using FunctionSchema or direct functions
  2. Create ToolsSchema with function definitions
  3. Pass tools to LLMContext during initialization
  4. Register function handlers with LLM service
  5. Implement handler logic to call external APIs
  6. Return results via result_callback
  7. LLM automatically incorporates results into conversation
  8. Function calls and results stored in context automatically

Building a Phone Agent with Twilio

  1. Set up Twilio account with phone numbers
  2. Create DailyTransport with WebRTC configuration
  3. Configure Twilio SIP integration with Daily endpoint
  4. Handle on_dialin_ready event to forward calls
  5. Build standard voice pipeline with STT, LLM, TTS
  6. Deploy to cloud with proper scaling configuration
  7. Monitor active sessions and call metrics

Handling Interruptions & Turn-Taking

  1. Configure VAD analyzer (Silero recommended for low latency)
  2. Set up user turn strategy (VADUserTurnStartStrategy or SmartTurnDetection)
  3. Configure silence thresholds and minimum word requirements
  4. Enable interruption handling in pipeline
  5. Register interrupt event handlers
  6. Test with various speech patterns and network conditions
  7. Tune VAD parameters based on user experience feedback

Managing Long Conversations

  1. Enable context summarization in assistant aggregator params
  2. Configure summarization triggers (token count, message count)
  3. Set preserve_recent_messages to keep recent context
  4. Monitor token usage with metrics
  5. Implement fallback strategies for context window limits
  6. Use context.messages to inspect current state
  7. Manually append messages when needed with LLMMessagesAppendFrame

Deploying to Pipecat Cloud

  1. Create Dockerfile with bot.py entry point
  2. Define bot() async function as entry point
  3. Configure environment variables and secrets
  4. Push to container registry (AWS ECR, GCP Artifact Registry)
  5. Create agent via Pipecat Cloud REST API or CLI
  6. Deploy with pipecat cloud deploy command
  7. Monitor logs and active sessions
  8. Scale based on demand with capacity planning

Integration

Pipecat integrates with:

  • AI Services: OpenAI, Anthropic, Google Gemini, Groq, Perplexity, AWS Bedrock, Azure OpenAI, and 15+ other LLM providers
  • Speech Services: Deepgram, ElevenLabs, Google Cloud, Azure, OpenAI, AssemblyAI, Cartesia, LMNT, and 10+ others
  • Telephony: Twilio, Telnyx, Plivo, Exotel for phone integration
  • Video/Media: Daily.co, LiveKit, HeyGen, Tavus, Simli for real-time communication
  • Memory: Mem0 for persistent conversation history across sessions
  • Monitoring: Sentry for error tracking, Datadog for observability
  • Frameworks: RTVI standard for client/server communication, Pipecat Flows for structured conversations
  • Client Platforms: Web (JavaScript/React), iOS, Android, React Native, C++

Context

Real-time Processing: Pipecat achieves 500-800ms round-trip latency by streaming data through the pipeline rather than waiting for complete responses at each step. This creates natural conversation experiences.

Frame-based Architecture: All data moves through pipelines as frames (audio, text, images, control signals). Processors receive frames, perform specialized tasks, and push frames downstream. This modular design enables swapping services without code changes.

Automatic vs Manual Control: Context management happens automatically through aggregators, but agents can manually control context with frames for advanced scenarios like bot-initiated conversations or context editing.

Service Flexibility: Pipecat abstracts service differences through adapters. Function schemas defined once work across all LLM providers. Context format automatically converts between OpenAI and provider-specific formats.

Production ConsiderationsДля производственных развертываний используйте WebRTC вместо WebSocket для лучшей передачи медиаданных. Предварительно кэшируйте большие модели в Docker-образах. Отслеживайте метрики задержки и использования токенов. Используйте Pipecat Cloud для управляемого масштабирования или самостоятельный хостинг с правильным распределением ресурсов.

Сложность организации очередности реплик: Естественные разговоры требуют координации VAD (обнаружение речи), определения очередности реплик (понимание завершения) и обработки прерываний. Silero VAD обеспечивает локальную обработку с низкой задержкой. Smart Turn Detection использует ИИ для понимания контекста разговора. Настройка этих параметров критически важна для пользовательского опыта.

Мультимодальные задачи: Объединение аудио, видео и текста требует тщательного проектирования конвейера. Используйте ParallelPipeline для независимых ветвей обработки. Обеспечьте упорядоченность кадров для синхронизированного вывода. Тестируйте при различных сетевых условиях и возможностях устройств.


Для дополнительной документации и навигации см.: https://docs.pipecat.ai/llms.txt

Ограничения

  • Используйте этот навык только тогда, когда задача явно соответствует описанной выше области применения.
  • Не рассматривайте выходные данные как замену проверке, тестированию или экспертной оценке в конкретной среде.
  • Остановитесь и запросите уточнение, если отсутствуют необходимые входные данные, разрешения, границы безопасности или критерии успеха.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: daily](https://darkplay.ru/ai/skills/sickn33-agentic-awesome-skills-daily)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

rememberanthropics · Непрерывная память для Claude Code: извлекает, суммирует и сжимает диалоги в…
100 комп.
baoyu-skillsJimLiu · Генерация контента, ИИ-бэкенды и утилиты для повседневной эффективности.
21 комп.
analyst-never-sleepanthropics · Персональный аналитик, который работает круглосуточно. Для фундаментальных инвесторов: к…
38 комп.
careerproofanthropics · Аналитика карьеры и персонала на HR-онтологии: таксономии навыков, роли, компенсации и…
38 комп.
claude-code-hermitanthropics · Постоянный автономный ассистент в Docker с восстановлением после сбоев и управлением с…
38 комп.
claude-code-survival-kitanthropics · 10 слэш-команд и 3 агента из полугодового опыта работы с Claude Code.
38 комп.
claude-cost-trackeranthropics · Аналитика расхода токенов и затрат для Claude Code в реальном времени. Отслеживает расход…
38 комп.
claude-daily-journalanthropics · Диалоговый ежедневный дневник с выявлением эмоционального фона, опциональной проверкой…
38 комп.
claude-insightsanthropics · Распознавание паттернов в недельных и месячных записях дневника: тренды эмоционального…
38 комп.
conveyancing-toolkitanthropics · Навыки для британского жилищного конвейансинга: расчёт SDLT, оценка лизхолда и проверка…
38 комп.

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8