Let an AI researcher improve a robot policy: the Robot Policy Workbench as an AWS Autoresearch extension

Let an AI researcher improve a robot policy: the Robot Policy Workbench as an AWS Autoresearch extension

How the Robot Policy Workbench plugs into AWS Autoresearch as a domain extension, so an autonomous agent can evaluate and fine-tune robot policies in Isaac Sim or MuJoCo, scored by ground truth it cannot edit, within a budget it cannot exceed.

Series: autoresearch (2 articles)

  1. 2
    Let an AI researcher improve a robot policy: the Robot Policy Workbench as an AWS Autoresearch extension This article
Senior Applied Scientist @ AWS Prototyping
In  From Literature to Experiments: An AI Researcher on AWS  we introduced AWS Autoresearch, an open-source agent that runs the scientific method as a loop: read the literature, form a hypothesis, run an experiment, keep or discard the change, and record what it learned in a wiki. Its demos ranged from circle packing to a pendulum controller and a humanoid gait, each scored by a command that runs in seconds or minutes on one worker.
Robot policy research does not fit that shape. One evaluation means booting a simulator on a GPU and running dozens of episodes. One improvement may mean recording data and fine-tuning a 450M-parameter model for hours. An agent can still run this loop, but only if three things hold:
  1. It has a simulator to test in, which it reaches as a service, not a box it owns.
  1. Its score comes from something it cannot edit.
  1. Its spending stops at a limit you set, including what the simulator and training cost.
This post shows how the  Robot Policy Workbench  plugs into  AWS Autoresearch  as a domain extension so that all three hold, and walks through two ready-made demos on the LeIsaac PickOrange task.

The two pieces

The Robot Policy Workbench evaluates and trains robot policies on AWS. It runs seeded episodes in NVIDIA Isaac Sim (GPU instances) or MuJoCo (AWS Fargate, or a GPU instance for large checkpoints), scores each episode from the simulator's ground truth (which the control side never sees), compares two policies on the same episodes with paired statistics, exports episodes as LeRobot datasets and fine-tunes policies on Amazon SageMaker. Its GPU fleets scale to zero. Its command line is  rs . (See:  Introducing the Robot Policy Workbench: train, evaluate and compare robot policies on AWS )
AWS Autoresearch takes a project folder (code to improve, an evaluation command, a written brief) and loops. A researcher agent built on Claude Code and Amazon Bedrock reads papers into an LLM Wiki, designs one experiment, runs the evaluation command, reads  metrics.json , and keeps the change if the metric improved. The evaluation command is the only way a result enters its ledger, and the web app shows every experiment, its cost and the agent's reasoning live.
The workbench already provides an evaluation command:  rs experiment run  scores a candidate against a baseline and writes  metrics.json . What was missing was a way to give the agent the workbench without handing it AWS credentials or an open wallet. That is what a domain extension does.

How the extension works

An extension is a package that one solution builds and Autoresearch installs once per deployment. Every project that enables it gets its own identity, tooling and spend limit.

