Repository navigation
feat(cookbooks): add LIBERO robotics cookbook - #726
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 18cf59ae0b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 743408d. Configure here.
…6.22 Co-authored-by: Lukass Kellijs <[email protected]>
0b5cd7b to
06982bb
Compare
…contract comments Co-authored-by: Lukass Kellijs <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6483218aa2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ool text Co-authored-by: Lukass Kellijs <[email protected]>

Why
LIBERO can't run as a
hud inittemplate, andenvironments/is meant for small examples that teach the SDK. This moves the LIBERO example into a cookbook. The SDK docs already mention a LIBERO example, and this is that one.What changed
cookbooks/robot-libero/replacesenvironments/robot-libero. The existing Cookbooks CI job picks it up throughtests/e2e/test_cookbooks.py. The simulator-only modules are skipped there, as in other cookbooks with heavy dependencies.hud[robot]==0.6.22. The git-main install and the staged-wheel steps in the Dockerfile are gone.DirectControl._renderoverride, which read private fields, is removed. The grasp hint now goes inDirectControl(notes=...)and explains how to read the finger joints the SDK already prints after a grip call.tests/.test_control.pystays. One real image build plus a single-move rollout (test_image.py, markede2eanddocker) replacestest_bridge.pyandtest_robot_libero.py.LIBERO_CONTROL=absolute(the default) servesee_abs.json, which drives themove_totool for LLM agents.LIBERO_CONTROL=deltaservesee_del.json, the action space LIBERO-trained policies like pi0.5 expect.docs/v6/cookbooks/robot-benchmark.mdxnow points at the cookbook and usesenv="robot-libero". It also setsLIBERO_CONTROL=deltafor pi0.5.Verification
test_control.pypasses againsthud0.6.22 from PyPI.hud0.6.22.test_image.pystarted a container and played onemove_toon the real LIBERO simulator, which graded cleanly.Note
Medium Risk
Swaps the featured robot example for a heavier LIBERO Docker stack and deletes robot-gripper, which may break existing task references; the image patches upstream LIBERO and uses torch.load with weights_only=False for init states.
Overview
Adds
cookbooks/robot-libero, a deployable LIBERO Franka sim exposed as therobotcapability (CPU OSMesa rendering).LIBERO_CONTROLswitches contracts: defaultabsoluteusesee_abs.jsonplus MCPmove_tofor tool agents;deltausesee_del.jsonfor policies like pi0.5.Dockerfile.hudpinshud[robot]==0.6.22, clones LIBERO with small upstream fixes, and servesenv:envon port 8765. Five suite templates andtasks.jsondefine the featured taskset; tests include a fake-armtest_control.pyand optional Dockertest_image.py.Removes the entire
environments/featured/robot-gripperNewton/MCP tabletop stack (sim, scenes, wheels, tests).Updates
docs/v6/cookbooks/robot-benchmark.mdxto build from the cookbook, useenv="robot-libero", and setLIBERO_CONTROL=deltafor VLA rollouts.Reviewed by Cursor Bugbot for commit 499d5dd. Bugbot is set up for automated code reviews on this repo. Configure here.