# MoCaP: Mobile Code-as-Policies for Zero-Shot Mobile Manipulation from Passive Human Videos

Robotics.world

> Robots asked to "bring the cup back" in a new home need experience they were never given as demonstrations. Everyday egocentric video of people going about their lives is plentiful, but it contains…

**arXiv**: 2610.20998 · Preprint · not peer-reviewed

**Published**: 2026-10-14

**Authors**: Yiyang Cai, Tatsuya Kamijo, Ninghao Lu, Zijin Hu, Sherry Yang

## In plain words

Robots asked to "bring the cup back" in a new home need experience they were never given as demonstrations. Everyday egocentric video of people going about their lives is plentiful, but it contains no object coordinates, no labels, and no robot-compatible actions — and the person's body, camera height, and field of view differ from the robot's.

## AI summary

## Overview

**Research area:** Robotics — open-vocabulary mobile manipulation, learning from passive (non-demonstration) egocentric human video, and code-as-policies agents built on vision-language models.

**Technical level:** Advanced. The paper assumes familiarity with vision-language models, code-generating agents, grasp pose prediction, inverse kinematics, collision-aware navigation stacks, and camera-to-robot frame calibration.

**Scope (one sentence):** The paper describes MoCaP, a system that mines a single passively recorded egocentric human video for a reusable spatial memory and a "where people stand before reaching" prior, then uses a closed-loop code-generating agent to drive a real mobile manipulator to find, approach, and grasp objects, evaluated on one object-navigation task and two mobile manipulation tasks.

## What This Paper Is About

Robots asked to "bring the cup back" in a new home need experience they were never given as demonstrations. Everyday egocentric video of people going about their lives is plentiful, but it contains no object coordinates, no labels, and no robot-compatible actions — and the person's body, camera height, and field of view differ from the robot's. The paper's goal is to convert such passive recordings into two pieces of practical guidance — where in the environment to search for an object, and from which side to approach it so a grasp is actually reachable — and to wrap that guidance in a code-writing agent that coordinates navigation and manipulation on a real robot.

## Key Contributions

1. **A unified Code-as-Policy system for mobile manipulation.** MoCaP has a vision-language code agent emit short Python programs that call robot-grounded primitives, with no predefined split between a "navigation stage" and a "manipulation stage." Failed primitive calls interrupt the program and execution feedback drives revision.
2. **Reusable spatial memory from passive human video.** An offline pipeline (using GPT-5.6) produces text describing places, connections, landmarks, object descriptions with support surfaces, and relative locations, plus up to 32 timestamped reference frames cited by that text. The memory is task-independent and reused across tasks.
3. **Human-guided base placement for manipulation.** The system detects the transition from walking to reaching in the video, recovers where the person stood before contact, converts that into an approach bearing toward the target, and searches nearby robot base poses under the robot's own reachability and collision constraints.
4. **A real-robot evaluation showing existing agentic systems fail these tasks.** MoCaP is compared against CaP-X (and a collision-aware variant, CaP-X+), plus ApexNav and CoW for navigation, with matched tasks, object placements, and robot starts.

## Main Findings

