Multimodal Agents and Thinking with Images: A Technical Breakdown

    This article examines why multimodal models struggle with visual tasks and breaks the problem into two gaps: a perception gap caused by discrete visual tokens and a reference gap caused by ambiguous natural-language pointers. It compares two technical routes—embedding visual primitives inside model weights versus orchestrating a "thinking with images" loop in an external agent harness—and explains why the harness often acts as the real capability amplifier. You will also find practical guidance on CLI and profile configuration, a reproducible evaluation framework covering dense counting, precise reference, path planning, and distractor robustness, and recommendations for deploying the vision loop on cloud infrastructure.

    1. Where the Problem Starts: A Version Update and a Route Debate

    A recent experimental release in a general-purpose large model series targets visual understanding. In agent scenarios, one signal stands out: it appears to have dropped the “visual primitives” image-processing approach proposed in earlier papers and adopted the more conventional “thinking with images” route.

    The change itself is not surprising, but it raises a deeper question: Should multimodal capability be encapsulated inside the model, or orchestrated by an external agent harness? Put differently, when a model “cannot see clearly,” should you change the model or change the framework?

    This article unpacks the question across four layers: technical principles, route comparison, engineering configuration, and evaluation methodology.

    2. Two Kinds of “Gaps”: Why Models Cannot See Clearly

    The industry commonly splits multimodal recognition difficulty into two layers:

    1. Perception Gap: Once an image is cut into discrete visual tokens, resolution and detail are lost, leaving the model at a built-in disadvantage on dense small objects and fine-grained textures.
    2. Reference Gap: Even when the model “sees” a target, describing its position and identity in natural language within the chain of thought makes the reference ambiguous. Phrases like “the third person on the left” or “the block near the edge” can almost never be uniquely resolved in dense scenes.

    The second layer is often underestimated. Tasks such as dense counting, complex-scene localization, and multi-object relational reasoning tend to break not because there are too few pixels, but because the intermediate representation is blurry. Natural language is a serialization protocol designed for communication; it inherently carries omission, vagueness, and context dependence. Visual localization, by contrast, needs unambiguous pointers.

    So-called “visual primitives” essentially replace the intermediate representation in reasoning from “text description” with “pointers that can be precisely located in continuous visual space,” letting the model operate directly on coordinates, regions, and instance IDs while thinking, instead of detouring through language.

    3. Route Comparison: Internal Primitives vs. External Orchestration

    The two routes can be abstracted into the following comparison:

    Dimension Embedded Visual Primitives Thinking with Images + Framework Orchestration
    Intermediate representation Structured visual pointers New images after cropping, zooming, annotation
    Capability ownership Inside model weights Context management in the agent framework
    Iteration cost Requires retraining/realignment Change prompts and tool chains only
    Interpretability Depends on internal mechanisms Process is visible and reproducible
    Generalization boundary Bounded by training distribution Depends more on framework design quality

    The key insight of the orchestration route is that the harness is the capability amplifier. The model only handles “take a look + next action,” while the loop of “zoom in, slice into blocks, annotate and look again” is handed to external loop control. This also explains why the same model performs very differently under different frameworks—how context is organized, how tools are exposed, and how failures fall back are all decided by the framework.

    A schematic orchestration loop looks like this (pseudocode, structure only):

    1. def vision_loop(image, question, max_steps=6):
    2. ctx = [{"role": "system", "content": TOOL_SPEC}]
    3. for step in range(max_steps):
    4. action = model.next_action(ctx + [{"image": image, "q": question}])
    5. if action.type == "crop":
    6. image = crop(image, action.box) # zoom into the key region
    7. elif action.type == "annotate":
    8. image = overlay_grid(image, action.points) # introduce coordinate references
    9. elif action.type == "answer":
    10. return action.text
    11. ctx.append(action.trace)
    12. return fallback_answer(ctx)

    This structure shows one thing: a large share of the capability gain comes from turning a blurry problem into a series of verifiable small problems.

    4. The First Pitfall in Practice: Harness Configuration

    In real hands-on work, the first obstacle is usually not the model but the configuration. Many agent CLI tools are built for internal R&D by default, with options that exist as JSON, while the official documentation only describes “set a certain model parameter” in natural language—leaving users with no clear starting point.

    A suggested troubleshooting order:

    1. Check the version first: CLI tools iterate fast, and an old version not supporting a new model identifier is common; run a global upgrade and retry.
    2. Then confirm the configuration carrier: most frameworks use JSON config files or a profile mechanism rather than scattered command-line flags.
    3. Finally confirm the entry point: the same model may enable different tool sets and context strategies under different profiles.
    1. # Example: upgrade, then start with a profile
    2. npm update -g @your-cli
    3. your-cli --profile web
    1. {
    2. "model": "vision-experimental",
    3. "profile": "web",
    4. "tools": ["crop", "annotate", "search"]
    5. }

    One observation worth recording: official rollouts target internal and early users, so configuration notes are naturally incomplete, while onboarding docs for third parties are often more detailed. There is usually a clear time lag between tool-chain maturity and external usability, and engineering selection should factor that in.

    5. Evaluation: How to Tell Whether “Visual Primitives” Actually Work

    A mismatch between paper metrics and product-side behavior is typical of such experimental releases. The causes are usually three: different default parameters, different context strategies, and different tool availability. Evaluation therefore requires your own closed loop rather than copying numbers from a paper.

    A suggested evaluation framework covers four task types:

    • Dense counting: more than 20 small objects, checking whether the model degrades into language guessing;
    • Precise reference: given coordinates find the object, given the object report coordinates—bidirectional verification;
    • Path and planning: maze-like tasks that test multi-step spatial memory;
    • Distractor-robust localization: add similar distractors to test discrimination.

    When evaluating, always fix three things: input resolution, context length limit, and the available tool set. Otherwise the conclusions are not reproducible.

    1. {
    2. "resolution": "fixed",
    3. "max_context": 32768,
    4. "tools": ["crop", "annotate"],
    5. "runs": 3,
    6. "metric": ["count_acc", "point_iou", "plan_success"]
    7. }

    6. Conclusions and Recommendations

    First, the bottleneck in visual capability is shifting from “pixels” to “intermediate representation,” and the reference gap is harder to bypass than the perception gap. Second, handing the vision loop to external framework orchestration is currently the engineering path with the lowest iteration cost and the best interpretability: the model handles local judgment, the framework handles global strategy. Third, configuration and tool-chain maturity often become a deployment blocker before model capability does, so selection should reserve budget for upgrades and adaptation. Fourth, all conclusions should rest on a self-built, reproducible evaluation.

    For cloud deployment, you can use container platforms to host inference and orchestration services, object storage to manage image datasets, message queues to decouple asynchronous tasks, and logging plus monitoring and alerting to track the step count and failure reasons of each vision loop—turning a blurry problem like “cannot see clearly” into measurable, optimizable engineering metrics.