Repository navigation
Description
Before submitting
- I searched existing issues for Antigravity, ACP, native video input, MP4, and multimodal attachments. I found general file-upload and video-preview requests, but not this specific request.
Area
apps/server / Antigravity ACP provider adapter; apps/web and apps/mobile attachment composer where applicable.
Problem or use case
I use T3 Code with the Antigravity ACP provider and a Google AI Pro account. I want to attach an MP4 recording of a phone/app UI workflow and have a video-capable Gemini model understand the original video: the sequence of touches, screen transitions, timing, and (when relevant) audio.
Uploading an MP4 as a file is not the same as delivering it to the model as native video input. Passing only the on-disk path requires the agent to discover and process the file via tools (e.g. FFmpeg frame extraction), which can lose temporal or audio information and does not use the model's native video interface.
Current behavior (based on the source)
The Antigravity ACP adapter currently passes a file-path reference in the prompt for non-image attachments rather than forwarding MP4 as native video content:
AcpAdapterV2.ts— prompt construction builds native image blocks for image attachments.AttachmentPrompt.tsappends the attachment's saved path to the prompt.AntigravityAcpSupport.tsdistinguishes native image/audio/PDF/text attachments from path-only files; video MIME types such asvideo/mp4fall into the path-only category.
This issue is specifically about native model video understanding, not uploading files, embedding a video player, or converting video to a set of screenshots.
Expected behavior
For an Antigravity/Gemini model and agent runtime that expose native video input:
- Attach an MP4 to a T3 Code message.
- Have the Antigravity provider deliver the video to the model through a supported native video/multimodal input route, retaining video timeline and audio where available.
- Ask for a time-ordered analysis of the original recording without requiring explicit FFmpeg extraction.
- If the ACP agent/runtime does not expose such a capability, report that limitation clearly and optionally offer the existing file-path/tool-based fallback.
Proposed approach
- Determine whether the official Antigravity ACP runtime exposes a native video capability, an extension, or a suitable
resource_linkmechanism that actually results in model-side video decoding (rather than merely providing a path). - If supported upstream, implement provider capability negotiation and a native-video attachment path in T3 Code.
- If this is blocked by the ACP agent or protocol, document the upstream blocker explicitly; coordinate with upstream rather than silently treating file-path attachment as native video.
- Add an integration/acceptance test that distinguishes true native video understanding from file-path-based frame extraction.
Why this matters
T3 Code already integrates Antigravity and supports general file attachments. Native video understanding would make screen recordings, UI testing, bug reproduction, and time-dependent interactions much easier to analyze accurately.
Related but distinct
- [Feature]: Any non-image file attachment support #2126 — generic non-image file attachments (path-based is sufficient there).
- Support non-image file attachments (PDF, logs, CSV) in the chat composer #4057 — support PDF/log/CSV attachments in composer.
- [Feature]: Video preview #5166 — embedded video preview/playback, not video understanding.
Activity