> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rua.hud.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# FAQ

> Common questions about installing and running rua: versions, Python support, the HUD API key, startup warnings, and running agents.

> [accordion] Can I install an unreleased commit?
>
> Yes: `pip install "rua @ git+https://github.com/hud-evals/rua.git@<sha>"`. Releases come from PyPI
> (`pip install rua`). The `rua` 0.0.1 on PyPI is an earlier release that contains only the
> [eval interface](https://docs.rua.hud.ai/guides/eval-interface.md); rua 0.2.0 and later depend on `hud>=0.6.24`.

> [accordion] Which Python versions are supported?
>
> Python 3.11 and 3.12 (`requires-python = ">=3.11, <3.13"`).

> [accordion] Do I need a HUD API key?
>
> Not to run anything. Rollouts, bridges, agents and direct control all work locally without one. Traces are
> uploaded only when HUD reporting is on: set `HUD_API_KEY` and leave `HUD_TELEMETRY_ENABLED` unset or true.
> See [Recording traces](https://docs.rua.hud.ai/guides/recording-traces.md).

> [accordion] Do I need a GPU?
>
> rua itself doesn't. Whether you need one depends on your simulator; the
> [Quickstart](https://docs.rua.hud.ai/start/quickstart.md) runs on a CPU.

> [accordion] Can I use a vision-language-action model (VLA)?
>
> rua does not run robot policies. It serves a robot to a language model as tools, through
> [direct control](https://docs.rua.hud.ai/guides/direct-control.md) or [code control](https://docs.rua.hud.ai/guides/code-control.md). A VLA reached through its
> provider's SDK is a tool the language model can call. rua does not wrap a provider yet, so such a tool is
> code you write in the environment.

> [accordion] What perception services does Code Control have, and what do they need?
>
> `segment`, `track` and learned depth call HTTP services you run. rua ships no service and no model, and
> turns each on only when its URL is set (`RUA_CC_SEGMENT_URL`, `RUA_CC_TRACK_URL`, `RUA_CC_DEPTH_URL`).
> Nothing extra is installed for them. The `rua[perception]` extra is reserved and installs nothing today.

> [accordion] What is the RuntimeWarning from runpy when a sim starts?
>
> ```text theme={"dark"}
> RuntimeWarning: 'rua.sim.bridge' found in sys.modules after import of package 'rua.sim', but prior to execution of 'rua.sim.bridge'; this may result in unpredictable behaviour
> ```
>
> The sim programs run as `python -m rua.sim.bridge` or `python -m rua.sim.gym`, and
> `rua.sim` already imports those modules. The warning is harmless.

> [accordion] Can I run create\_direct\_agent with the hud eval CLI?
>
> No. `hud eval` builds only its built-in agent types, so it does not use rua's system prompt. Run the agent
> from Python with `hud.eval.run.rollout` or `Taskset.run`, as in the
> [quickstart](https://docs.rua.hud.ai/start/quickstart.md#let-an-llm-drive-it).

> [accordion] Where does contract.json come from?
>
> `attach_gym` derives one the first time and write it to `contract.json` in the working directory,
> with generic labels such as `act_0`. Edit the names to relabel plots; an existing file always wins. Pass an
> absolute path as `contract=` to keep it beside your code, or `contract=None` to keep it in memory. See
> [Contract](https://docs.rua.hud.ai/reference/contract.md).

> [accordion] Why does my vectorized taskset run several sims?
>
> Each rollout of a plain `LocalRuntime` gets its own env server, and so its own sim. Wrap the runtime in
> `Shared(..., width=N)` so up to `N` rollouts share one placement and claim slots of one sim, as in
> [Serving a gym env](https://docs.rua.hud.ai/guides/serving-a-gym-env.md#vectorized-envs).

> [accordion] Can a sim run on another machine?
>
> Yes: run a [sim program](https://docs.rua.hud.ai/reference/cli.md) there and attach with `RobotEndpoint.remote(host, port)`. The bridge
> publishes its robot WebSocket as `127.0.0.1`, so the env process must reach that address, for example through an SSH
> tunnel or by running on the same host. See [Writing a bridge](https://docs.rua.hud.ai/guides/writing-a-bridge.md#running-it).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.