Repository navigation
Conversation
New `agy` engine and transcription backend (scripts/agy.py): the video is downloaded locally and Gemini reads it through the user's Antigravity CLI, with no API key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an
agyengine and transcription backend so/watchcan use Gemini through the user's signed-in Antigravity CLI, with noGEMINI_API_KEY.--engine agy/WATCH_ENGINE=agy: downloads the video (≤720p), extracts the audio (agy's viewer sees frames but not sound), passes captions when available, and asks Gemini the user's--question. The report carries## Answer (from Gemini via agy), relayed like the existing Gemini answer.--start/--endcut a clip first, and Gemini is told to cite source-video time.--whisper agy/WATCH_WHISPER_BACKEND=agy: transcribes caption-less audio in 10-minute chunks and restores source-time offsets. Inauto, agy is used only when no Groq/OpenAI key is found andagyis on PATH.WATCH_AGY_MODEL(defaultgemini-3.8-flash-medium),WATCH_AGY_TRANSCRIBE_MODEL(defaultgemini-3.8-flash-low),WATCH_AGY_TIMEOUT(900 s),WATCH_AGY_BIN.agyas an engine and as a fallback backend.setup.py --engine agyexits 2 whenagyisn't found.Safety
--dangerously-skip-permissions, so agy runs headless with default permissions and can't run shell or MCP tools.--add-dirfor the run's work dir only. A local source file is hard-linked or copied in; its folder is never exposed.agy <category>:failure is reported under## Unavailable evidence.Notes
test_packaging.pynow includesagy.py.agy.pytests yet; I'm happy to add some.-origcaption-track fix to fix: pick the matching -orig caption track on auto-dubbed videos #255.🤖 Generated with Claude Code