Repository navigation
Releases
v0.3.8
- Missing ffmpeg: the one-line error names the tool that is missing (ffmpeg or ffprobe) and gives the install command for macOS, Debian or Ubuntu, and Windows. The
agentic-video-checkcommand exits with code 2 in that case. (#91) - The on-screen text and visual search setup message ends with the download command, so pasting it runs as printed. Before, a stray period made Python fail with a SyntaxError. The "Nothing was downloaded" sentence now comes before the command. (#92)
- The CLIP setup error links the README section on GitHub instead of saying "see README", which the pip package does not include. (#87)
- On Linux and Windows,
count_occurrenceswithtextandread_textsay that Apple Vision runs only on macOS, instead of giving a pip install command that cannot supply it. The macOS message is unchanged. (#90) - The README's MCP and Python examples say they run from a git checkout, because a pip install has no
fixtures/folder; pip users are pointed to their own video. (#89) - Docs: the Claude Desktop bundle page quotes the current ffmpeg error text word for word.
- MCP over stdio: a notification (a message with no id) gets no reply, as JSON-RPC requires, and
pingreturns an empty result instead of "Method not found". All 33 tools were run once over stdio on 0.3.7 and main; each answered. - MCP over stdio:
initializeechoes the client'sprotocolVersionwhen the server supports it, and otherwise answers with the newest version it supports. The server supports only 2024-11-05 for now: 2025-03-26 requires accepting JSON-RPC batches, which this server does not do yet. Before, it always answered 2024-11-05. count_repetitions:min_period_secandmax_period_secoutside 0.133 to 180 s are moved into that range, and the note says so. Before, such values were used as given, with no note. The fps cap (15) and the 180 s window limit were already in place.- CLI
callkeeps polling a background job (build_visual_index,search_visual) until it settles, for up to 900 s. Before, each one-line call answered "queued" and the job never finished. The MCP server path is unchanged. (#96) - MCP over stdio: when the client closes stdin while a background job runs (visual index, motion index, counts, repetitions, transcript, URL download), the server waits for the job before it exits. A visual index stops after its current chunk, so saved chunks are kept. The server waits up to 660 s and exits 0 only when every job has finished; past that it exits 1 with a message. Before, it could abort with exit -6 ("terminate called without an active exception"), and a URL download still running at stdin close was dropped while the server exited 0.
- Tests: the stdio every-tool test expects the visual tools' reply for the CLIP state the server sees (extra missing, weights missing, or present). Before, it assumed the weights were absent, so a host that had them failed. It also lets the jobs its calls start settle before it closes stdin.
- A URL source with yt-dlp missing names both installs:
brew install yt-dlpon macOS anduv pip install --python <the server's python> yt-dlpon Linux. Before, the message gave only the brew line, which does not exist on Debian or Ubuntu. - Tests:
test_closing_stdin_while_url_download_runs_waits_for_itskips when the server cannot find yt-dlp (PATH, /opt/homebrew/bin or /usr/local/bin). The README install does not add yt-dlp, so a clean install failed that one test (1 failed, 866 passed, 39 skipped on the box). URL sources still need yt-dlp, and the test runs wherever it is installed. - Tests: the visual-interval test (
test_search_visual_rank_one_window_stays_short_and_covers_shot) uses a flat-colour background and asks for the top 1 hit, so its 15 s bound no longer depends on random gradient frames or on lower-ranked hits merged into the window. It failed about 1 run in 6 under load before. - Tests:
test_search_visual_lower_hits_merge_into_rank_one_intervalruns search_visual with top_k 5 on the flat-colour clip and asserts that the hits ranked 2 and 3 merge into the rank-1 interval, which is longer than the 8 s cap. - Visual search reads CLIP weights from
HUGGINGFACE_HUB_CACHEwhenHF_HUB_CACHEis unset, as huggingface_hub does.count_repetitionskeeps a valid min/max period pair valid after clamping: when both ends clamp to the same bound, the end on the bound moves one frame (1/15 s) inward, and the note says so.
0.3.7
0.3.7 fixes the setup messages 0.3.6 gave pip users.
- Visual search setup errors give the pip command to run, not a repo-only file, and no longer call the missing setup a bug. (#81)
- The CLIP download command it prints uses
python, so it works outside the repo's .venv. (#81) - Switched-off tools such as watch_for refuse first, even when the arguments are malformed (for example a list). (#81)
- The CLIP weights check finds weights cached under HF_HUB_CACHE, HF_HOME or XDG_CACHE_HOME, including values that start with ~. (#84)
- On-screen text search without the OCR extra tells you the exact pip command to install it. (#85)
- The cloud step says it is switched off in this release and that nothing was sent. (#85)
0.3.6
0.3.6 fixes bugs found by installing 0.3.5 from PyPI.
- Visual search without the optional AI packages now tells you what to install instead of waiting forever. (#77)
- Visual search tells you at once when the CLIP weights are missing, with the download command. (#79)
- watch_for (and the other switched-off Cloudflare tools) now say they are switched off and that nothing was sent, before any other error. (#77, #78)
- Motion: a tiny 1-pixel move is no longer reported as a duplicate frame. (#76)
- The repo's no-loss onset benchmark (
benchmarks/dev/onsets/score.py --set noloss, developer-only, not in the PyPI package) now exits with an error code when it finds loss. (#75)
Known issue for pip users (fixed on main in #81, in the next release): the visual-search setup message names requirements-visual.txt and .venv/bin/python; with pip, install agentic-video[visual] and use your own python.
0.3.5
What changed
- Version 0.3.4 is bumped to 0.3.5 in
pyproject.toml,mcpb/manifest.jsonandserver.json(both places),.claude-plugin/plugin.jsonand.claude-plugin/marketplace.json. - Merged since 0.3.4:
- #53 benchmarks: realistic onset set.
- #56 audio_onsets finds beeps and quiet starts.
- #59 away-ship post-merge check.
- #65 llms.txt and docs/llms copies.
- #66 MCP Registry subsection in the README.
- #67 motion_ tools for GIF and short-clip quality, ms warm calls.
- #68 when-to-use page.
- #69 verify.sh runs related tests in 4 pytest workers.
- #70 Workers AI switched off: every Cloudflare feature refuses before any request.
- #71 motion selftest refuses too-short clips.
- #72 Cloudflare tools switched off in the docs.
- #73 (also on main since 0.3.4).
Why
Release 0.3.5, the same version-only bump that Release 0.3.4 (#52) did.
Tests
- Version-only change: no code changed.
python3 -c "import tomllib; ..."on pyproject.toml prints 0.3.5.python -m json.toolparsesmcpb/manifest.json,server.jsonand both.claude-pluginfiles.- Box: full suite 835 passed, 26 skipped, 0 failed at origin/main; built wheel installs clean and its self-test passes 5 of 5; gitleaks clean on sdist and wheel.
No issue: release bump
Ran live: uv run --no-project --python 3.12 python -c "import tomllib;print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])" -> 0.3.5
Agent: claude
0.3.4
count_occurrencescan now count only things moving one way across the frame.- New opt-in shadow transcription trial for the maintainer's own machines, off by default.
- The shadow trial now checks its account and token settings before doing anything.
pip install -U agentic-video
v0.3.3
What's Changed
- Fast inner check: related tests, verify.sh and a tool CLI by @tlq5l in #38
- Argument shapes: forgiving input and an example in every argument error by @tlq5l in #39
- Read on-screen text in frame_at and inspect_window by @tlq5l in #40
- audio_onsets: merge double-reported hits closer than 35 ms by @tlq5l in #41
- Fix stale transcribe jobs and README gaps from install check by @tlq5l in #42
- sync_check: candidate counts by default, full list on verbose by @tlq5l in #43
- frame_at: pick frames by exact integer timestamps by @tlq5l in #44
- search_visual: grow the rank-1 window only over close frames, up to 8 s by @tlq5l in #45
- review_video: list near-black stretches by @tlq5l in #46
- frame_at: exact frames in B-frame AVI, accept argument shortcuts by @tlq5l in #47
- Release 0.3.3 by @tlq5l in #48
Full Changelog: v0.3.2...v0.3.3
v0.3.2
v0.3.1
What's Changed
- Fix 4 tests that fail on Linux with FFmpeg 5.1 (one real truncated-file bug) by @tlq5l in #32
- detect_cuts: rescue hard cuts the soft scan dropped, drop weak motion peaks (held-out F1 93.8 -> 95.0) by @tlq5l in #33
- search_transcript: drop semantic hits below cosine 0.70 (no-match queries 25/25 -> 0/25 held-out) by @tlq5l in #34
- count_occurrences: flag counts of things that cross the frame (silent wrong counts held-out 2 -> 1) by @tlq5l in #35
- Release 0.3.1 by @tlq5l in #36
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- Accept audio-only files in probe_video, transcribe and search_transcript by @tlq5l in #27
- Check tool arguments against the schema and name the bad parameter by @tlq5l in #28
- Add frame_at: one full-resolution frame at an exact time, with optional crop by @tlq5l in #29
- Make published schemas match what Executor validates by @tlq5l in #30
- Add a one-click Claude Desktop bundle and release 0.3.0 by @tlq5l in #31
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Privacy first: two new tools send media to Cloudflare
watch_for and label_sounds are optional cloud tools. When you set Cloudflare credentials and call one of them, it sends video frames or audio to Cloudflare Workers AI. Every other tool still runs on your machine and never calls Cloudflare. Do not use these two on recordings you need to keep private. Without CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN (or AGENTIC_VIDEO_CF_TOKEN_COMMAND), they return an error naming what is missing and send nothing.
New tools
watch_for: checks sampled frames for something you describe and returns the times it is likely seen. Cloud (see above).label_sounds: returns, for each audio window in a time range, the chance of each sound label from a closed list (yours or the default), plusnone_chance. Cloud (see above). If it stops after finishing some windows (its time limit, or a later request failing), it returnscomplete: falseandnext_start_secso the agent can continue; requests over 60 windows are rejected.
Changes
search_transcriptis now hybrid: exact keyword hits come first, then passages that match by meaning. The meaning part is optional and on-device (EmbeddingGemma 2 Core ML on macOS, set withAGENTIC_VIDEO_EG2_DIRandAGENTIC_VIDEO_EG2_PYTHON). Without it the tool returns keyword hits only and says why in anote.search_visual: the interval holding the top hit is now at least 15 s long, or the whole searched and indexed range when that is shorter. Shorter intervals are widened around their centre and shifted inside those bounds. Overlapping hits are merged into it. On public QVHighlights clips this raised mean overlap with the true moment (IoU) from 0.125 to 0.353 on 25 items. Very short events can get a window that is too long.
Upgrade
uvx agentic-video@0.2.0, or pipx upgrade agentic-video. Restart your MCP client's server to see the new tools.