In-context learning (ICL) lets agents acquire new rules from context and adapt to user-specific requirements at inference time. The same frontier agents now operate both computers and robots, yet their ICL remains insufficiently assessed: existing benchmarks are largely offline, rely on text or static images, and risk training-data contamination, while robot evaluations are limited to method-level ablations. We present ICLWorld, an online benchmark that evaluates the ICL of agents from digital to physical worlds, covering computer use and robot use, together with UIverse, a unified harness that turns every environment into a user interface. We build 30 environments, record 630 demonstration videos (10+ hours), and design 160 tasks with customized, often counter-intuitive rules that cannot be satisfied without learning from the context. Each task comes with three rule versions, given as text or video, and we test generalization at three levels, from replaying the demonstration to new instances and unseen environments. Across six frontier models, the strongest agents, Claude Opus 5.5 and GPT-6 Astra, succeed on 82% and 76% of computer-use runs but only 27% and 26% of robot-use runs, and a no-rule control reduces success to at most 8%. GPT-6 Astra succeeds under all three rule versions on only 38% of computer-use tasks, half its rate under a single rule, and answers 98% of robot rule questions correctly yet completes only 20% of these tasks. Frontier agents learn rules comparably well from video and from text and transfer them across environments, whereas weaker agents rely on text and lose most of their video-based success once the demonstrated situation is resampled. These findings reveal substantial gaps between the digital and the physical world and between identifying a rule and acting on it.
Figures & tables
Figure 2: Building and evaluating ICLWorld , illustrated with a long-horizon robot task: restocking a two-tier display stand with a batch of items, recycling the packaging, and moving the stand to the ordered spot. Every one of the 15 original environments has a counterpart with the same functionality, giving 30 environments ( Sec. 3.2 ; drawn schematically). The rule is given as a real demonstration video or as text, together with the task goal ( Sec. 3.1 ). We show the real final states of the three rule versions and the simulated test scenes at the three generalization levels: Resample replaces the blocks by pastries, and Relocate additionally changes the robot arm, the tabletop, and physical parameters. The evaluation panel shows the rule question with its answer key and the task’s milestones with their weights; the outcome shown is illustrative ( Secs. 3.4 and 3.5 ).
Figure 3: UIverse. The agent acts only through a frontend that renders every world as a graphical interface: the application’s own screen in the digital world, and a control panel with camera views, the demonstration, and arm controls in the physical world. Actions are executed in the corresponding world, which returns its new state.
Difficulty
Computer use
Robot use
Easy
36 / 36 / 36
7 / 7 / 7
Medium
0 / 37 / 37
19 / 19 / 19
Hard
0 / 37 / 37
19 / 16 / 24
Table 2: Tasks supporting each generalization level among all 160 tasks, listed as Replay / Resample / Relocate .
Computer use (110)
Robot use (50)
Model
Overall
Avg.
Easy
Medium
Hard
Avg.
Easy
Medium
Hard
Claude Opus 5.5
53.9 / 54.9
81.8 / 81.8
97.2 / 94.4
89.2 / 86.5
59.5 / 64.9
26.0 / 28.0
28.6 / 57.1
57.9 / 42.1
0.0 / 8.3
GPT-6 Astra
49.7 / 52.6
75.5 / 77.3
88.9 / 88.9
86.5 / 81.1
51.4 / 62.2
24.0 / 28.0
57.1 / 57.1
31.6 / 47.4
8.3 / 4.2
Qwen3.8-Max
19.8 / 17.5
33.6 / 29.1
63.9 / 63.9
29.7 / 18.9
8.1 / 5.4
6.0 / 6.0
0.0 / 0.0
15.8 / 15.8
0.0 / 0.0
DeepSeek-V4.1-Flash
17.8 / 9.3
23.6 / 14.5
55.6 / 38.9
13.5 / 5.4
2.7 / 0.0
12.0 / 4.0
14.3 / 0.0
26.3 / 10.5
0.0 / 0.0
GLM-5.3-Flash
17.7 / 15.1
35.5 / 28.2
80.6 / 63.9
18.9 / 16.2
8.1 / 5.4
0.0 / 2.0
0.0 / 0.0
0.0 / 5.3
0.0 / 0.0
Table 3: Main results (success rate, %) on all 160 tasks with rule version C. Each cell reports text / video: the rule is given as a text description (shaded) or as a video demonstration. Overall: mean of the two domain averages; Avg.: all tasks of the domain. Computer-use tasks are evaluated at Resample ; robot tasks at Resample , or at Replay for the 8 tasks that admit no independent instance, on which no model succeeds. Models are sorted by overall score with text rules. Best text and video results per column in bold.
Computer use
Robot use
Model
Replay (13)
Resample (13)
Resample (37)
Relocate (37)
Replay (14)
Resample (15)
Relocate (17)
Claude Opus 5.5
84.6 / 100.0
92.3 / 92.3
78.4 / 78.4
70.3 / 81.1
21.4 / 35.7
33.3 / 26.7
29.4 / 11.8
GPT-6 Astra
76.9 / 100.0
76.9 / 84.6
67.6 / 75.7
70.3 / 73.0
35.7 / 28.6
13.3 / 20.0
5.9 / 17.6
Qwen3.8-Max
69.2 / 100.0
69.2 / 69.2
27.0 / 32.4
37.8 / 37.8
7.1 / 0.0
0.0 / 6.7
5.9 / 0.0
DeepSeek-V4.1-Flash
53.8 / 69.2
53.8 / 15.4
24.3 / 8.1
32.4 / 18.9
7.1 / 7.1
20.0 / 6.7
17.6 / 0.0
GLM-5.3-Flash
53.8 / 84.6
46.2 / 53.8
21.6 / 21.6
32.4 / 35.1
7.1 / 0.0
0.0 / 6.7
5.9 / 5.9
Table 4: Generalization (success rate, %, text / video) with rule version C on the 54-task subset (Appendix C); sizes in parentheses. Computer use is paired: Replay vs. Resample on the same 13 tasks, and Resample vs. Relocate on the same 37 tasks. In robot use, each of the 17 subset tasks is evaluated at every level it supports.
Figure 4: Analysis (rule version C). (a) Text vs. video success. (b) Text − video gap by rule type, domain, and difficulty. (c) Computer-use success at paired levels. (d) Video success at all three levels, on the tasks supporting all of them.
Computer use
Robot use
Model
None
Text
Video
None
Text
Video
Sim
GPT-6 Astra
5.4
67.6
75.7
0.0
11.8
17.6
23.5
DeepSeek-V4.1-Flash
2.7
24.3
8.1
0.0
17.6
5.9
5.9
GLM-5.3-Flash
8.1
21.6
21.6
0.0
0.0
5.9
5.9
A
B
C
All
A
B
C
All
GPT-6 Astra
48.6
48.6
75.7
37.8
29.4
11.8
17.6
11.8
Table 5: Ablations on the 54-task subset (success rate, %; 37 computer-use and 17 robot tasks). Top: rule input with version C; None : goal only; robot Video / Sim : real-world/simulated demonstration. Bottom: rule versions with video, each judged by its own rule; All : solved under all three.
Figure 5: Understanding vs. execution on the 54-task subset with video rules, pooled over versions A/B/C. (a) Accuracy of the rule question answered before acting and success of the matching run. (b) Share of (task, version) pairs by answer correctness (Q) and execution success (X).
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 6: One goal, three rules, three levels. Top two rows, computer use: normalize three song titles in a music library. The library after applying rule A (uppercase the title), B (lowercase the title), and C (uppercase only its final letter), and the initial library at the three levels; Resample draws new songs, and Relocate moves the task to a counterpart application with a different layout and style. Bottom two rows, robot use: restock a two-tier display stand (Fig. 2 ). The end of the real-world demonstration of rule A (blue upper, green lower), B (triangles upper, squares lower), and C (all four upper), and the initial simulated scene at the three levels; Resample replaces the blocks by pastries, and Relocate additionally changes the robot arm, the tabletop, and physical parameters.
Goal
Rule A
Rule B
Rule C
Rewrite three customers’ notification drafts and send each back.
Lowercase the first letter, uppercase the rest.
Uppercase the first letter, lowercase the rest.
Title-case every word.
Open one safe cell on each Minesweeper board.
Minimize the sum of neighboring clues.
Maximize the unopened neighbors.
Choose the cell closest to the upper-left corner.
Submit a revised packet with a marked title.
[r8] Title
Title [r8]
r8 - Title
Set the open/closed state of two drawers.
Open only the upper red drawer.
Open only the lower blue drawer.
Open both drawers.
Load four blocks into a 2 × 2 box in a given cell order.
Red, yellow, blue, green.
Red, green, blue, yellow.
Green, blue, yellow, red.
Move three T-blocks into a tray with the demonstrated transformation.
Preserve positions and orientations.
Preserve positions, rotate each block by 90 ∘ .
Mirror positions, preserve orientations.
Appendix
Table 6: Rule versions of further tasks.
Purpose
Digital world
Physical world
Observe
Screenshot of the application
Screenshot of the control panel
Act
Click, drag, scroll, type, or press keys at pixel coordinates
Press arm buttons with step sizes and angles, then commit
Demonstration
Frames of the demonstration at chosen times
Frames of the demonstration at chosen times
Stop
Declare completion
Press Done or Give up
Appendix
Table 7: Tools of UIverse by purpose.
Web
OS
Robot
E
M
H
E
M
H
E
M
H
Subset
9
8
8
4
4
4
2
7
8
All tasks
25
25
25
11
12
12
7
19
24
Sel.
Fmt.
Lab.
Ord.
Arr.
Proc.
Subset
15
13
8
4
8
6
All tasks
48
37
21
14
21
19
Appendix
Table 8: Tasks in the subset and in the full benchmark by domain and difficulty (top) and by rule type (bottom; selection, formatting, labeling and matching, ordering, arrangement, procedure).
Computer use
Robot use
Model
Mean
Partial
Mean
Partial
Claude Opus 5.5
84.5
27.5
32.3
16.4
GPT-6 Astra
79.8
26.9
31.1
14.9
Qwen3.8-Max
42.1
26.5
12.3
13.3
DeepSeek-V4.1-Flash
29.7
20.2
13.1
12.3
GLM-5.3-Flash
38.7
20.7
5.3
9.9
Appendix
Table 9: Process scores (rule C, text and video pooled). Mean : mean process score over all runs (%); Partial : share of failed runs with a positive process score (%).
Task
What happened
Merge conflicting records (3 models)
A file of field timestamps is in the workspace; the models keep the newer value of each field, which coincides with the rule.
Deliver files (1 model)
The output folder offers several groupings; the model picks the one that best matches the goal, which coincides with the rule.
Add conversation shortcuts (1 model)
The interface shows unread counts; the model picks the conversation with the most unread messages, which coincides with the rule.
Open a safe Minesweeper cell (1 model)
The model takes the first safe cell in reading order, which coincides with the rule on all three boards.
Appendix
Table 10: Why the few runs without a rule succeed.
Model
Gives up
Declares done
Step limit
GPT-6 Astra
76
24
0
Qwen3.8-Max
73
26
1
DeepSeek-V4.1-Flash
55
45
0
Kimi K3
50
45
4
Claude Opus 5.5
44
56
0
GLM-5.3-Flash
41
56
3
Appendix
Table 11: How failed robot runs end (share of failed runs, %).
Figure 7: Identified but not executed. Left: end of the real-world demonstration. Right: head-camera views of GPT-6 Astra’s run in simulation, from the initial scene to the moment it gives up.
Comparison
Estimate
95% CI
Text–video gap, computer use
Claude Opus 5.5
0.0
[ − 5.5, 5.5]
GPT-6 Astra
− 1.8
[ − 9.1, 5.5]
Other four models, pooled
6.1
[1.8, 10.7]
Text–video gap by rule type, all models, both domains
Procedure
9.6
[2.6, 18.4]
Appendix
Table 12: Bootstrap 95% confidence intervals (percentage points; 10,000 resamples of tasks, rule C). Gaps are text minus video; level changes are the later level minus the earlier one on the same tasks. Intervals are not adjusted for multiple comparisons.
Trained action policies write manipulation skill into network weights, tying what is learned to the distribution it is learned from. In-context learning (ICL) avoids this coupling but has not matched trained policies, because a demonstration recorded in another scene carries no feedback from the world the robot currently faces. We observe that what an agent learns in context is semantic, recording task steps and object roles rather than visual appearance, so experience gathered in one world transfers to another. Based on this insight, we propose World In-Context Learning (WICL), a paradigm in which a frozen model starts from a demonstration, rehearses the task in a world such as a simulator, and writes the feedback into its context rather than its weights. We build RoboScript, a modular infrastructure that implements WICL for agentic manipulation. From a single demonstration, RoboScript learns each task through rehearsal in simulation, freezes the learned knowledge as a Task Memory, and deploys the frozen memory on new scenes with data isolation that ensures every deployment input is available on a real robot. On all 50 tasks of RoboTwin 2.0, RoboScript reaches 83.4% mean success across clean and randomized settings with one demonstration per task and no gradient updates, exceeding the strongest trained action policy by over 20 points. The method generalizes across visual distributions, improves through reflection, scales with the foundation model, and transfers to a physical dual-arm robot through cross-embodiment memory adaptation. With a world in the loop, a robot can learn a manipulation task in its context as well as it learns one in its weights. All code is available at https://github.com/ArcheOne-AI/RoboScript
Heng Fang, Zehui Guo, Yuehan Zhang +3
Huazhong University of Science and Technology · ArcheOne AI
Robot in-context learning (ICL) enables a policy to perform unseen tasks by following contextual demonstrations, without task-specific fine-tuning. This is increasingly valuable as large language models reasoning at low frequency can specify tasks through demonstrations and delegate high-frequency execution to such a policy. However, methods conditioned on human videos are bounded by scarce human-robot pairs, while those conditioned on robot demonstrations accept only one or two source types at limited scale. We present Any2Act, a foundation model for robot ICL. Our key insight is that a demonstration should be expressed in the camera layout and action space of the robot that performs it (the executor), not of whoever provided it (the demonstrator). This unified embodiment-grounded representation decouples learning to follow from admitting a new source. Any2Act learns to follow once, from robot-to-robot pairs that already take this form in 1.2M real trajectories spanning 10K tasks. Human videos, simulation, UMI, and other robots are then translated into this representation, and source-routed adapters trained on only a few hundred pairs each absorb the residual gap while the pretrained model stays frozen. For long horizons, a training-free tracker feeds only the demonstration window around the executor's progress, bounding the context and rolling back to redo failed steps. From a single demonstration, Any2Act achieves 57.5% success on unseen tasks without fine-tuning, exceeding VLAs fine-tuned on 50 demonstrations per task; other demonstrators retain 74-91% of the success achieved with the executor's own demonstrations.
Ziang Ren, Zifan Wang, Zhuoyang Li +8
The University of Hong Kong · Galbot · Tsinghua University +2
In-context learning (ICL) allows large language models to use demonstrations without updating their parameters. For interactive agents, demonstrations are trajectories of reasoning, actions, and observations that illustrate how to complete a task. Reusing demonstrations in new situations is challenging: directly inputting full trajectories consumes limited prompt space and constrains the overall effectiveness, while natural-language summaries require the agent to translate general guidance into specific action choices. Therefore, we study whether expert action choices can directly supervise a reusable scoring rule. We propose CB-Agent, which extends concept-based ICL to sequential action selection. We extract environment-action decisions from expert trajectories and fit a concept vector by maximum likelihood to model the conditional distribution over candidate actions given the context. This model combines the concept with frozen language-model features and priors. During ReAct interaction, the agent uses this distribution to select environment actions without including demonstrations in the action-scoring context. Across TextWorld, ALFWorld, and ScienceWorld, CB-Agent achieves the highest cross-benchmark average among the evaluated methods at all three tested model sizes and ranks first on TextWorld and ScienceWorld at each size. ALFWorld experiments support the learned concept's contribution beyond prior-only scoring and show further gains when combined with Reflexion. Code is available at https://anonymous.4open.science/r/CB-Agent-DFF9/.
Qingyue Zhang, Huaze Tang, Minyu Zhang +3
Tsinghua Shenzhen International Graduate School, Tsinghua University, Shenzhen, China