Build real-time video AI agents that process video with computer vision models, analyze frames with VLMs, or stream directly to realtime models. Deploy to production with built-in metrics. Complete the Quickstart first.
Three Approaches
Realtime Mode
Stream video directly to models with native vision support. Thefps parameter controls how many frames per second are sent to the model:
Vision Language Models (VLMs)
For video understanding and analysis, use VLMs that support the chat completions spec. Vision Agents automatically buffers frames and includes them with each request. Add the video-specific plugins:.env:
Video Processors
For computer vision tasks like object detection, pose estimation, or custom ML models, use processors. They intercept video frames, run inference, and forward results to the LLM.Copy this prompt into Claude Code, Cursor, Windsurf, or any coding agent to scaffold a video agent with YOLO.
Processors can be chained: run detection first, then pass annotated frames to the LLM.
Custom Pipeline with VLM
Combine VLMs with separate STT and TTS for full control:What’s Next
Video Processors
Build custom detection and analysis pipelines
Docker Deployment
Docker setup and environment configuration
Examples
- Golf Coach: Realtime pose detection + coaching
- Security Camera: Face recognition + package detection
- Football Commentator: Object detection + live commentary