*Figure 1. The researcher calls the workbench as a per-project user. The workbench's own cost ledger feeds the project's budget. *
Build the package in the account and Region where the workbench is deployed, then install it with the Autoresearch deploy script:
# in the workbench repository
python3 integrations/autoresearch/build.py --profile <profile> --region <region> --out /tmp/ext
# in the Autoresearch repository
./scripts/deploy.sh -c extensions=/tmp/ext/robots-sim
The package holds a manifest, the  rs  client as wheels, and a skill. (In code the workbench keeps its short name, robots-sim, which is also the extension's name.) Four mechanisms make it safe to hand to an agent:
AWS Autoresearch Extensions page listing robots-sim with its description, cost model, per-project Cognito credentials and a link to the workbench web app

Figure 2. Installed once per deployment, the extension appears on the Extensions page.
  1. A user per project. When a project is created, Autoresearch creates a Cognito user  ar-<project>-<six hex digits>  in the workbench's user pool, in the group  automation , with its password in AWS Systems Manager Parameter Store. That group may cancel, retry or delete only what it created. The agent has no AWS rights on the workbench.
  1. A skill that teaches  rs . The skill tells the agent what it can do, what each call costs, how the candidate file works and how to read the score. It is installed in the researcher's skills folder at boot.
  1. Spend counted in the project budget. Every  rs  call that spends money returns an estimate and, when it finishes, a cost. The researcher polls  rs costs --json  and adds the total to the project's spend next to Bedrock tokens and instance time. When the budget is reached, Autoresearch disables the user, and every further call fails with a 401.
  1. A score the agent cannot write.  experiment.yaml  and  evaluate.sh  are listed as read-only in the project's  auto-research.json , which Autoresearch turns into deny rules for the agent. The agent edits only  candidate.yaml  and any policy code under  src/components/ .
Project header of so101-pickorange-mujoco showing best items_placed 1.7, spend of $468.21 out of $500 split into Claude, researcher, workers and extensions ($154.26), and the robots-sim extension running as the per-project user

Figure 3. The project page: workbench spend counted alongside Claude tokens and researcher time, and the per-project identity the agent runs as.
A project declares the extension it needs with  "extensions": ["robots-sim"]  in  auto-research.json . The create form then ticks and locks the extension, and refuses the project if it is not installed.

What the agent can change

The agent's whole lever is  candidate.yaml . It can change inference settings ( action_steps , the instruction), point at a different checkpoint, or add a  training:  block that names a recipe, a starting checkpoint ( initFrom ), a dataset or a mixture of datasets, and a step count.  evaluate.sh  then trains first, cached by the block's hash so the same block never trains twice, and scores the trained model. For deeper ideas it can write a policy as a component folder.
Researcher stream showing the agent writing a candidate.yaml with a training block that names a recipe, a starting checkpoint, a dataset mix and a step count

Figure 4. The agent's only lever is the candidate file. Here it writes a training block: start from a checkpoint, mix datasets, train a few thousand steps.
Two details make long jobs work inside an agent loop:
  • The baseline is scored once. Its episodes are cached by the hash of the experiment definition, so later experiments run only the candidate and pair it with them.
  • Resumable waits. A training can take hours, longer than an agent's shell limit.  evaluate.sh  returns exit code 76 when the training or evaluation is still running; running it again finds the same job, so nothing is repeated or paid twice. The extension raises Autoresearch's default 30-minute shell limit to 4 hours.
The final check stays with you. Before you trust the best candidate, confirm it on sealed seeds the search never saw:
rs experiment run . --sealed
The agent cannot run that command; the sealed secret stays with the project owner.

Two demos, one task

Both demos use LeIsaac's PickOrange: an SO-101 arm picks three oranges from a kitchen counter, puts them on a plate and returns to rest. The baseline in both is  smolvla_pickorange_15k , a 450M-parameter SmolVLA checkpoint trained on Isaac Sim data. The researcher is a Graviton  m8g.large  in local mode with no GPU worker; the simulation and training run in the workbench. The demos live in the workbench repository under  integrations/demos/ .

 so101-pickorange-mujoco 
 so101-pickorange-isaac-sim 
Question
Make a checkpoint trained in Isaac Sim work in a second simulator
Improve a checkpoint where it was trained
Episodes per evaluation
30
20
Estimated evaluation time
25–45 minutes per side
1–2 hours per side
Scripted expert, DART, DAgger
Yes
No (the expert reads true object poses, which only MuJoCo exposes)
Training data
The expert, the policy's own rollouts, LeIsaac's 60 demonstrations
LeIsaac's demonstrations, the policy's own successful rollouts
One skill serves both: it reads  engine:  from  experiment.yaml  and shows the agent the section for that simulator.
The metric is  items_placed , the mean number of oranges on the plate at the end of an episode, from 0 to 3, compared with the baseline episode by episode with an exact sign test. Success needs all three oranges, so the success rate can sit at zero while a policy improves; items placed shows the progress. On MuJoCo, an episode also ends when nothing has moved for 20 simulated seconds, so failing episodes cost seconds instead of minutes. Each episode keeps a rollout video, a trace and a verdict, so the agent can see how it failed, not just that it did.

What happened

We let the researcher work on the MuJoCo demo. Its starting point is hard: the published SmolVLA PickOrange checkpoint was trained only on Isaac Sim demonstrations and places 0 of 3 oranges in MuJoCo. The renderer and the contact physics are different enough that a policy that works in one simulator does nothing useful in the other.
Over 15 experiments and about two days, the agent raised the score from 0.0 to 1.7 oranges per episode (95% interval 1.33–2.07), with 7 of 30 episodes placing all three oranges.
Bar chart of items_placed for 14 experiments on PickOrange in MuJoCo, with kept experiments in green, discarded ones in red and a running-best line rising from 0 at the baseline to 0.7 after the first fine-tune, 1.033 after tuning the execution horizon, 1.267 at 15k steps and 1.7 at 20k steps; later experiments at 25k steps, lower learning rate and DART mixes score between 0.03 and 1.53

Figure 5. The agent's own progress chart, from its status report. Green experiments were kept, red ones discarded; the line is the running best.
The path there, in the agent's own reasoning:
  • Close the simulator gap with data first (0 → 0.7). It recorded 185 successful episodes with the workbench's scripted MuJoCo expert and fine-tuned the checkpoint on them.
  • Find the free knob (0.7 → 1.03). It swept how many of each 50-action chunk the policy executes before replanning (50, 25, 15, 10, 8), evaluation-only at about $0.40 each. 10 was the peak and 8 the first drop, which brackets the optimum.
  • Find the biggest lever (1.03 → 1.7). With that horizon it swept the training length: 10k, 15k and 20k steps rose steadily; 25k overfit (1.53). Halving the learning rate at 20k underfit (1.33). The agent called pure behaviour cloning "topped out" at this point.
  • Be honest about what failed. Image augmentation (0.80) and two attempts to add DART recovery data (0.03 and 1.17) were discarded. Its error analysis of the best run found that every failure is a timeout on the third orange, not a crash or a missed grasp, which points at on-policy DAgger data as the next step.
Experiments table for the MuJoCo project listing 15 experiments with their outcome (kept, discarded or crashed), items_placed, agent cost between $0.41 and $1.26, run time and completion time, from the 0.0 baseline to the 1.7 result at 20k steps

Figure 6. The ledger of all 15 experiments. The Cost column is the agent's own cost; simulation and training are counted in the extensions line of the project budget.
The wiki is where that reasoning lives. Each page ties a technique from the literature to the experiments that tested it, and to the exact  rs  commands to try next:
Wiki page titled DART / DAgger — Recovery Data for Behavior Cloning, citing Laskey et al. 2017 (arXiv 1703.09327) and Ross et al. 2011, explaining the covariate-shift problem, how the workbench's scripted expert exposes both modes, and an actionable recipe with rs commands

Figure 7. A wiki page the agent wrote: the problem, the two techniques from the literature, how the harness exposes them, and the next experiment as rs commands.
Over the two days the wiki grew to eleven linked pages. Its graph view shows how the agent connected them: the fine-tuning recipe and the execution horizon sit at the centre, linked to the literature on sim-to-sim transfer, data scaling and recovery data, and to the baseline measurement and error analysis that tested them.
Graph view of the project wiki with eleven linked concept pages: VLA sim-to-sim transfer, image augmentation, data scaling for imitation learning, SmolVLA architecture, MuJoCo fine-tune recipe and dataset inventory, execution horizon, DART/DAgger recovery data, training duration and learning rate, baseline measurement, error analysis of the best policy, and the research context

Figure 8. The wiki's graph: eleven pages the agent wrote and linked, from the research context to the error analysis of its best policy.

The budget did its job

The project stopped itself. The demo's read-only  experiment.yaml  caps workbench spend at $150, separately from the $500 project budget. When a DAgger recording pushed workbench spend to $154.26, the extension disabled the project's user, every further  rs  call was refused, and the agent wrote in its status report that no new experiment could be scored, that the loop should be stopped, and what to run first if a human raised the cap: the DAgger fine-tune, with its data already recorded.
The total was $468.21: $308.74 of Claude, $5.21 of researcher time and $154.26 in the workbench. Claude was the largest share, because each experiment includes reading papers, writing the wiki and analysing failures, not only waiting for a simulation.
The Isaac Sim demo tells a shorter story. In eight evaluations for $73.85, the agent found that a catalog checkpoint trained on Isaac Lab Mimic-augmented demonstrations raised the score from 1.6 to 2.1 with no training at all, and that fine-tuning it on the policy's own easy successes made it worse at every step count it tried.

Try it

You need both solutions deployed in the same account and Region, a G-instance quota, and Bedrock model access for the researcher.
  1. Build and install the extension, as shown above.
  1. Open Extensions in the Autoresearch web app and confirm  robots-sim  is listed.
  1. Create a project and upload  integrations/demos/so101-pickorange-mujoco  (start here: it is the fast loop) or the Isaac Sim folder. The extension is ticked and locked.
  1. Set an experiment timeout of at least 300 minutes (420 for Isaac Sim), a patience of 8 to 10 and a budget around $150, then start the project.
Read the first experiment's noise estimate before judging any later result: a difference smaller than the noise is not a result.

Limitations

  • The agent optimizes what you measure.  items_placed  in simulation is not success on a real robot. Treat the sealed result as a candidate for further testing, not a finished policy.
  • Isaac Sim evaluations are slow. Hours per experiment means a patient budget and few iterations; use MuJoCo for the search and Isaac Sim as the reference.
  • These are samples. Both repositories are prototypes to learn from and adapt. Review each security model before using them with sensitive code or data.

Clean up

Delete each demo project in the Autoresearch web app; this terminates its researcher and deletes its workbench user. Then remove the extension stack ( AutoResearchExtension-robots-sim ) and, if you are done, the workbench stacks ( RobotsSimTraining ,  RobotsSimFleet ,  RobotsSimPlatform ). Data buckets are retained by default; empty and delete them yourself.

Next steps

The extension pattern is not specific to robots. Any service that can score a candidate, report its cost and accept a per-project user can become a domain for the AI Researcher. Try the PickOrange demos, then point the researcher at a policy of your own, and tell us how it went in  the workbench issues  or  the Autoresearch issues .

Series: autoresearch (2 articles)

  1. 2
    Let an AI researcher improve a robot policy: the Robot Policy Workbench as an AWS Autoresearch extension This article
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article