agentleFS
Hugging FaceKnown publisherhuggingface/lerobot-humanoid-runtime/AGENTS.md

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
  1. Distinctive:

    run MuJoCo simulation controller

    line 24
  2. Distinctive:

    run real robot controller over CAN + IMU

    line 25
  3. Distinctive:

    Keep safety checks enabled in controllers.

    line 32
  4. Very specific:

    Keep staged startup flow (state_only -> checks -> control).

    line 33
  5. Distinctive:

    Do not bypass controller public APIs for direct unsafe writes.

    line 34
  6. Distinctive:

    Must remain mechanically consistent with hardware repo conventions.

    line 51
  7. Distinctive:

    Import/syntax checks pass.

    line 57
  8. Distinctive:

    If data tooling changed, run a short acquisition smoke path.

    line 60
  9. Very specific:

    Update docs when behavior/CLI changes (README.md, CALIBRATION.md, this file).

    line 61

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENT.md

Remote Reference

Full Project Context

This repository is the execution stack in the LeRobot humanoid project:

  1. lerobot-humanoid-design: design assumptions and feasibility
  2. lerobot-humanoid-hardware: build/BOM/wiring/commissioning procedures
  3. lerobot-humanoid-model: shared model assets consumed by runtime
  4. lerobot-humanoid-runtime: sim + real control, calibration, deployment (this repo)
  5. 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

  1. Keep safety checks enabled in controllers.
  2. Keep staged startup flow (state_only -> checks -> control).
  3. Do not bypass controller public APIs for direct unsafe writes.
  4. Preserve E-stop and limit-protection behavior.
  5. Real-hardware changes require mock/sim validation first.

Critical Paths

  • robot/bipedal_robot.py: real controller and safety behavior
  • robot/sim_robot.py: simulation control path
  • control/rl_agent.py: policy runner
  • deploy/run_real_policy_sequential.py: staged real deploy sequence
  • imu/IMU_integration.py: IMU backends and integration
  • tools/data_acquisition.py: dataset generation for identification workflows
  • lerobot_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

  1. Import/syntax checks pass.
  2. Mock staged deploy path runs.
  3. Simulation smoke path runs.
  4. If data tooling changed, run a short acquisition smoke path.
  5. Update docs when behavior/CLI changes (README.md, CALIBRATION.md, this file).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.