Skip to main content
Summarise clips, detect scenes, and understand video content with a single Agent backed by a vision model.
Video analysis agent using vision models for content understanding.

Quick Start

1

Simple Usage

Pass a video file to a task for analysis.
2

With Configuration

Return structured fields with a Pydantic schema.

How It Works


Simple

Agents: 1 — Single agent with vision capabilities analyzes video content.

Workflow

  1. Receive video file
  2. Process frames with vision model
  3. Generate comprehensive analysis

Setup

Run — Python

Run — CLI

Run — agents.yaml

Serve API


Advanced Workflow (All Features)

Agents: 1 — Single agent with memory, persistence, structured output, and session resumability.

Workflow

  1. Initialize session for video tracking
  2. Configure SQLite persistence for analysis history
  3. Analyze video with structured output
  4. Store results in memory for comparison
  5. Resume session for follow-up analysis

Setup

Run — Python

Run — CLI

Run — agents.yaml

Serve API


Monitor / Verify

Cleanup

Features Demonstrated

Best Practices

Vision models read media from the images=[...] field on a Task. A file path in the prompt text is invisible to the model.
Set llm="gpt-4o-mini" or another multimodal model. Text-only models cannot process video frames.
Long videos dilute detail. Analyse in segments and combine results when you need frame-level accuracy across a full recording.
Add output_pydantic with scenes and key_events so a search index or timeline UI can consume the output directly.
Analyze still images frame by frame.
Extract on-screen text with OCR.