Native Multimodal Agents: Architecture, Training, and Engineering Practices

    Real-world tasks rarely arrive as clean text. They include web interfaces, mobile screenshots, design files, scanned documents, surveillance video, and presentation materials, all carrying layout, hierarchy, temporal, and interaction-state information. This article explains why bolt-on vision pipelines break down in complex agent tasks and what “native” means across architecture, training, and tooling. It presents a perception–reasoning–execution–feedback loop, training strategies based on joint objectives and trajectory learning, and engineering practices for observability, recoverability, and governance. It also covers deployment patterns, evaluation dimensions, and open challenges for native multimodal agents.

    Native Multimodal Agents: Architecture, Training, and Engineering Practices

    Real-world tasks rarely appear as plain text. Web interfaces, mobile screenshots, design files, scanned documents, surveillance video, and presentation materials all carry substantial information about layout, hierarchy, temporal order, and interaction state. The conventional approach is to attach a visual recognition module to a text-only LLM and then convert the recognition output into text for the language model to reason over. This “bolt-on vision” approach can work in demos, but once it enters complex tasks, problems surface quickly: perception and reasoning become disconnected, errors accumulate stage by stage, and tool calls lack visual state support. The core idea of a native multimodal agent is to turn vision from an input attachment into part of the model state and to make it part of a complete closed loop spanning perception, reasoning, execution, and feedback.

    1. The Starting Problem: Why Bolt-on Vision Struggles with Real Tasks

    Bolt-on pipelines usually connect several independent modules in series: visual detection, text recognition, layout analysis, language reasoning, and tool invocation. Each module may have clear metrics on its own, but the success rate of an end-to-end task is not the simple sum of those module metrics.

    First, visual information loses structure when converted into text. Button hierarchy in an interface, form constraints, chart trends, and the order of actions in a video are difficult to preserve completely in a text description.

    Second, errors amplify at each stage. A detection box offset can misalign text recognition; misaligned text can lead the reasoning model to make an incorrect judgment; the final result looks like a “model hallucination,” but the actual cause is distortion in the perception chain.

    Third, multi-turn tool calls lack a unified state. After an agent performs a click or a query, the environment state changes. If visual evidence does not enter the same state space, later planning cannot be corrected based on the latest interface.

    Fourth, engineering complexity is shifted to the caller. Multi-model orchestration, version alignment, timeout retries, and cost control all require additional infrastructure, and updates to different modules may introduce behavior drift.

    A native multimodal agent therefore must solve more than “can it see an image.” It must ensure that visual evidence can reliably participate in decision-making and be verified by execution results. This requires simultaneous adjustments to architecture, training, and tooling, not simply an additional vision encoder.

    2. Three Meanings of “Native”: Architecture, Training, and Toolchain

    Architecture-native: unified state representation

    Images, video frames, text instructions, historical actions, and tool return results should enter the same context or state space. Referable associations should be preserved among visual regions, temporal events, and semantic descriptions. When the model plans the next action, it can directly refer to “a certain interface region” or “a state change in a certain frame” instead of relying on a second-hand textual paraphrase.

    Training-native: joint objectives

    Visual understanding, document parsing, interface grounding, video temporal understanding, code generation, and agent trajectory learning should not be split into unrelated tasks. A more reasonable approach is multi-stage joint training: first establish cross-modal alignment, then use instruction data to cover real task forms, and finally use observation–action–result trajectory data to improve closed-loop decision-making. At the same time, sufficient pure-text data must be mixed in to avoid language degradation.

    Toolchain-native: execution closed loop

    Model output should not be limited to a natural-language answer. It should also include structured actions, invocation constraints, expected results, and verification conditions. The execution layer needs to provide sandboxes, permission control, timeout retries, idempotency mechanisms, and complete logs so that every visual perception step and tool call is traceable, replayable, and attributable.

    3. Closed-Loop Design: Perception–Reasoning–Execution–Feedback

    A practical native multimodal agent is typically organized into four layers.

    The perception layer receives images, video, and text and outputs a unified state containing visual element references, region coordinates, text semantics, temporal events, and historical actions.

    The reasoning layer generates a plan based on the task goal and decides whether a tool is needed, which tool to call, and what parameters to use.

    The execution layer runs actions in a controlled environment and returns structured results.

    The feedback layer determines whether the task is complete through rule validation, environment state comparison, and model verification. If the task is not complete, it triggers replanning.

    An illustrative pseudocode outline is shown below:

    1. state = perceive(inputs) # image, video, text -> unified state
    2. plan = reason(state, task) # generate plan and tool selection
    3. while not done:
    4. action = select_action(plan, state)
    5. result = execute(action, sandbox) # controlled execution, returns structured result
    6. state = update(state, result) # merge visual changes and tool feedback
    7. if verify(state, task):
    8. break
    9. plan = replan(state) # replan based on failure cause

    The key is not the loop itself, but state update and the verifier. State update must preserve the correspondence between visual evidence and action results. The verifier should prioritize environment feedback, then rule validation, and only then model judgment. For high-risk operations, human confirmation or read-only rehearsal should be added to avoid directly executing irreversible actions.

    4. Training Strategy: Joint Objectives and Trajectory Learning

    When training a native multimodal agent, the data should cover the real task distribution. Interface understanding data should include layout, control states, and interaction constraints. Document data should include page layout, tables, and cross-page references. Video data should include temporal events and state changes. Code generation data should map visual designs to executable structures. Agent trajectory data should record observations, actions, results, and failure causes.

    Multi-stage training can reduce task conflict: first perform cross-modal alignment, then multi-task instruction tuning, and finally use trajectory data and preference optimization to improve the stability of long-horizon decisions.

    Anti-hallucination requires mechanisms, not slogans. Verifiable intermediate representations are an effective approach. For example, the model can be required to cite a specific visual region or tool result before giving a conclusion. Precondition checks can be added for critical actions. Rejection sampling on failed trajectories can help the model learn when it should not continue calling tools. Evaluation must also include a pure-text capability regression set to prevent multimodal training from crowding out language ability.

    5. Engineering Toolchain: Observable, Recoverable, and Governable

    For engineering deployment, four categories of capability are recommended.

    A data pipeline handles collection, de-identification, labeling, versioning, and hard-case feedback so that training data evolves together with real tasks.

    An evaluation system uses tiered metrics: perception accuracy, region grounding, end-to-end task success rate, tool-call correctness, failure recovery rate, latency and cost, and pure-text capability regression.

    A runtime platform provides task queues, caching, sandboxes, permission allowlists, audit logs, and state snapshots to ensure that failures can be reproduced.

    Cost control can be achieved through adaptive resolution, visual information compression, result caching, and early stopping, but it must be constrained by task success rate. Input cannot simply be compressed without considering task outcomes.

    Observability is an important engineering distinction between multimodal agents and ordinary question-answering systems. Every step should record the input state, model plan, tool parameters, execution result, and verification conclusion. Failure attribution should distinguish perception errors, planning errors, tool errors, and environment changes. Only with this level of granularity can the closed loop be continuously improved instead of relying on manual guesses about where the problem lies.

    6. Deployment Practice Highlights

    First, design by task layer. High-frequency, highly deterministic steps can be handled by rules or lightweight models, while complex planning can be left to larger models. Not every step should go through heavyweight reasoning.

    Second, establish structured intermediate representations. Interface element trees, region references, temporal event tables, and tool result structures should be defined stably to reduce ambiguity caused by natural-language paraphrasing.

    Third, constrain tool calls. Invocation parameters need structural validation, high-risk actions should be rehearsed first, and repeated actions should remain idempotent.

    Fourth, prioritize verification over generation. Environment feedback and rule validation should intervene as early as possible; the model is responsible for explanation and replanning.

    Fifth, run canary releases and regression evaluation in parallel. Before multimodal capabilities are launched, both task success rate and text capability metrics should be observed.

    Sixth, put security governance first. Sensitive information filtering, operation allowlists, least privilege, and human review should be part of the closed loop.

    7. Evaluation and Challenges

    Evaluating native multimodal agents cannot rely only on isolated visual tasks. A more reasonable matrix includes front-end code generation tasks that test visual-to-structure mapping; mobile or desktop operation tasks that test long-horizon closed-loop success rates; document understanding tasks that test layout and cross-page references; video tasks that test temporal state tracking; and pure-text tasks that test whether capabilities have degraded. Public evaluation results should be reviewed together with real business samples rather than chasing a single leaderboard score.

    Clear challenges remain: long-video temporal understanding is costly, cross-application state tracking is complex, visual hallucination is difficult to eliminate completely, recovery strategies after tool-call failures need to be more refined, and privacy and permission governance cannot be an afterthought. Future directions include more unified cross-modal state representations, more standardized tool invocation protocols, stronger verifiable execution environments, and a closed-loop feedback path between training and evaluation. The value of native multimodal agents is not in making the vision module larger, but in bringing visual evidence into the decision chain and continuously correcting it through execution feedback.