How robocurve/inspect-robots works
Inspect Robots is a robotics evaluation framework: users define a task and scenes, select a policy and real or simulated embodiment, then run trials whose actions pass through safety checks and whose results are scored and logged. The CLI also supports run setup, log inspection, HTML reports, summaries, live Rerun visualization, agent and CaP-X policies, and voice feedback. Plugin internals not sampled are represented by their exact package directories; relationships are included only where the README or source index supports them.
Main entry points: cli.py CLI · rollout.py Rollout loop · eval.py Evaluation · action_manager.py Action manager
Components 25
Benchmark and configuration
- CLI
src/inspect_robots/cli.py - Task
src/inspect_robots/task.py - Scene dataset
src/inspect_robots/scene.py - Action spaces
src/inspect_robots/spaces.py
Evaluation runtime
- Evaluation
src/inspect_robots/eval.py - Rollout loop
src/inspect_robots/rollout.py - Policy interface
src/inspect_robots/policy.py - Policy adapters
src/inspect_robots/policy_adapter.py - Safety guard
src/inspect_robots/guard.py - Action manager
src/inspect_robots/action_manager.py
Policies and integrations
- LLM agent
plugins/inspect-robots-agent/src/inspect_robots_agent/policy.py - Agent providers
plugins/inspect-robots-agent/src/inspect_robots_agent/_llm.py - CaP-X policy
plugins/inspect-robots-capx/src/inspect_robots_capx/policy.py - Motion helpers
plugins/inspect-robots-capx/src/inspect_robots_capx/_motion.py - Voice feedback
plugins/inspect-robots-voice/src/inspect_robots_voice/_input.py - Remote policy
plugins/inspect-robots-xpolicylab/src/inspect_robots_xpolicylab/policy.py
Results and visualization
- Graders and scorers
src/inspect_robots/grader.py - Rubrics
src/inspect_robots/rubric.py - Evaluation log
src/inspect_robots/log.py - JSON log sink
src/inspect_robots/logging/json_log.py - Rerun viewer
src/inspect_robots/logging/rerun_sink.py
Robot and simulator bodies
- ROS embodiment
plugins/inspect-robots-ros/src/inspect_robots_ros/embodiment.py - ROS client
plugins/inspect-robots-ros/src/inspect_robots_ros/_client.py - Isaac Sim embodiment
plugins/inspect-robots-isaacsim/src/inspect_robots_isaacsim/embodiment.py
Other components
- Operator
Connections 27
- Operator → CLI: runs command
- CLI → Task: selects task
src/inspect_robots/cli.py - CLI → Evaluation: starts evaluation
src/inspect_robots/cli.py - Task → Scene dataset: provides scenes
- Evaluation → Rollout loop: runs trials
src/inspect_robots/rollout.py - Rollout loop → Policy interface: requests actions
src/inspect_robots/rollout.py - Rollout loop → Action manager: executes chunks
src/inspect_robots/rollout.py - Rollout loop → Safety guard: checks actions
src/inspect_robots/rollout.py - Rollout loop → Scene dataset: uses trial scene
src/inspect_robots/rollout.py - Rollout loop → Action spaces: checks dimensions
src/inspect_robots/rollout.py - Policy interface → Action spaces: declares compatibility
src/inspect_robots/policy.py - Evaluation → Graders and scorers: scores trials
- Graders and scorers → Rubrics: uses criteria
- Evaluation → Evaluation log: builds results
- Evaluation log → JSON log sink: serializes records
src/inspect_robots/logging/json_log.py - Rollout loop → Rerun viewer: streams telemetry
src/inspect_robots/rollout.py - CLI → Rerun viewer: configures viewer
src/inspect_robots/cli.py - CLI → LLM agent: selects policy
- LLM agent → Agent providers: uses provider client
plugins/inspect-robots-agent/src/inspect_robots_agent/policy.py - CLI → CaP-X policy: selects policy
- CaP-X policy → Motion helpers: uses motion helpers
plugins/inspect-robots-capx/src/inspect_robots_capx/policy.py - CLI → Voice feedback: enables feedback
- CLI → Remote policy: selects policy
- Action manager → ROS embodiment: dispatches actions
- ROS embodiment → ROS client: uses client
plugins/inspect-robots-ros/src/inspect_robots_ros/embodiment.py - Action manager → Isaac Sim embodiment: dispatches actions
- CLI → Isaac Sim embodiment: selects simulator