Source-linked AI summary
UniVA: Universal Video Agent towards Open-Source Next-Generation Video Generalist
Zhengyang Liang, Daoan Zhang, Huichi Zhou, Rui Huang, Bobo Li, Yuechen Zhang, Shengqiong Wu, Xiaohan Wang, Jiebo Luo, Lizi Liao, Hao Fei
TL;DR
Specialized video models excel at isolated tasks, while real-world applications require complex, iterative workflows that combine them. UniVA joins planning, memory, and modular tools in an open-source agent framework, and the paper reports competitive performance across a wide array of video tasks.
Problem
Real-world video applications require composite, iterative workflows, but specialized models and tools require brittle, labor-intensive manual coordination.
Source: §1 · p. 1Method
UniVA combines a Plan–Act dual-agent workflow and hierarchical memory to coordinate open-source or API-based tools for multi-step video creation and manipulation.
Source: §1 · pp. 2–3, §3.2.1 · p. 5Results
UniVA reports competitive performance across a wide array of video tasks and achieves the highest accuracy of 0.76 in Table 2a.
Source: §5.1.2 · p. 10, §6 · p. 16Takeaways & Limitations
UniVA-Bench evaluates multi-step video tasks and measures task performance alongside planning quality, memory utilization, and tool-routing efficiency.
Source: §1 · p. 3
Abstract
from arXiv · showhide
While specialized AI models excel at isolated video tasks like generation or understanding, real-world applications demand complex, iterative workflows that combine these capabilities. To bridge this gap, we introduce UniVA, an open-source, omni-capable multi-agent framework for next-generation video generalists that unifies video understanding, segmentation, editing, and generation into cohesive workflows. UniVA employs a Plan-and-Act dual-agent architecture that drives a highly automated and proactive workflow: a planner agent interprets user intentions and decomposes them into structured video-processing steps, while executor agents execute these through modular, MCP-based tool servers (for analysis, generation, editing, tracking, etc.). Through a hierarchical multi-level memory (global knowledge, task context, and user-specific preferences), UniVA sustains long-horizon reasoning, contextual continuity, and inter-agent communication, enabling interactive and self-reflective video creation with full traceability. This design enables iterative and any-conditioned video workflows (e.g., text/image/video-conditioned generation $\rightarrow$ multi-round editing $\rightarrow$ object segmentation $\rightarrow$ compositional synthesis) that were previously cumbersome to achieve with single-purpose models or monolithic video-language models. We also introduce UniVA-Bench, a benchmark suite of multi-step video tasks spanning understanding, editing, segmentation, and generation, to rigorously evaluate such agentic video systems. Both UniVA and UniVA-Bench are fully open-sourced, aiming to catalyze research on interactive, agentic, and general-purpose video intelligence for the next generation of multimodal AI systems. (https://univa.online/)
1 Introduction
Real-world video creation requires composite, iterative workflows, but specialized tools and models leave users with brittle, manually coordinated processes. UniVA combines planning, modular tools, memory, and a multi-step benchmark to support unified video workflows.
1 Introduction
- Specialized video tools and models operate in isolation, leaving complex multi-step goals to brittle, labor-intensive manual coordination.The introduction identifies the lack of a unified system for reasoning across multiple video tasks and steps as a bottleneck.Source: §1 · pp. 1–2
- UniVA-Bench evaluates multi-step video tasks across understanding, segmentation, editing, and generation, including planning quality, memory use, and tool-routing efficiency.The benchmark uses goal cards with gold artifacts and measures compositionality, tool swaps, and long-form reasoning.Source: §1 · p. 3
- UniVA unifies video understanding, editing, and generation in an open-source framework with a Plan–Act architecture and hierarchical memory for long-horizon goals and user intent.The introduction describes this design as enabling automated, interactive, and proactive video creation.Source: §1 · p. 3
- Its MCP-based tool ecosystem connects open-source and API-based modules in a plug-and-play framework for any-conditioned generation and cross-modal editing.The tool hub includes video, non-video, and non-AI tools and is designed for extension with new capabilities.Source: §1 · p. 3
2 Related Work
Video research has advanced across understanding, generation, and editing, yet systems remain fragmented or rely on static and inflexible coordination. UniVA situates its contribution in agentic orchestration of diverse tools and tasks.
Video Processing and Intelligence
- Video intelligence spans understanding, fine-grained segmentation, conditional generation, and semantic editing, but most systems remain fragmented and task-specific.Prior work covers action recognition, event detection, captioning, retrieval, question answering, pixel-level tasks, and video synthesis.Source: §2 · pp. 3–4
Agents for Video Intelligence
- UniVA’s Plan–Act architecture decomposes text, image, or video input into subtasks and coordinates execution through task-specific memory and MCP servers.The system coordinates video, AI, and non-AI tools and can produce text, image, video, and audio outputs.Source: Figure 2 · p. 4
Toward Unified Video Modeling
- Unified video models combine understanding and generation or add segmentation, but static pipelines make them difficult to schedule, coordinate, and extend.The related work identifies dynamic orchestration of heterogeneous modules as a need.Source: §2 · p. 4
Agents for Video Intelligence
- Video agents use planning, interaction, and memory across tasks, while communication and coordination in multi-agent systems remain open challenges.Prior applications include reasoning, editing, stylization, and story generation.Source: §2 · p. 4
3 UniVA
UniVA formulates video-agent work as sequentially transforming an initial state toward a user’s goal. Its Planner, Actor, memory levels, and MCP tool gateway coordinate actions and context across workflows.
3.1 Problem Formulation
- The problem is to choose actions that transform an initial state, including user-provided media, into a final state satisfying the user’s goal.The desired action sequence balances broad tool use with complex, synergistic actions and a high-quality final state.Source: §3.1 · pp. 4–5
3.2 The UniVA Control Core
- The control core pairs a decision engine that formulates the policy with memory that manages the current state and interaction history.Persistent and task-specific memory support the strategy and ongoing workflow, respectively.Source: §3.2 · p. 5, §3.2.2 · p. 5
3.2.1 Plan–Act Dual Agent Architecture
- The Planner maps the goal and current state to an abstract plan, while the Actor converts each plan step into concrete tool actions.After each tool call, the Actor returns its output to the Planner; the separation keeps planning strategic and tool use focused on execution.Source: §3.2.1 · p. 5
3.2.2 Memory Mechanism
- Global memory stores reusable knowledge, task memory retains workflow artifacts and traces, and user memory tracks preferences and interaction history.Task memory enables later steps to reuse prior outputs without recomputation, while global and user memory support cross-task context and adaptive behavior.Source: §3.2.2 · p. 5
3.3 Tools Interaction
- The MCP gateway registers available functions, validates and executes calls, records outputs, and allows tools to be added or replaced without changing the Planner or Actor.UniVA’s action space is designed to be open and extensible.Source: §3.3 · pp. 5–6
3.4 Framework Walkthrough
- In the framework walkthrough, the Planner formulates a plan from the current state and goal, the Actor executes its actions, and memory records outputs for subsequent steps.The examples contrast a multi-step generation workflow with interactive editing that chains diverse tools for a context-dependent outcome.Source: §3.4 · p. 6, Figure 3 · p. 6
3.5 System Implementation
- The interactive web editor reflects tool-call results on its timeline and preview canvas, letting users move between AI-driven creation and hands-on editing.The agent parses requests, formulates a plan, and executes the required tool calls in the background.Source: §3.5 · p. 6, Figure 4 · p. 7
4 UniVA-Bench
UniVA-Bench reframes video evaluation around end-to-end, tool-augmented workflows, covering both task functionality and agentic planning, memory, and recovery.
4.1 Benchmark Definition
- UniVA-Bench shifts evaluation from isolated tasks to end-to-end tool-augmented workflows, pairing functional-module performance with agentic probes of planning, dependencies, replanning, and memory.Source: §4.1 · p. 7
4.2 Evaluation Tasks
- Tasks cover long-video QA; text-, image/entity-, and video-conditioned generation; multi-step consistent editing; and occlusion-heavy segmentation, with Figure 6 showing representative category examples.Source: §4.2 · pp. 7–8, Figure 6 · p. 9
- Agentic probing uses 50 storyboard-to-intent planning instances and expert-referenced pipelines to assess wPED, DepCov, and ReplanQ, including injected failures and memory analyses.Source: §B.1 · p. 33
4.3 Evaluation Protocol
- Evaluation combines task-specific quality, MLLM pairwise user preference, and planning metrics; reported measures include CLIP, DINO, segmentation J/F, normalized QA accuracy, wPED, DepCov, and ReplanQ.Source: §4.3 · pp. 8–9
5 Experiments
Experiments on UniVA-Bench test whether integrated modules outperform isolated models and whether Plan-Act with multi-component memory supports robust planning and persistent context.
5.1.1 Generation
- LongText2Video reached CLIP Score 0.2814 and MLLM Judge score 3.333; Video2Video scored 4.068 on MLLM Judge, while Seedance showed strong DINO Score performance in Entities2Video.UniVA remained competitive on Entities2Video subject consistency.Source: §5.1.1 · p. 10, Table 1 · p. 10
5.1.2 Understanding
- 0.76 was UniVA’s highest LongVideo Understanding accuracy, exceeding the compared single-inference models.The authors attribute this to decomposing the video and complex query into manageable subtasks.Source: §5.1.2 · p. 10, Table 2 · p. 10
5.1.3 Editing
- UniVA grounds long-video editing objects in persistent semantic context established through its integrated Understanding module and Probing tool.This context supports editing across long-term, cross-shot video.Source: §5.1.3 · p. 10, Table 2 · p. 10
5.1.4 Segmentation
- UniVA outperformed the best scores on all segmentation metrics, with the authors attributing the advantage to resolving ambiguities through the co-located Understanding module.The Probing tool can use narrative context to help determine whether an occluded object is the same entity when it reappears.Source: Table 2 · p. 10, §5.1.4 · p. 11
5.2.1 Planning Capability
- Plan-Act more than doubled valid-plan Success Rate (45.0% vs. 20.0%) and more than doubled wPED (0.117 versus 0.050).Claude-Sonnet-4 was selected as Planner after outperforming two other LLMs in DepCov and ReplanQ.Source: §5.2.1 · p. 11, Figure 8 · p. 11, Figure 7 · p. 11
5.2.2 Memory Capability
- Global memory generally raised wPED and prevented many zero-score planning failures; user memory improved intent alignment, while storyboards boosted all quality metrics.The authors connect storyboards’ intermediate representation of the creative goal with semantic coherence and cross-shot consistency.Source: §5.2.2 · pp. 11–12, Figure 10 · p. 12, Figure 11 · p. 12
5.3 Human Evaluation
- UniVA achieved the highest human preference scores in four of five evaluated dimensions, aligning with the automated metric patterns.The study compared UniVA and baseline generation results across LongText2Video, Image2Video, and Video2Video.Source: §5.3 · p. 12, Figure 12 · p. 12
5.4 Qualitative Case Studies
- Case studies show proactive multi-round creation, any-conditioned inputs, long-instruction following, multi-camera narratives, and workflows spanning understanding, editing, and generation.Examples include maintaining character consistency in long videos and generating coherent multi-camera transitions.Source: §5.4 · pp. 13–15, Figure 19 · p. 14, Figure 20 · p. 14
6 Conclusion
The conclusion presents UniVA as an integrated video-agent framework and UniVA-Bench as a way to evaluate multi-step video systems. The appendix lists supplementary methodology and experiment settings.
6 Conclusion
- UniVA’s experiments show competitive performance across video tasks and describe “Agentic Synergy” as solving consistency problems through dynamic information flow between tools.The conclusion frames UniVA as an integrated system rather than a collection of tools.Source: §6 · p. 16
- The authors argue that video intelligence should move beyond isolated single-task models toward integrated systems for complex, collaborative workflows.They present UniVA’s platform, its synergistic capabilities, and UniVA-Bench as contributions.Source: §6 · p. 16
Appendix
- The appendix includes detailed methodology and experiment settings.It lists supplementary sections A and C.Source: Appendix · p. 20
A Detailed Methodology
The methodology describes how UniVA combines modular MCP tools, Plan–Act orchestration, memory, and composable operations to support complex workflows across video, audio, image, and deterministic editing tasks. It details structured sequential plans that specify actions, inputs, dependencies, and status, and adapt to execution results.
A.1 Principles
- UniVA combines plug-and-play MCP modules with separated planning and execution, proactive goal-checking, hierarchical memory, and atomic operations assembled freely or as robust workflows.The Planner can assess intermediate results and revise its plan; global, task-specific, and user memory support continuity across extended interactions.Source: §A.1 · p. 20
A.2 MCP Function Walkthrough
- UniVA’s modular MCP toolset groups functions into video, non-video, and non-AI categories, with each function classified as an atomic operation or a composed workflow.The taxonomy distinguishes single-purpose tools from higher-level functions that combine tools for multi-step tasks.Source: §A.2 · p. 21, Figure 24 · p. 22
A.2.1 Video Tools
- Video tools cover editing, generation, tracking, and understanding, from object and depth edits to prompt-conditioned video creation, segmentation, and analysis.The listed tools include short text- or image-conditioned generation, video extension, and end-to-end story-video workflows.Source: §A.2.1 · pp. 21, 23
A.2.2 Non-Video Tools
- Non-video tools provide audio creation and processing, including foley, speech, transcription, voice cloning, and music, as well as image generation and editing.Image generation can be conditioned on an input image for style or identity consistency.Source: §A.2.2 · p. 23
A.2.3 Non-AI Tools
- Non-AI utilities merge clips, add transitions or subtitles, and search royalty-free media; MCP modularity lets functions be registered, replaced, or expanded without changing the core architecture.The framework is presented as an open, evolving ecosystem that can incorporate new video models, APIs, or custom tools.Source: §A.2.3 · pp. 23–24
A.3 Core Prompt
- The core planner prompt defines Univideo as a video-generation and processing planner that turns user requests into detailed, stepwise plans and selects tools for each operation.The paper says it will open-source the code resources, including agent prompts.Source: §A.3 · p. 24
I. AVAILABLE TOOLS OVERVIEW
- The tool overview distinguishes independent, low-level atomic functions from workflows that execute a defined sequence through a single interface.Examples include story-video workflows that create storyboards, characters, keyframes, and video segments before merging the result.Source: §I · p. 24
- The available tools include text-prompted segmentation and image generation from text or a reference image.Video segmentation can localize and track prompted objects or generate masks for all detectable objects; image-to-image generation retains consistency with the input image’s characters or style.Source: §I · pp. 25–26
II. CORE PLANNING LOGIC & TOOL SELECTION GUIDELINES
- The planner uses vision2text_gen when visual semantics are absent, generates missing materials before later steps, and manages references for style consistency.Source: §II · p. 26
III. PLAN OUTPUT FORMAT
- Plans must list numbered actions, tools, parameters, input paths, dependencies, statuses, and outputs, with separate steps for separate material inputs.The specified format is structured JSON; the first step is ongoing and unexecuted steps are pending.Source: §III · p. 26, §IV · p. 27
IV. PLANNING UPDATES
- Plans update sequentially after each step’s result, keep exactly one step ongoing, and adjust dynamically when a step fails.Once the plan succeeds, no further updates are needed beyond a short summary.Source: §IV · p. 27
I. Tool Calling Protocol:
- Tools are called one at a time in standardized MCP format, with each call informed by prior results and failures prompting analysis and adjustment.Source: §I · pp. 27–28
1. Plan Reception and Video Task Understanding
- The video executor receives detailed plans and accounts for 5-second segments, cross-segment visual consistency, and dependencies on clips and references.Source: §1 · p. 28
2. Video-Centric Step-by-Step Execution
- Video actuation requires checking each step’s parameters before calling tools; the example enforces exactly 5-second MP4 segments.The executor is also assigned the role of turning a one-sentence video concept into a detailed storyboard for downstream generation.Source: §2 · pp. 28–29
I. Task Description:
The task prompt takes one short storyline sentence as input and requests a structured storyboard. Its output specifies characters, ordered shots, visual style, and shot-level production details, with rules for actions, timing, and continuity.
1. Input
- The input is exactly one short sentence summarizing the video’s storyline or theme, which the storyboard must follow without alteration.The storyboard is to be based solely on that sentence.Source: §1 · p. 29
2. Output
- The output is valid JSON with characters, an ordered shots array, and an overall style description.Character entries have unique IDs, names, and static appearance descriptions; each shot includes its duration, setting, action, characters, composition, audio, and suggested video-generation type.Source: §2 · pp. 29–30
6. General Script Generation Rules
- When no duration is specified, the storyboard assumes 60 seconds and distributes that time across shots; shot count should fit the storyline and transitions should flow smoothly.The prompt gives roughly 12–15 shots for a one-minute video and 30–40 for three minutes, adjusting as needed.Source: §2 · p. 29, §6 · p. 31
- Shot descriptions separate static composition from one dynamic action, and character references use IDs from the characters array.The static description covers poses and placement; plot correspondence describes exactly one action per shot.Source: §6 · p. 31
B.1 Data Curation
The benchmark data are curated across long-video understanding, generation, editing, segmentation, and agentic planning probes. Tasks use sampled videos, authored or rewritten prompts, and targeted workflow settings.
Understanding (Long-Video QA)
- Long-video QA uses 10 sampled Video-MME videos, with 10 questions per video answered in a single inference.Questions are generated with Gemini 2.5 Pro and draw on perspectives shown in Table 3.Source: §B.1 · p. 33
Generation
- Generation data include long, noisy prompts for LongText2Video and rewritten prompts for 10 sampled Opens2v-nexus examples in Image/Entities2Video.LongText2Video prompts are created from GPT-generated storyboards.Source: §B.1 · p. 33
- Video2Video evaluation separates story alignment, style alignment, and semantic alignment, using 10 SF20k videos per task with manually generated prompts.The settings respectively alter style, storyline, or both while preserving the specified remaining video elements.Source: §B.1 · p. 33
Editing (Long Video)
- Long-video editing uses 10 SF20k videos with prompts manually curated from each video's content.Source: §B.1 · p. 33
Segmentation (Long Video)
- Long-video segmentation uses 10 instances made by randomly concatenating DAVIS2017 clips, covering diverse scenes and occlusions.Source: §B.1 · p. 33
Agentic probing sets
- Agentic probes compare Single-Agent with Plan-Act on 50 storyboard-to-user-intent cases and assess planning metrics under injected failures using expert references.Memory analyses cover historical trajectories, user preferences, and task context such as storyboards.Source: §B.1 · p. 33
B.2.1 Subject metrics (task quality).
Task-quality metrics measure alignment, identity consistency, segmentation quality, and long-video understanding. Pairwise preferences and structured MLLM scoring complement these metrics with evidence-based judgments across video attributes.
B.2.1 Subject metrics (task quality).
- CLIP Score measures instruction-to-video alignment, DINO Score measures reference-entity identity stability, segmentation uses J/F/mIoU, and Understanding Score is normalized QA accuracy.Higher values are better for CLIP, DINO, and segmentation metrics; the understanding questions cover semantics and aesthetics.Source: §B.2.1 · p. 34
B.2.2 MLLM as a judge (preference).
- Pairwise preferences come from open- and closed-source judges, with majority voting, discarded ties, and significance tests when applicable.Judges receive instructions, relevant references, and debiased captions; a standardized prompt template requests structured output.Source: §B.2.2 · p. 34
- The MLLM rubric scores semantic content and object-spatial relations, using timestamped evidence to assess correctness and stability.The rubric includes object and scene presence, count, arrangement, occlusion, and relative spatial relations.Source: §B.2.2 · pp. 34–35
- The rubric separately scores specified action continuity and attribute fidelity, including whether colors and other attributes remain stable over time.Source: §B.2.2 · p. 35
- Style consistency evaluates appearance and camera movement, while overall video-text consistency checks holistic alignment without double-counting finer issues.The overall dimension is null when no text prompt is present.Source: §B.2.2 · p. 35
B.2.3 Agentic metrics (planning & recovery).
The planning metrics assess plan similarity to expert references, compliance with workflow dependencies, and recovery after simulated execution failures.
- wPED compares the tool-name sequence in a generated plan with an expert plan using normalized, inverted Levenshtein edit distance.A score closer to 1.0 indicates closer structural alignment.Source: §B.2.3 · p. 36
- DepCov measures the fraction of rule-based workflow dependencies satisfied by a generated plan, such as generating content before editing it.A higher score indicates greater adherence to procedural constraints.Source: §B.2.3 · p. 36
- ReplanQ compares the original and revised plan suffixes from the failure point using normalized, inverted Levenshtein distance; higher scores indicate more efficient recovery.The metric rewards minimal plan modifications after a simulated execution failure.Source: §B.2.3 · p. 36
C Detailed Experiment Settings
The experiment settings specify UniVA's configuration and standardize baseline inputs and outputs across generation, understanding, editing, and segmentation.
C.1 UniVA’s Configuration
- Table 4 is identified as the table of UniVA's configuration.Source: Table 4 · p. 36
C.2 Baseline Configurations
- Generation outputs are standardized to 480p and 24 fps, with preprocessing to accommodate baselines lacking multi-image or video-conditioned input support.Entities2Video reference images are composited for single-image baselines; a Qwen2.5-VL-72B caption is prepended for text-only Video2Video baselines.Source: §C.2 · p. 37
- Generation baselines include LTX-Video, Seedance, and Wan, configured with the specified public-repository settings or 480p Wavespeed API models.Source: §C.2 · p. 37
- Understanding baselines receive video at 1 fps with a maximum of 128 frames.Source: §C.2 · p. 37
- The editing baseline uses Runway Aleph on five-second clips that are merged for evaluation, while Sa2Va-4B receives the full video and segmentation prompt.Source: §C.2 · p. 37
Related papers
This paper cites
- SAM 2: Segment Anything in Images and Videos2024
- Video-LLaVA: Learning United Visual Representation by Alignment Before Projection2023
- A Survey on Multimodal Large Language Models2023
- VideoAgent: Long-form Video Understanding with Large Language Model as Agent2024
- Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators2023
- TVQA+: Spatio-Temporal Grounding for Video Question Answering2019
Cited by
- Video Generation Meets Agent Harness: Agentic Video Generation, Agentic World Modeling and Recursive Self-Improvement2026
- Reading, Writing, Sharing, and Interacting with the World through Video2026
- VideoHarness-SRSI: Structured Recursive Self-Improvement for Video Understanding Harness2026
- VAMR: Multi-Question Agentic Reasoning for Efficient Long-Form Video Understanding2026
- Agentic Visual Generation: From Generative Models to Agentic Control2026
- DramaChain Bench: An End-to-End Benchmark for Short-Drama Generation2026