Multimodal AI Agents: A Practical Guide to Visual Thinking Paths

    This article examines why multimodal AI agents are shifting toward the "thinking with images" approach instead of visual primitives, and what this means for developers. It breaks down the perception gap and the reference gap, explains why the agent harness is the hidden barrier to real-world deployment, and outlines practical advice on explicit configuration, reproducible evaluation, and choosing the right visual reasoning path for your tasks.

    1. Where It Started: A Version Update Sparks a Route Debate

    A recent multimodal experimental release of a general-purpose large model became available in an agent environment, and community discussion quickly centered on one question: in agent scenarios, it appears to have abandoned the “visual primitives” image processing approach proposed in earlier papers, reverting instead to the more classic “thinking with images” route.

    This change is not a simple feature trade-off. It reveals the real constraints that the harness (the agent runtime framework) places on putting multimodal capabilities into practice: no matter how strong the model is, if the surrounding framework cannot reliably connect the loop of “look at the image, act, observe again,” complex visual tasks will still break down. Setting aside specific products, this article discusses the general technical question: how should a multimodal agent choose its visual thinking path, and which pieces does the engineering side need to fill in?

    2. The Essential Difference Between the Two Technical Routes

    1. The Perception Gap: Not Seeing Clearly Is Not the Model’s Fault

    The industry generally holds that the first thing a multimodal system must overcome is the “perception gap,” meaning the model’s limited ability to resolve and localize image details. Common mitigations include tiling the image, zooming into local regions, and increasing input resolution.

    2. The Reference Gap: Describing Images in Natural Language Is the Real Bottleneck

    A more advanced view holds that once perception is shored up, the real bottleneck is the “reference gap”: during reasoning, the model still refers to objects in the image using natural language, such as “the third person from the top left” or “the block near the red marker.” In dense counting and complex localization tasks, natural-language references are inherently ambiguous, and once logic chains stack up, they collapse.

    3. Visual Primitives: Unambiguous Pointers

    The “visual primitives” idea abstracts objects into precise pointers within a continuous visual space (such as coordinates or region handles), letting the reasoning process operate directly on these pointers and bypass the ambiguity of natural-language descriptions.

    4. Thinking with Images: A More Engineering-Friendly Compromise

    “Thinking with images” allows the model to repeatedly crop, zoom, and annotate images during reasoning, feeding intermediate results back into the model. It sacrifices some theoretical elegance but naturally fits the tool-calling mechanisms of existing agent frameworks, making it cheaper to implement.

    3. The Harness Is the Invisible Threshold for Multimodal Deployment

    One key observation from the original is that the official documentation’s explanation of configuration is not friendly: users have to figure out the config file format and startup parameters on their own, and may even need to manually upgrade the command-line tool before the web form can be enabled. This shows that the harness is still oriented toward internal engineering use rather than being polished for end users.

    The takeaways for developers are:

    • Make configuration explicit: model identifiers, image input switches, and tool whitelists should be declared centrally, avoiding implicit defaults.
    • Make versions lockable: upgrade commands and version numbers should be written into the documentation to prevent behavior drift.
    • Make documentation executable: official examples should be copy-and-run ready, reducing cases of “I followed it but it won’t run.”

    Illustrative configuration (pseudocode, structure only):

    1. model: <vision-capable-model-id>
    2. profile: web
    3. tools:
    4. - image_crop
    5. - image_zoom
    6. - coordinate_pointer

    4. Evaluation Must Be Reproducible

    The original notes that paper examples and web behavior are inconsistent: counting results deviate, and maze planning fails. This is a reminder that multimodal evaluation must fix the input resolution, tiling strategy, prompt template, random seed, and tool set. Otherwise, the same model will produce completely different scores under different harnesses, making conclusions incomparable.

    A recommended minimum evaluation loop:

    1. Fix the sample set and labeling criteria;
    2. Record a full configuration snapshot for each run;
    3. Set separate thresholds for counting, localization, and planning;
    4. Output visualized traces of failed samples to help determine whether the issue is perception or reference.

    5. Selection Recommendations

    • If tasks center on dense counting and precise coordinate localization: prioritize evaluating visual-primitive approaches, but confirm whether the harness actually exposes pointer capabilities.
    • If tasks center on multi-step cropping and iterative observation: thinking with images is more stable and requires little engineering change.
    • For production: regardless of the route, make explicit configuration, reproducible evaluation, and traceable failures entry requirements.

    6. Conclusion

    The competition in multimodal agents is shifting from “can the model see” to “can the framework let the model see stably, point accurately, and be evaluated reproducibly.” For developers, the more pragmatic path is to first build a solid harness and evaluation foundation, and only then debate the merits of each route.