# rua - [Introduction](https://docs.rua.hud.ai/start/index.md): Introduction to rua: serve a Gym environment as a HUD environment, let an LLM drive it with Direct Control, and record every tick onto a replayable trace. - [Quickstart](https://docs.rua.hud.ai/start/quickstart.md): Install rua, serve a tiny arm as a HUD environment with direct control, and play two moves on it to a graded reward. - [Concepts](https://docs.rua.hud.ai/start/concepts.md): The pieces of a rua robot rollout: the sim process and its bridge, the endpoint, the contract, slots and tokens, the rua/0 wire, the control interfaces, and telemetry. - [Direct Control](https://docs.rua.hud.ai/interfaces/direct-control.md): Let an agent move a robot with tool calls: it names where each part goes and when, then looks at the result. - [Code Control](https://docs.rua.hud.ai/interfaces/code-as-policy.md): Let an agent control a robot by writing Python: one kernel per episode, and the same checked moves as direct control. - [Hierarchical Control](https://docs.rua.hud.ai/interfaces/hierarchical-control.md): Coming soon: the agent steers a trained robot policy, through its provider's SDK, instead of moving the arm itself. - [Embodiment gallery](https://docs.rua.hud.ai/catalog/index.md): The nine kinds of robot rua serves through one tool: what each one is, and where to find its spec and example calls. - [Single arm](https://docs.rua.hud.ai/catalog/single-arm.md): One arm with a gripper: the base case, in hand pose or joints. - [Bimanual](https://docs.rua.hud.ai/catalog/bimanual.md): Two arms at one table, moved together on one clock. - [Dexterous hand on an arm](https://docs.rua.hud.ai/catalog/dexterous-hand.md): A Franka Panda with a LEAP hand: the hand as one grip number, or all 16 finger joints. - [Complex upper body](https://docs.rua.hud.ai/catalog/upper-body.md): A torso that turns, a head that looks, two arms and two grippers, all on one clock. - [Mobile base](https://docs.rua.hud.ai/catalog/mobile-base.md): A wheeled base driven by velocity: a differential drive or a car. - [Legged robot](https://docs.rua.hud.ai/catalog/legged.md): A Unitree Go2: walk by velocity, or drive every leg joint. - [Drone](https://docs.rua.hud.ai/catalog/drone.md): A Crazyflie flown by velocity, in the heading frame. - [Mobile manipulator](https://docs.rua.hud.ai/catalog/mobile-manipulator.md): A wheeled base, a torso lift, an arm and a gripper, moved together. - [Humanoid](https://docs.rua.hud.ai/catalog/humanoid.md): A Unitree G1: walk to the table and reach, or drive every joint. - [Serving a Gym Env](https://docs.rua.hud.ai/guides/serving-a-gym-env.md): Serve any gym-style simulator as a HUD robot environment with attach_gym: targets, build and episodic args, contract files, grading, Direct Control, and vectorized envs. - [Writing a Bridge](https://docs.rua.hud.ai/guides/writing-a-bridge.md): Serve a custom simulator with a RobotBridge subclass: the three hooks, the contract, grading, and running it spawned, remote, or in-process with RobotEndpoint. - [Direct Control](https://docs.rua.hud.ai/guides/direct-control.md): Let an LLM drive a robot: attach DirectControl to an endpoint so the agent gets the `move` tool, then point a tool-calling agent at it. - [Code Control](https://docs.rua.hud.ai/guides/code-control.md): Let an LLM control a robot by writing Python: attach CodeControl to an endpoint so the agent gets the python tool, then point a tool-calling agent at it. - [Recording Traces](https://docs.rua.hud.ai/guides/recording-traces.md): Record robot runs onto HUD traces: what DirectControl and CodeControl stream automatically, and TraceRecorder for a custom producer. - [The Eval Interface](https://docs.rua.hud.ai/guides/eval-interface.md): The minimal eval interface tasks and agents talk through: implement a Robot, write an Agent, and run an episode. - [Eval Interface](https://docs.rua.hud.ai/reference/interface.md): Reference for the eval interface re-exported from rua: Tool, Action, Observation, Robot, Agent, Step, Trajectory, ScriptedAgent and run. - [Sim](https://docs.rua.hud.ai/reference/sim.md): Reference for rua.sim: RobotBridge, GymBridge, RobotEndpoint and attach_gym, with every hook, attribute, control call and default. - [Direct Control](https://docs.rua.hud.ai/reference/direct-control.md): Reference for Direct Control standard v0.2: the move tool, spaces, replies, vetoes, and settings. - [Code Control](https://docs.rua.hud.ai/reference/code-control.md): Reference for rua.code: CodeControl, its python and view_image tools, the robot and show names in the kernel, its settings, the episode result, and create_code_agent. - [Contract](https://docs.rua.hud.ai/reference/contract.md): Reference for the robot contract: the env's self-description published in the robot capability, with every field rua reads and which component reads it. - [Capabilities](https://docs.rua.hud.ai/reference/capabilities.md): Reference for rua.capabilities and the wire: robot_capability, RobotClient, the rua/0 frame sequence, the msgpack codec, and the sim's JSON-RPC control channel. - [Telemetry](https://docs.rua.hud.ai/reference/telemetry.md): Reference for rua.telemetry: TraceRecorder, the video streamer and encoder, and the hud.robot.step.v1 observation, inference and video step schemas. - [CLI](https://docs.rua.hud.ai/reference/cli.md): Reference for rua's command-line entry points: the sim programs python -m rua.sim.bridge and python -m rua.sim.gym, and their port announcement. - [FAQ](https://docs.rua.hud.ai/more/faq.md): Common questions about installing and running rua: versions, Python support, the HUD API key, startup warnings, and running agents. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.