- **80% success on each of the two manipulation tasks.** MoCaP succeeded in 16/20 trials grasping a cardboard box on a white storage cabinet and 8/10 trials grasping a can on a table; grasp attempts were made in 19/20 and 10/10 trials respectively.
- **Baselines never succeeded.** CaP-X attempted a grasp in 2/20 box trials and 0/10 can trials, with 0/20 and 0/10 successes. CaP-X+, which adds collision-aware navigation but keeps the same heuristic standing pose, raised box grasp attempts to 8/20 but still scored 0/20 successes, and localized the can in 0/10 trials.
- **Where the baselines broke.** Five of the eight CaP-X+ box attempts started 0.74–1.64 m from the box after the heuristic goal was pushed to the nearest collision-free pose; two arm strikes on furniture occurred because the CaP-X grasping primitive moves the arm via joint-space interpolation without collision checking; one grasp target lay outside the arm's workspace. On the can, which starts out of view, both baselines searched only by rotating in place; one CaP-X+ trial was ended after two complete rotations without detection or base motion (8 of 10 trials).
- **Video-derived spatial memory lifts navigation from 70% to 100%.** Navigating to a blue trash bin from a kitchen start with no view of the target: 10/10 for MoCaP versus 7/10 for a no-prior variant, 2/10 for ApexNav, and 0/10 for CoW.
- **Memory also improves speed.** Success within 180 s was 6/10 (MoCaP), 4/10 (no prior), 1/10 (ApexNav), 0/10 (CoW); within 300 s it was 9/10, 6/10, 2/10, 0/10. Navigation success required the base to stop within 1 m of the bin with the bin visibly identified in the terminal robot view.
- **Characteristic baseline failures.** CoW repeatedly stopped at a white trash bin in the kitchen bearing a blue notice, never leaving the starting room. ApexNav either detected the blue bin from a distance but kept exploring past the time budget, or declared a small black shredder in an adjacent room to be the goal.
- **Human approach prior mainly rescues unfavorable start poses.** In a controlled base-placement study with a fixed docking-plus-local-preparation sequence (no agent, no recovery), readiness rose from 18/45 to 38/45 trials overall. At start A the paper reports 0/15 → 14/15 (0.0% → 93.3%); at B, 26.7% → 80.0%; at C, where the no-prior arrival direction already coincides with the recorded human stance, 93.3% → 80.0%. The abstract summarizes the unfavorable-start result as 0% to 100%. The paper states the pooled difference is not significant at this sample size, and notes the text describes five trials per start while Table III reports fifteen.
- **Ablation design isolates the prior.** Both prior and no-prior conditions share the same perception, docking primitive, local search, and grasp planner; only the approach direction fed to docking changes. Success means a base pose exists from which at least one proposed grasp passes gripper collision checks and nominal inverse kinematics.

## Methodology in Plain English

The system runs in three loosely coupled layers.

**Offline: turn the video into notes.** Before any task is given, a builder model reads the egocentric recording and writes structured text describing places, how they connect, which landmarks signal a transition, and what objects sit on what surfaces — flagging uncertain identities. It pulls up to 32 frames at the timestamps it cited so the descriptions have visual anchors. Separately, it finds low-motion windows (mean grayscale frame differences, sampled at 2 Hz for labeling) and, for each human interaction, records the object, the hand used, the last frame before the reach, a view from 2 s earlier, and the first-contact frame. All of this happens without a downstream instruction, so the memory is reusable.

**At task start: one advisory call.** A single advisor model sees the memory text, the reference images, the instruction, and the robot's first image, and outputs the robot's likely location, two to four navigation subgoals with progress cues, and the target's appearance or support surface. This is called once per task; the agent can deviate afterwards based on what it sees.

**During execution: write code, run it, look, revise.** A vision-language code agent writes Python programs that call primitives. SAM 3 masks plus live depth locate named objects. Docking converts a visible target into a ground-plane standoff goal facing the object, Nav2 drives there, and fresh perception confirms arrival; bounded turns, forward/backward motion, and lateral translation support search when nothing is dockable. GraspGen-X proposes grasps, calibrated transforms convert them to tool-center-point goals, and open-gripper swept-volume checks reject obstructed approaches.

**The human prior enters at docking.** The system retrieves the recorded interaction whose description shares a word with the target, uses VGGT to estimate intrinsics and relative poses between the robot image and the event's preceding and ready views, then aligns the human camera to the robot camera using live depth to get the human camera position in the robot frame. Projecting that onto the ground plane yields the person's approach position and heading, from which an approach bearing toward the object is computed. That bearing is a direction, not a goal: the robot picks its own standoff distance, retries nearby bearings if the resulting goal is infeasible, and falls back to its original arrival direction.

**Base preparation before grasping.** The robot searches a local grid of planar translation and yaw adjustments around its current pose (including the zero adjustment), requiring the target to be visible within 0.8 m, filtering candidates with gripper collision and nominal IK checks, and preferring small adjustments with multiple robust grasps. After moving, feasibility is rechecked with fresh observations because controller error can invalidate the prediction, then cuRobo plans whole-arm motion through a pre-grasp and constrained approach.

**Hardware.** A YOR platform: omnidirectional base, vertical lift, two AgileX Nero arms with grippers, ZED2i stereo RGB-D camera, Jetson Orin NX for the agent and perception/planning services, Raspberry Pi services for base and arms. The code agent calls GPT-5.6 at medium reasoning effort. Human video comes from Aria Gen 2 glasses, using only the RGB stream.

## Why This Matters

