At a Glance
Giving a robot agent on-demand access to short, relevant clips from a single demonstration raises task success without retraining the policy — about 92.6% to 96.5% overall and up to 12 points on long multi-step tasks.
ON THIS PAGE
What They Found
Letting the agent consult a demonstration as a searchable hierarchy (coarse overview + short clips) Tree of Thoughts Pattern lets it pull only the frames it needs at each step. That simple change, with no policy retraining and a single demo per task, improves success rates across distribution shifts and seven types of perturbation. The gains are largest on long, multi-step tasks where timing and contact details matter — agents repeatedly re-open clips just before grasps and releases.
Need expert guidance?We can help implement this
Key Data
1Overall success rose from 92.6% to 96.5% when adding recursive demo clips on top of an already-strong agent (+3.9 percentage points; p = 0.003).
2On long-horizon tasks, success improved by up to 12 percentage points, while showing keyframes or the entire video gave at most a 2-point gain.
3Under seven different kinds of perturbation, success on the second benchmark rose from 86.7% to 95.8% with the same single-demo approach.
What This Means
Robotics engineers building agentic systems that combine a planner with learned contact skills — an easy way to reduce failures without retraining. Technical leads evaluating robot reliability or robustness under changing conditions — a small infrastructure change yields measurable gains. Researchers exploring demonstration formats and memory designs for agents — shows the value of queryable demos over static logs. Role-Based Agent Pattern
Key Figures

Fig 1: Figure 1: Overview of RV-ICL on a task from the LIBERO-10 suite of LIBERO-PRO. The agent receives one demonstration of the task as a hierarchy (a) and consults it while solving the same task in a new layout (b). (a) The hierarchy has four levels: L 0 L_{0} event-driven keyframes (thin lines mark their time), L 1 L_{1} phases between grasps and releases, L 2 L_{2} moments around each sub-event, and L 3 L_{3} 20-frame clips, here of the first grasp. (b) The tool calls of one solved evaluation episode (consecutive calls grouped, robot actions in grey, re-entries in orange). The agent reads L 0 L_{0} – L 2 L_{2} while planning and loads clips only during execution. Each re-entry loads the clip of the current sub-goal: the grasp, the release or the closing of the door.

Fig 2: Figure 2: Architecture of RV-ICL on RPent. Each demonstration is segmented offline at its sub-events into a four-level hierarchy. During an episode the LLM agent acts through the harness. Robot tools execute on the environment, and read-only demonstration tools load a level of the hierarchy into the agent’s context. The agent reads the coarse levels ( L 0 L_{0} – L 2 L_{2} ) before planning and loads a clip whenever its current sub-goal needs more detail.

Fig 3: Figure 3: How the agent uses the demonstration in one LIBERO-10 episode from our LIBERO-PRO runs. Top: the policy closes the gripper on top of the moka pot (1). The agent does not replay the whole video. It opens only the grasp clip, where the demonstrator takes the pot by its handle (2), and then re-grasps the pot by the handle (3). Bottom: across the episode the agent reads the keyframes and the phase map before acting, then opens one short clip at each sub-goal. Robot views are crops of the episode video, demonstration views are frames of the demonstration, and the quote is the agent’s own message.
Ready to evaluate your AI agents?
Learn how ReputAgent helps teams build trustworthy AI through systematic evaluation.
Learn MoreYes, But...
The method assumes one valid demonstration per base task; if the task goal changes, parts of the demo can become misleading and need to be flagged. Tasks that leave no clear sub-event trace (for example, subtle pushes or pours) require alternate detectors or visual models to build the hierarchy. All experiments ran in simulation with a single robot and proprietary language models, so performance on diverse real robots or different model implementations is not yet validated. Context Drift
Methodology & More
Give the agent a single demonstration broken into a four-level hierarchy (coarse event keyframes down to short 20-frame clips). The agent reads the coarse levels up front to form a plan, then during execution requests only the clip that matches its current sub-goal. That keeps context size small, preserves fine-grained timing around contacts, and requires no changes to the underlying visuomotor skill or retraining. Evaluated on two perturbed benchmarks, the approach raises a strong baseline from 92.6% to 96.5% overall and from 86.7% to 95.8% across seven perturbation types. The biggest wins appear on long, chained tasks (up to +12 points) where when and how to contact objects matters most; agents opened demonstration clips in 97% of episodes, mainly to see grasps and releases. The key takeaway: treat demonstrations as an environment you can query at runtime, not a static prefix — an inexpensive change that yields robust improvements in agent success. Model Context Protocol (MCP) Pattern Human-in-the-Loop Pattern
Avoid common pitfallsLearn what failures to watch for
Credibility Assessment:
All authors and affiliations unspecified, arXiv preprint with zero citations and no h‑index info — limited signals of established reputation, suggesting emerging/limited credibility.