arXiv:2610.41844cs.ROOct 2026

Manuscript Offprint

arXiv:2610.41844

SketchMate: Agentic Geometric Reasoning for Zero-Shot Precision Insertion

Jiaming Wang

Jiaming Wang

Figure

Figure 1: VLMs know which part goes where, and geometry decides how it mates. Real outputs of three methods for inserting a NEMA 5-15 plug into a task board, with the source of each motion in grey. ReKep (Huang et al., 2024b) lets the VLM write constraints between image keypoints, and MOKA (Fang et al., 2024) lets it select marks and tiles. Our agent builds a metric sketch with geometric tools (orange: moving part, blue: fixed part, symbols as in Section 3.2). This sketch identifies the correct opening but misjudges the rotation of the plug by 90° (purple, dashed). Once the plug is grasped, matching close-up views of both mating faces recovers the correct rotation (green).

Abstract

Inserting an unseen part requires sub-millimetre precision and the correct orientation of keyed features. Current zero-shot agentic manipulation methods built on vision-language models (VLMs) produce spatial outputs that are far too coarse for this. We propose to let a VLM build a sketch model of the task, i.e., a few geometric primitives and two mate frames, which a VLM agent measures with geometric tools in multi-view depth and which a standard planner and compliant controller execute. Because a sketch describes the parts independently of their placement, the robot needs to build it only once per task. A sketch memory stores each agent run and transfers the stored sketch to later placements by point-cloud registration, so that the VLM is called only for unfamiliar parts. After grasping the part, the robot inspects both mating faces at close range and corrects the sketch by shape matching. On 69 simulated insertion episodes, our method inserts 88% of the parts at the assembled pose in a strict kinematic test, while ReKep and MOKA with the same VLM insert none. On new placements of eight tasks, reusing one stored run inserts as many parts as calling the agent in each episode, and it produces the sketch in 3.4 s instead of about 90 s.

1 Introduction

Insertion is at the heart of robotic assembly, whether a plug goes into a receptacle, a transceiver into a network card or a peg into a fixture. It is also the step that resists generalization. Typical parts mate with clearances of 0.1 mm to 0.3 mm and tolerate rotational errors of only one or two degrees. Many of them are also keyed,

Figure

Figure 2: Overview. A VLM agent builds the sketch for a new task, and the sketch memory supplies it for a known task. The agent (purple) calls geometric tools on three RGB-D views, whereas the memory registers a stored run to the new scene by geometry alone (green). After the grasp, we match the mating end (dark orange) to the height map of the fixed part and insert the part with compliance. The panels show one episode with GPT-6.1-Sol and the NEMA 5-15 task of Section 4.5, with symbols as in Section 3.2.

which means that they fit in a single orientation. For this reason, industrial practice engineers each new part individually with CAD models, fixtures and manually taught poses, and learning-based methods train a dedicated policy for each assembly or family of assemblies (Tang et al., 2023, 2024; Guo et al., 2025). In this paper, we investigate whether a robot can instead insert an unseen part, given only camera observations and a natural-language instruction such as “insert the USB plug into the task board”.

Vision-language models (VLMs) are a natural source of such generality, since they know what a USB plug is and which receptacle it belongs to. In agentic robotics, VLMs and other foundation models make at run time some of the decisions that engineers otherwise make before deployment (Wang et al., 2026). However, current zero-shot manipulation methods ground this knowledge in coarse spatial representations, such as marks and image tiles (Fang et al., 2024), keypoints on image patches with constraints written by the VLM (Huang et al., 2024b), or value maps on a voxel grid (Huang et al., 2023). The resolution of these representations is limited by patches and voxels of several millimetres. In addition, these methods ask the VLM to infer 3D correspondences from an image, for example which point of the plug has to meet which point of the receptacle.

We find that these representations are insufficient for insertion. When we port ReKep and MOKA to our tasks with our VLM, planner and controller, they insert none of the 69 parts at the assembled pose (Section 4.2).

Our approach assigns the semantic decisions to the VLM and the measurements to geometry. We let the VLM construct a sketch model of the task, which consists of a few geometric primitives covering the moving part and two mate frames. These frames locate the mating end of the moving part and specify which opening of the fixed part it enters, or which post it slides onto, and in which orientation (Figure 1). The VLM builds the sketch iteratively in an agent loop, using geometric tools that operate on multi-view depth data. In this division of labour, the VLM decides what to measure, and the tools provide the precision. For example, the VLM points at the rim of a hole, and a tool returns the circle fitted to the corresponding 3D points. A standard motion planner and a compliant controller then execute the sketch.

Running the agent takes roughly 90 s and tens of thousands of tokens per episode, which is costly to repeat whenever the same parts reappear. However, a sketch describes the parts themselves independently of their placement, which means that the robot needs to construct it only once per task. We store each agent run in a sketch memory along with the point clouds of both parts. In a later episode, we register these point clouds to the new scene and transfer the stored sketch, so that the VLM is consulted only for parts that the memory fails to recognize.

Keyed parts reveal a second problem. The agent reliably identifies which part goes into which opening, but it frequently misreads the rotation of the moving part, for instance the side of a USB plug that carries the tongue (Section 4.3). More precise measurements cannot correct this correspondence error, because the VLM itself chooses the measurements.

However, the correspondence becomes a geometric problem as soon as both mating faces are visible. After grasping the part, our robot therefore holds its mating end over an upward-facing camera, views the fixed part at close range with a wrist camera, and searches for the pose in which the two shapes best complement each other. Because both views are close, the same search also corrects offsets below the resolution of the scene cameras, as well as the registration errors of reused sketches. The sketch still provides the opening, the axis and the depth, and it resolves ties between fits that are geometrically equivalent.

We evaluate our method in simulation on assemblies from AutoMate (Tang et al., 2024), connectors built to their published dimensions, a NIST-style task board (Kimble et al., 2020), the parts of the AI for Industry Challenge (Intrinsic, 2025) and six held-out connector types. Our method inserts 61 of the 69 development parts at the assembled pose in a strict kinematic test and 91% in physics simulation. In contrast, ReKep and MOKA insert none, because their keypoints and marks do not describe the mating features. The look-and-mate step corrects the rotations that the agent misreads as well as offsets below the resolution of the scene cameras, and on the held-out connectors, the complete method inserts all 18 parts in both tests. On new placements of eight tasks, reusing the sketch of a single agent run inserts 30 of 32 parts with registration alone, which matches the performance of calling the agent in each episode.

This paper makes three contributions. First, we introduce sketch models, a task representation that a VLM agent builds once per task with geometric tools, that a sketch memory transfers to new placements by registration and that a classical planner executes. Second, we propose a look-and-mate step that observes both mating faces at close range after the grasp and resolves their correspondence by shape complementarity under the semantic constraints of the sketch. Third, we evaluate our method against ported VLM baselines and report, besides success, the accuracy of each intermediate representation and the cause of each failure.

References (70)