rua package re-exports the eval interface from rua.interface. Every type is a frozen
dataclass or a runtime-checkable Protocol. The guide is The eval interface.
rua.__version__ is "0.2.0". Importing rua, or any of its submodules, also registers
RobotClient with hud.clients.register_client.
Data types
Tool
One call a robot accepts, described the way LLM tool APIs expect.
Action
A tool call chosen by the agent.
Observation
What the robot reports back.
Step
Trajectory
A finished episode.
Protocols
Robot
The robot in a task, as the agent under evaluation sees it.
Agent
The agent under evaluation.
ScriptedAgent
actions in order, then returns None.
run
robot.tools() and robot.reset(), then alternates agent.act and robot.step. It
ends when an observation has done=True, the agent returns None, or max_steps steps have run (there is no cap by default). Raises
ValueError when the agent names a tool the robot did not offer.