Native Multimodal Agent Architecture and Parallel Orchestration Practices
Building effective multimodal agents requires a unified approach where vision, language, and tool usage are jointly optimized, rather than bolting vision modules onto pre-trained text models. This article explores native multimodal agent architecture, covering unified visual encoding, lightweight projection, MoE language backbones, and decoupled training pipelines. It also details how to implement parallel task orchestration by mapping dependencies and scheduling concurrent subtasks. By treating perception, reasoning, and action within a shared semantic space and minimizing unnecessary sequential execution, developers can build agents that handle complex, long-chain tasks more reliably and efficiently.
Multimodal agents must simultaneously understand visual inputs, comprehend instructions, and invoke tools to complete long-chain tasks. If we continue down the path of “training a pure text model first and attaching a vision module later,” language and visual capabilities often encroach on each other: the visual adaptation phase disturbs the original text distribution, while the text backbone struggles to inversely shape visual representations. A more robust approach is to place visual feature extraction, cross-modal projection, and language modeling on the same training and inference pipeline, allowing images, video, and text to be jointly optimized in a unified embedding space.
Meanwhile, real-world tasks are rarely single-step Q&A. Retrieval, code generation, UI inspection, and result verification can often be split into parallel branches and merged later based on dependencies. Below, we explore how to solidify these two aspects across four dimensions: architecture, training, orchestration, and evaluation.
1. Design Goals: Bidirectional Enhancement over Late Splicing
Traditional adapter-based multimodal models typically suffer from three types of issues:
First, information loss occurs at the input stage. Fixed-resolution scaling, center cropping, or forced patching destroys critical details in elongated tables, high-resolution screenshots, and unconventional aspect ratios. When an agent needs to interact with a UI or read a document, these details often determine whether a tool call is successful.
Second, modality conflicts occur in the backbone. If visual tokens are only “pasted” into the language model at a later stage with a low learning rate, the already-converged text representation space struggles to make room for stable visual integration. The result is often acceptable for image Q&A but degraded performance in complex reasoning and long-context tool usage.
Third, execution latency occurs at the agent layer. A single agent sequentially calling perception, planning, and tools results in a critical path equal to the sum of the time taken by each step. If subtasks have weak dependencies, serial execution does not improve accuracy but only prolongs wait times.
Therefore, the architectural goals should be defined by two testable principles: vision and language share a semantic space with gradients that can flow bidirectionally; complex tasks are scheduled according to a dependency graph, making the critical path shorter than fully serial execution. There is no need to claim a fixed multiplier of speedup—the acceleration depends on the degree of parallelism, tool latency, and convergence overhead.
2. Unified Pipeline: Encoding, Projection, Backbone
A clear data pathway can be summarized as follows: the visual encoder produces spatiotemporal features, a lightweight projection layer aligns these to the language embedding dimension, and the language backbone performs next-token modeling alongside text tokens, issuing tool calls when necessary.
Images or video frames do not use a separate “bypass answer head.” They are encoded into context at the same level as text, and the backbone decides when to describe, when to reason, and when to act. The advantage here is that tool protocols, chain-of-thought, and visual evidence reside within the same context window, making it easy to trace the causal relationship between “what was seen” and “what was called.”
The language backbone is well-suited for a Mixture of Experts (MoE) structure: the total parameter size supports knowledge coverage, while only a subset of experts is activated per token, keeping inference costs within acceptable limits. In multimodal scenarios, load balancing requires extra attention. The distribution of visual tokens differs from pure text; if routing gates are based solely on text statistics, visually dense segments might overwhelm a few experts. During training, vision and text should be jointly included in the load loss, and expert activation histograms across different modalities should be monitored.
The projection layer should not be overly complex. A multi-layer perceptron (MLP) is usually sufficient to map visual hidden dimensions to language embedding dimensions with moderate normalization. An overly deep projector risks becoming a “second mini-model,” entangling alignment objectives with backbone modeling objectives, making it harder to troubleshoot modality collapse. The projection layer’s job is to align coordinate systems; semantic composition remains the backbone’s responsibility.
3. Visual Encoder: Native Resolution and Shared Image/Video
The core of variable resolution is not “zooming in,” but rather removing the forced geometric unification of inputs. A practical approach is to slice the image into patches of fixed side lengths, pack them into a 1D sequence in their original order, and retain the 2D coordinates (and time coordinates if necessary) for each patch. Attention or positional encodings read these coordinates rather than assuming all samples have been scaled to the same grid.
This yields three direct benefits:
- Aspect ratios are preserved; documents, posters, and surveillance footage no longer need edge cropping.
- Sequence length scales with information density; simple images do not require padding with blank blocks to meet a fixed resolution.
- Preprocessing no longer bears the burden of “helping the model see clearly.” The model processes a patch sequence much closer to the original sampling.
Video does not require a separate encoder. Continuous frames can be treated as a spatiotemporal volume: each frame is still sliced into 2D patches, and patches across multiple frames are packed with a time index, using the same weights to perform attention across space and time. The granularity of temporal packing requires trade-offs. Too small, and motion modeling is insufficient; too large, and sequence length and VRAM usage spike. Engineering practices often use short-clip packing, relying on higher-level memory or sampled frames to cover long videos, rather than attempting a single forward pass for hour-long footage.
The significance of full weight sharing lies in transfer learning. Textures, layouts, and OCR-related representations learned from images can flow into the video branch via the same parameters; conversely, motion and state changes learned from video feedback into the understanding of “implicit processes” in static images, such as differences before and after a UI interaction. Separate video branches often have more parameters and sparser data, leading to underfitting, and the feature distributions of two distinct encoders make it difficult for a single projection layer to serve both.
When training the encoder, a decoupled pipeline is recommended over immediate end-to-end binding with a 100-billion-parameter backbone:
- First, train the encoder on image-text and short video data until features stabilize. Focus on reconstruction or contrastive objectives and downstream separability, rather than prematurely aiming for conversational tones.
- Freeze or update the encoder with a small learning rate, and train the projection layer so that the mean and variance of visual tokens are comparable to text embeddings, preventing the backbone from being skewed from the start.
- Proceed to joint optimization. In this phase, language modeling and tool tasks act as the primary loss, while the encoder uses a smaller learning rate and stricter gradient clipping.
- Conduct periodic pure-text regression tests. If text benchmarks drop significantly, roll back the joint step size or reduce the proportion of visual tokens, rather than only looking at image-text scores.
Decoupling is not permanent isolation. It ensures the optimization curve is diagnosable: encoder divergence, projection scaling errors, and backbone forgetting correspond to different metrics, rather than blurring into a single “multimodal training failure.”
4. From Single Agent to Orchestration Clusters
A single agent is suitable for tasks with clear goals, few tools, and short steps. Once a task contains multiple independently verifiable sub-goals, serial execution ties latency to the slowest tool. Parallel orchestration can be abstracted into four steps:
Task Decomposition. The planner reads the user’s goal and current observations, outputting a list of subtasks, input-output contracts, and dependency edges. For example, “read UI structure,” “retrieve API docs,” “draft implementation,” and “verify against screenshot” can be split into nodes. Verification depends on drafting and UI observation, while retrieval and UI reading can often start simultaneously.
Dynamic Scheduling. The scheduler only starts nodes with an in-degree of zero, limiting concurrency to avoid maxing out a single type of tool or a specific VRAM pool. If a node fails, prioritize local retries or rewriting the prompt for that specific node, rather than tearing down the entire graph. Retry limits, timeouts, and circuit breakers must be written into the policy; otherwise, parallelization will amplify failures.
Context Isolation and Convergence. Each executor receives only the visual fragments, text, and tool permissions necessary to complete its node. This reduces irrelevant token interference and lowers the risk of sensitive context leaking to all branches. Convergence nodes handle deduplication, conflict detection, and evidence citation: if two branches give contradictory descriptions of the same UI element, they should return to the original observation for a ruling, rather than simple voting.
Latency and Quality Constraints. Parallelism shortens wall-clock time but increases total token and tool call counts. If branch quality is poor, rework during convergence may negate the gains. Therefore, orchestration strategies must simultaneously monitor critical path latency, total call cost, and first-time pass rate. Tasks with low parallelism are simpler and easier to debug when kept serial.
An illustrative dependency description can be expressed in a common structure without binding to any specific framework:
nodes:- id: observeneeds: []- id: lookupneeds: []- id: draftneeds: [lookup]- id: verifyneeds: [observe, draft]policy:max_parallel: 2retry: 1on_conflict: reobserve
This is merely scheduling semantics, not a product-specific configuration file. In practice, as long as executors, queues, and timeout semantics are consistent, you can use an in-house scheduler or a general workflow engine.
5. Boundaries of Tool Use and Computer Operations
If visual upgrades only stop at “describing images,” their value to agents is limited. More useful is connecting visual evidence to action: locating clickable areas, reading error messages, comparing UI differences before and after operations, and then deciding on the next tool parameters. Three engineering constraints should be noted here:
Observations must be referenceable. Model outputs should cite the frame number or specific region area, allowing for human and automated verification playback. An unreferenceable “I see a button” cannot be audited.
Actions must be reversible or sandboxed. Writing files, modifying configurations, and submitting changes should occur in isolated environments where failures can be rolled back. A single misclick by a vision model should not directly impact production systems.
Permissions must be scoped per node. Parallel branches should not share the same high-privilege credentials. Separating read-only observation nodes from write nodes significantly reduces the impact of prompt injection hijacking tools via screen text. Text within a screen should be treated as untrusted input, not system instructions.
6. How to Evaluate, Not Just Chase Leaderboards
Meaningful evaluation should be multi-dimensional and transparent about task composition, rather than using a single aggregate score as a proxy for capability:
- Visual Understanding: Different resolutions, aspect ratios, occlusions, dense text, and multi-image comparisons. Metrics should focus on factual consistency, not eloquence.
- Video: Short-term action order, state changes, and whether long-video frame sampling misses key frames. Input frame rates and packing granularity must be reported, or results are incomparable.
- Reasoning and Code: Test under both conditions—with and without visual context—to confirm that joint training hasn’t sacrificed text and code capabilities.
- Agent Execution: Task success rate, critical path latency, tool call count, manual takeover rate, and failure type distribution. Parallel orchestration must report both latency and total cost.
- Robustness: Prompt injection, contradictory screenshots, tool timeouts, and recovery after partial branch failures.
When comparing different systems, only compare results across the same tool permissions, same time budgets, and the same evaluation sets. Discussing “comprehensive leadership” outside these conditions has no engineering significance. Open-source weights, evaluation scripts, and failure cases are more useful than slogans; if they cannot be made public, at least clarify data licensing, safety filtering, and known shortcomings.
7. Implementation Checklist
Teams can follow the sequence below during implementation to avoid simultaneously modifying the encoder, backbone, and scheduler:
- Fix a minimal pipeline: variable resolution packing, projection alignment, and backbone generation. Get image-text working first.
- Validate weight sharing using short-video spatiotemporal packing, observing sequence length and VRAM curves.
- Establish a pure-text regression suite as a gating mechanism for joint training.
- Draw dependency graphs for agent tasks, marking parallelizable nodes and convergence conditions.
- Add timeouts, retries, permission isolation, and evidence referencing before scaling concurrency.
- Validate using multi-dimensional metrics, tracking whether rework is eating into parallel gains.
Native multimodality solves whether “seeing” and “speaking” enhance each other within the same space; parallel orchestration solves whether “doing” unnecessarily chains independent steps into a long queue. By combining both, agents can see clearly in complex tasks without idling step by step. Implementation details may vary, but information fidelity, diagnosable optimization, dependency-respecting scheduling, and separate evaluation reporting are four principles that should not be compromised.
