Skip to content

AI Features Guide

With AI features enabled, you get the AI summary in the Changes tab, chat search, and search from AI agents.


Claude / ChatGPT / Gemini Ollama (local)
Privacy Video titles, comments, and PR information are sent outside Fully local, nothing leaves the network
Accuracy High Depends on the model
Cost Token-based billing Free (hardware cost only)
Setup An API key Ollama must be running with a downloaded model
Chat search Available The model must support tool calling (qwen2.5 is recommended)
Recommended for Production, team use Local and offline environments

Log in as an administrator and open the gear icon at the bottom left → Administration → AI.

  1. Pick the AI you want under Provider.
  2. Enter the API key (Base URL for Ollama) and the Model.
  3. Press Test & save.

Only settings that connect successfully are saved, and the provider becomes the one in use ●.
To switch to another AI, use "Use this provider".

Provider Where to get the API key Example models
Claude https://console.anthropic.com/ claude-haiku-4-5-20251001, claude-sonnet-4-6
OpenAI https://platform.openai.com/ gpt-5-mini, gpt-5
Gemini https://aistudio.google.com/ gemini-2.0-flash
Ollama Not needed (enter the Base URL) qwen2.5:3b (4 GB class GPU), qwen2.5:7b (8 GB class GPU or more, or CPU)

Note: pick an Ollama model that fits in the GPU's VRAM (a model that does not fit fails to load).


The Ollama container is defined in compose.prod.ollama.yml.
Pick CPU, NVIDIA, or AMD with --profile.

Terminal window
docker compose -f compose.prod.yml -f compose.prod.ollama.yml --profile cpu up -d

The host needs the NVIDIA Container Toolkit.

Terminal window
docker compose -f compose.prod.yml -f compose.prod.ollama.yml --profile nvidia up -d
Terminal window
docker compose -f compose.prod.yml -f compose.prod.ollama.yml --profile rocm up -d
Terminal window
# First time only; stored in a Docker volume
docker exec videoreview-ollama ollama pull qwen2.5:3b

Enter http://ollama:11434 as the Base URL.


Terminal window
# 1. Install Ollama: https://ollama.com/download
# 2. Download a model (first time only; stored in ~/.ollama/models)
ollama pull qwen2.5:3b

Enter http://localhost:11434 as the Base URL.


Press the chat icon in the video list header, type a question, and press Enter.
Note: chat search is not available when logged in as a guest.

You can search by upload date, title, tags, commit messages, and more.

  • "Show me the 3 most recently uploaded videos"
  • "Which videos have comments with drawings?"
  • "Which code changes went into the latest revision of the dragon boss video?"

VideoReview exposes tools that read videos, comments, and code changes over MCP (Model Context Protocol) at http://<VideoReview address>/api/v1/mcp.
Each user registers their own AI agent (Claude Code, Codex CLI, Gemini CLI, and so on) with this URL.

Ask an administrator to issue an API token and share it with you.
Administrators issue it from Administration → API Token (Admin Screen Guide).
The agent sends this token in the x-api-token header when it connects to VideoReview.

Claude Code

Terminal window
claude mcp add --transport http video-review http://videoreview.internal:3489/api/v1/mcp -H "x-api-token: <API token>"

Check with mcp list:

Terminal window
claude mcp list

Codex CLI

--bearer-token-env-var of codex mcp add is for the Authorization header, so put x-api-token in ~/.codex/config.toml instead.

[mcp_servers.video-review]
url = "http://videoreview.internal:3489/api/v1/mcp"
env_http_headers = { "x-api-token" = "VIDEO_REVIEW_API_TOKEN" }

Set VIDEO_REVIEW_API_TOKEN in your shell and start codex.

Check with mcp list:

Terminal window
codex mcp list

Gemini CLI

Terminal window
gemini mcp add --transport http -H "x-api-token: <API token>" video-review http://videoreview.internal:3489/api/v1/mcp

Check with mcp list:

Terminal window
gemini mcp list

General knowledge such as which tool answers which question and how dates are interpreted is built into VideoReview.
Your team's own knowledge goes into the admin screen.
It is passed to both chat search and AI agents.

Open Administration → MCP, write in the text box, and save.

Write what your tags and folders mean, who owns what, how answers should look, and how people phrase common questions

Section titled “Write what your tags and folders mean, who owns what, how answers should look, and how people phrase common questions”
# Tags
- bug: filed by QA (the ticket number is in the comment)
- wip: not reviewed yet (leave out of "finished videos" questions)
# Folders
- 05_cutscene: owned by the cinematics team
# Answer format
- One line per video, with the link and the date of the latest revision
- "Recent" means within two weeks
# Common questions
- "Waiting for review" means videos without the wip tag and with no comments

Videos with tags, events and related files attached are easier to find in search.
Attach them with the maintenance CLI (maintenance CLI guide).

Set tags and a summary

Terminal window
go run . annotate-video-rev \
--video_rev_id {uuid} \
--tags "A,B,C" --summary "summary text"

Attach events (the JSON format is in the CLI guide)

Terminal window
go run . upload-video-event-context --video_rev_id {uuid} --json_path "events.json"

Register related files (needs a connected VCS, see the VCS guide)

Terminal window
go run . patch-video \
--video_id {uuid} \
--vcs_watch_paths "/path/to/file1,/path/to/file2"

The tools VideoReview provides over MCP.
The AI picks and calls them for each question, so users never use them directly.

Tool What it returns
list_videos Videos (filter by title, folder, tags, upload date, and comment conditions)
get_video One video with all its revisions
list_comments Review comments (filter by text, user, date, drawings, issue links)
list_video_events Analysis events of one video (on-screen text, transcription, and so on)
search_videos_by_event Videos whose dialogue or subtitles contain a phrase
list_vcs_changes PRs and commits linked to a revision
get_vcs_summary AI summary of the code changes
list_tags Every tag in use
list_folders Every folder in use
Symptom Cause and fix
The agent's connection returns HTTP 401 The x-api-token header is missing, or the token is wrong or revoked (issue a new one)
The agent cannot connect The registered URL is wrong, or VideoReview is unreachable (check that the same address opens in a browser)
list_vcs_changes asks for from The first revision has nothing to compare with (open that video's Changes tab once, or ask about a later revision)