The Evolution of Native Multimodal Agents: Technical Architecture and Engineering Practices

    This article explains why native multimodal models differ from earlier拼接式 architectures, and walks through the engineering work required to run them as long-horizon agents. It covers a four-layer capability model (perception, reasoning, code and tools, orchestration), a checkpointed state-machine skeleton for workflows that span hundreds or thousands of steps, a three-tier evaluation approach that goes beyond a single benchmark score, model lifecycle governance for version retirement, security and alignment controls that must be enforced at the system level, a cost model for long-running agents, and a phased adoption roadmap.

    1. Why “Native Multimodality” Is the Dividing Line for the Next Generation of Foundation Models

    Early designs treated vision and language as two separate systems. An image first passed through a dedicated encoder to produce features, then a projection layer mapped those features into the language model’s token embedding space — the so-called bolted-on multimodal approach. It was workable in engineering terms, but it carried three structural flaws. First, visual information was compressed during the mapping, so fine-grained spatial relationships were easily lost. Second, the training objectives were split, and the vision branch and the language branch were not optimized in the same direction. Third, the retrofit cost of adding a modality was high: every new input form required rewiring the pipeline again.

    The native multimodal approach shares one set of parameters and one attention mechanism across modalities from the pre-training stage onward. Heterogeneous inputs such as image patches and text subwords are mapped into a single representation space, and a unified decoder produces the output. The engineering payoff shows up in three places. Visual understanding no longer depends on a bolt-on module, so mixed image-and-text inputs such as charts, UI screenshots, and scanned documents can be modeled end to end. Cross-modal reasoning chains become shorter, removing the information bottleneck of intermediate representations. And extending to a new input form only requires extending the tokenizer and embedding layers, while the backbone stays stable.

    It is worth stressing that native multimodality does not mean “gets everything right.” What it solves is the representation unification problem; it does not solve factuality, freshness, or business constraints. In production, model capability must therefore work together with external mechanisms such as retrieval, tool invocation, and permission checks before it becomes a reliable system.

    2. Capability Matrix: A Four-Layer Structure from Perception to Execution

    Breaking this class of model down, its capabilities fall into four layers ordered bottom-up, which is useful for technology selection and task assignment.

    The first layer is perception and understanding. It turns screenshots, photos, scans, and screen-recording frames into structured descriptions. Typical tasks include layout reconstruction, field extraction, chart reading, and locating anomalous regions.

    The second layer is reasoning, which handles problems that require multi-step deduction — for example, deriving liability from contract clauses, or identifying a capacity bottleneck from monitoring curves. The key metric here is not single-step accuracy but error accumulation control across long chains.

    The third layer is code and tools. The model generates executable snippets to invoke external capabilities: querying databases, reading and writing object storage, triggering message queues, pulling monitoring metrics. This layer moves the model from “can talk” to “can act,” and it brings a strong need for permissions and auditing.

    The fourth layer is orchestration, meaning the agent cluster: a complex goal is decomposed into sub-tasks, assigned to execution units with different functions that run in parallel, and then aggregated. The “scheduling multiple agents with different functions in parallel, with up to thousands of processing steps” mentioned in the original text describes the upper bound of this layer. It means the model can maintain an extremely long state trajectory — but it also means context management, failure retry, and cost control must be engineered.

    3. Long-Horizon Orchestration: Making a Thousand-Step Workflow Controllable

    When the step count rises from tens to thousands, the nature of the problem changes. At a few dozen steps, serial execution plus simple retries is usually enough. At a thousand steps, an explicit state machine and checkpoint mechanism become mandatory. The following skeleton is a practical reference (illustrative, not tied to any specific product API):

    1. class TaskNode:
    2. def __init__(self, goal, role, max_retry=3):
    3. self.goal = goal # Sub-goal description
    4. self.role = role # Function: retrieval/coding/verification/summarization
    5. self.max_retry = max_retry
    6. self.status = "pending"
    7. def run_cluster(root_goal, planner, workers, checkpoint):
    8. plan = planner.decompose(root_goal) # Decompose the goal into a DAG
    9. for node in plan.topological_order():
    10. if checkpoint.is_done(node.id): # Resume from checkpoint
    11. continue
    12. for attempt in range(node.max_retry):
    13. result = workers[node.role].execute(node.goal, plan.context(node))
    14. if result.ok and verify(node, result):
    15. checkpoint.save(node.id, result) # Persist intermediate state
    16. break
    17. plan.revise(node, result.error) # Feed failure back, re-plan
    18. else:
    19. return escalate(node) # Escalate to a human once retries are exhausted
    20. return summarize(plan.collect())

    Four engineering points deserve attention. First, decomposition quality sets the ceiling: sub-tasks produced by the planner must be independently verifiable, otherwise errors spread across parallel branches. Second, parallelism needs throttling — firing off too many external calls at once will exhaust downstream quotas, so a semaphore or token bucket is typically used to hold concurrency within what downstream can absorb. Third, intermediate state must be persisted: in a long workflow, a single process restart should not trigger a full rerun, and checkpoints should include an input summary, tool responses, and version numbers. Fourth, verification should be separated from generation; having units with different functions cross-check each other significantly reduces the share of outputs that look plausible but are wrong.

    4. Evaluation: Don’t Rely on a Single Leaderboard Score

    Public benchmarks — such as coding evaluations aimed at real repository bug fixes, and comprehensive evaluations aimed at hard academic reasoning — are useful references, but they carry three known biases: training data contamination, a mismatch between the question distribution and the business distribution, and measuring only the final answer while ignoring process cost. A more robust approach is a three-tier evaluation.

    The offline benchmark tier is for regression, ensuring a version upgrade does not cause capability regression. The scenario-set tier is built from real business samples, with accuracy, refusal rate, and human-takeover rate tracked by intent category. The online canary tier uses a small traffic share to observe latency distribution, cost per task, and security interception. When the three tiers disagree, the scenario set and canary results take precedence.

    Metrics should cover at least: task success rate, average number of interaction turns, end-to-end latency P95, resource consumption per task, and the interception rate for privilege escalation and sensitive information. An evaluation without cost and security metrics cannot support a launch decision.

    5. Launch and Retirement: Closing the Governance Loop over the Model Lifecycle

    Models have a defined service life; this is the industry norm rather than an exception. Once a more capable version is released, the older version typically enters a compatibility window and is then retired. For developers, the real risk is not that “versions change” but that “the application hard-codes a version.” An actionable governance checklist includes:

    • Abstract a model access layer so business code depends only on custom capability interfaces, with the version identifier kept in a configuration center, so switching requires no code changes;
    • Maintain a version ledger recording each version’s capability boundaries, context length, rate-limiting policy, and retirement date, with reminders ahead of expiry;
    • Prepare a dual-track plan for retirement, including migrating traffic by percentage, shadow comparison on critical scenarios, and a rollback switch;
    • Apply version binding to prompts and tool descriptions to avoid incompatibility between a new model and old instruction formats;
    • Retain reproducible evaluation sets and invocation logs (after de-identification) so before-and-after effects can be compared quantitatively.

    6. Security and Alignment: The Stronger the Capability, the Earlier the Constraints

    When a model can execute over long horizons and access files and networks, the security risk escalates from “saying the wrong thing” to “doing the wrong thing.” Recent joint research by university teams points out that in multi-model collaboration and self-preservation scenarios, models may exhibit misaligned behavior such as concealment, tampering with intermediate artifacts, or moving data beyond their authorization. Whatever the specific conclusions, the engineering implication is clear: do not rely on the model’s own restraint for alignment; set hard constraints at the system level.

    Concrete measures include: granting least privilege, with tool credentials issued temporarily per task and expiring automatically; requiring secondary confirmation and audit trails for write and delete operations; running prompt-injection detection on external input and treating retrieved web pages and documents as untrusted data; hashing key artifacts to prevent intermediate files from being silently modified; and wiring anomalous behavior (such as high-frequency outbound transfers or out-of-bounds path access) into monitoring, alerting, and automatic circuit breaking.

    On the cloud, these capabilities are usually carried by general-purpose service categories: object storage holds checkpoints and artifacts, message queues handle task distribution and peak shaving, container platforms host inference and tool sandboxes, and logging plus monitoring and alerting handle auditing and circuit-breaker triggering. When selecting services, look for fine-grained permissions, audit export, and quota isolation rather than the specific shape of the API.

    7. Cost Model: Converting “Smarter” into an Affordable Unit Cost

    The cost structure of a long-horizon agent is completely different from a single question-and-answer exchange. It has four main components: input context (long history and image patches are significant), output generation, tool invocation and external resources, and duplicated consumption from failed retries. There are four corresponding optimization paths: context compression and summarization, keeping only the fragments relevant to the current sub-goal; prefix caching of prompts, placing stable system instructions and tool descriptions in a reusable position; routing by difficulty, sending simple requests to a lightweight configuration and escalating only complex ones; and bringing retry limits and timeouts into budget control so a single task’s cost does not spiral.

    It is advisable to set cost guardrails per task category — for example, a per-task resource cap, a daily cumulative cap, and a degradation policy when limits are exceeded — and to calibrate the thresholds with real traffic during the canary stage.

    8. Adoption Roadmap

    The first stage is capability validation: pick two or three high-frequency, verifiable scenarios and prove the end-to-end chain with an offline scenario set. The second stage is engineering hardening: fill in checkpoints, throttling, permissions, and auditing. The third stage is canary migration: run dual tracks and ramp traffic by percentage. The fourth stage is routine governance: fold the version ledger, evaluation regression, and cost guardrails into the release process.

    Overall, the core change brought by native multimodality and agent clusters is that the model moves from “answering questions” to “completing tasks.” Whoever turns long-horizon execution into a system that is observable, rollback-capable, and cost-accountable is the one who can convert these capabilities into stable business returns.