lerobot-humanoid-runtime
AGENTS.md11 starsChanged 3 months agoApache-2.0View on GitHub
This repository is the execution stack in the LeRobot humanoid project: This repo is where software decisions become physical motion, so safety and compatibility are critical.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
run MuJoCo simulation controller
- Distinctive: line 25
run real robot controller over CAN + IMU
- Distinctive: line 32
Keep safety checks enabled in controllers.
- Very specific: line 33
Keep staged startup flow (state_only -> checks -> control).
- Distinctive: line 34
Do not bypass controller public APIs for direct unsafe writes.
- Distinctive: line 51
Must remain mechanically consistent with hardware repo conventions.
- Distinctive: line 57
Import/syntax checks pass.
- Distinctive: line 60
If data tooling changed, run a short acquisition smoke path.
- Very specific: line 61
Update docs when behavior/CLI changes (README.md, CALIBRATION.md, this file).
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENT.md
Remote Reference
- Remote repository: https://github.com/Virgileboat/lerobot-humanoid-runtime
- Repository main branch: https://github.com/Virgileboat/lerobot-humanoid-runtime/tree/main
- Current tracked upstream branch:
origin/robot_pi_bundle_lerobot_submodule_test - Current working branch URL: https://github.com/Virgileboat/lerobot-humanoid-runtime/tree/robot_pi_bundle_lerobot_submodule_test
Full Project Context
This repository is the execution stack in the LeRobot humanoid project:
lerobot-humanoid-design: design assumptions and feasibilitylerobot-humanoid-hardware: build/BOM/wiring/commissioning procedureslerobot-humanoid-model: shared model assets consumed by runtimelerobot-humanoid-runtime: sim + real control, calibration, deployment (this repo)lerobot-humanoid-identification: replay + parameter tuning from collected logs
This repo is where software decisions become physical motion, so safety and compatibility are critical.
Mission Of This Repo
- run MuJoCo simulation controller
- run real robot controller over CAN + IMU
- execute policy inference
- provide staged deployment and data acquisition flows
- integrate with LeRobot APIs
Safety-Critical Rules
- Keep safety checks enabled in controllers.
- Keep staged startup flow (
state_only-> checks ->control). - Do not bypass controller public APIs for direct unsafe writes.
- Preserve E-stop and limit-protection behavior.
- Real-hardware changes require mock/sim validation first.
Critical Paths
robot/bipedal_robot.py: real controller and safety behaviorrobot/sim_robot.py: simulation control pathcontrol/rl_agent.py: policy runnerdeploy/run_real_policy_sequential.py: staged real deploy sequenceimu/IMU_integration.py: IMU backends and integrationtools/data_acquisition.py: dataset generation for identification workflowslerobot_humanoid_lerobot_integration/: LeRobot-facing adapter layer
Cross-Repo Interfaces
- Consumes model assets from
robot/lerobot-humanoid-model. - Must remain mechanically consistent with hardware repo conventions.
- Provides logs/datasets consumed by identification workflows.
- Uses design/model assumptions that should stay aligned after updates.
Validation Before Merge
- Import/syntax checks pass.
- Mock staged deploy path runs.
- Simulation smoke path runs.
- If data tooling changed, run a short acquisition smoke path.
- Update docs when behavior/CLI changes (
README.md,CALIBRATION.md, this file).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