**Impact on research.** The paper separates two things prior work often conflates: knowing *where* something is, and knowing *how to position yourself* to act on it. It shows that the second signal — the stance a person takes just before reaching — is recoverable from ordinary egocentric video and is exactly what saves a robot whose arrival direction is wrong. It also documents a concrete real-robot failure of a tabletop-oriented coding agent: geometric base-pose heuristics that a simulator would reject get executed as-is on hardware.

**Real-world applications:**

- Home assistant robots asked to fetch specific objects in unfamiliar houses, where an occupant's own wearable footage substitutes for teleoperated demonstrations.
- Eldercare and assisted-living settings, where residents' routines are already recorded and the same objects recur in the same places.
- Lab, office, or workshop fetch-and-deliver tasks where objects live on shelves and tables and the main failure mode is arriving on the wrong side of furniture.
- Retail or stockroom retrieval, where "which side of the shelf is reachable" depends on layout rather than on object identity.

**Industry relevance.** The approach requires no robot trials in a new environment and no per-task demonstration — only a passively recorded video — which is attractive for scaling robot fleets across sites. It also suggests a product shape where a wearable or phone recording is uploaded once and reused across many future instructions, and it composes with existing navigation stacks and grasp planners rather than replacing them.

## Future Directions

- **Test generality across environments and recorders.** The authors state the evaluation covers one environment, one video recording, and three target objects with five to ten trials per condition, so the results establish feasibility rather than generality; transfer across rooms, cameras, and objects absent from the recording is left open.
- **Fix the staleness of a single startup summary.** The paper notes the fixed advisor output can omit relevant objects or go stale, suggesting a need for memory that is re-queried during execution.
- **Improve base search beyond local geometry.** Local base search depends on visible geometry and the grasp model and does not optimize for future visibility, and partial depth plus imperfect footprint models limit collision checks.
- **Extend beyond grasping and lifting.** The authors point to using human video for richer skills — sustained contact, precise placement, and coordinated use of both arms — and to evaluating the priors across multiple homes and recordings.

## Target Audience

Robotics researchers and graduate students working on mobile manipulation, code-as-policies agents, and learning from human video; engineers building VLM-driven robot stacks who need to know where geometric heuristics break on real hardware; and practitioners interested in leveraging wearable egocentric video as a scalable alternative to teleoperated demonstrations. Readers without background in manipulation planning or vision-language agents will find the systems detail dense.

## Authors’ abstract

Passive human videos of everyday activity offer robots access to a massive amount of human experience without requiring a demonstration for each task. However, using this experience requires recovering knowledge from unstructured video recordings and adapting it to a different body (i.e., the robot). To overcome these challenges, we present mobile code-as-policy (MoCaP), an agentic framework that turns passive human video recordings into guidance for an end-to-end mobile…

[The full abstract on arXiv](https://arxiv.org/abs/2610.20998)

[Read the original paper](https://arxiv.org/abs/2610.20998)

## Related papers

- [Hierarchical Residual Policy Learning for Real-World Mobile Manipulation with Sparse Human Guidance](https://robotics.world/paper/hierarchical-residual-policy-learning-for-real-world-mobile-2610.20607) 2026-10-14 · cs.RO · Key terms of the title in common
- [CodeActionBench: Evaluating Agentic Code-as-Policy for Embodied Manipulation](https://robotics.world/paper/codeactionbench-evaluating-agentic-code-as-policy-for-embodied-2609.33807) 2026-09-27 · cs.RO · Key terms of the title in common
- [RoboSpan: Learning Modular Coordination Policies for High-DoF Whole-Body Mobile Manipulation with Teleoperation](https://robotics.world/paper/robospan-learning-modular-coordination-policies-for-high-dof-whole-body-2610.19594) 2026-10-14 · cs.RO · Key terms of the title in common
- [GazeAct: A Human-Gaze-Annotated Manipulation Dataset for Attention-Regularized Policies](https://robotics.world/paper/gazeact-a-human-gaze-annotated-manipulation-dataset-for-attention-2610.24507) 2026-10-17 · cs.RO · Key terms of the title in common
- [MobiAgent: Dual-Loop Recursive Policy Self-Improvement for Long-Horizon Mobile Manipulation](https://robotics.world/paper/mobiagent-dual-loop-recursive-policy-self-improvement-for-long-horizon-2610.03476) 2026-10-02 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/mocap-mobile-code-as-policies-for-zero-shot-mobile-manipulation-from-2610.20998
