The minimal eval interface tasks and agents talk through: implement a Robot, write an Agent, and run an episode.
rua re-exports a small, synchronous interface for evaluating robot-use agents. A task implements Robot,
the agent under evaluation implements Agent, and run plays one episode between them. It uses none of the HUD environment, wire or contract machinery on
the other pages.
from rua import Action, Agent, Observation, Robot, ScriptedAgent, Step, Tool, Trajectory, run
Implement a robot
A robot offers tools (described the way LLM tool APIs expect, with a JSON Schema), resets to a first
observation, and answers each action with the next one:
from rua import Action, Observation, Toolclass Slider: """A one-axis robot that must reach x = 3.""" def tools(self): schema = {"type": "object", "properties": {"dx": {"type": "number"}}} return [Tool("nudge", "Move along x", schema)] def reset(self): self.x = 0.0 return Observation(text="x=0.0") def step(self, action: Action): self.x += action.args["dx"] reached = self.x == 3.0 return Observation(text=f"x={self.x}", done=reached, success=reached or None)
An Observation carries text, camera images (camera name to encoded image bytes), done, and success,
which stays None while the task is undecided.
Run an agent
An agent is any object with act(observation, tools) that returns an Action or None to stop, including one
that calls an LLM. ScriptedAgent replays a fixed list:
An episode ends when the robot reports done, the agent returns None, or max_steps is reached (there
is no cap by default). run raises ValueError if the agent calls a tool the robot does not offer:
A Trajectory holds the start observation and a tuple of Step(action, observation). trajectory.last is
the final observation, and trajectory.success is true only when it says success=True.
import rua also imports hud and registers rua’s robot client with it, so this interface needs the full
rua install and Python 3.11 or newer, even though it doesn’t use HUD. The rua 0.0.1 release on PyPI ships
this interface alone.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"rua","colors":{"primary":"#bb086f","light":"#ff45c9","dark":"#1a1511"},"logo":{"light":"https://mintcdn.com/rua-docs-mirror/LFSTnYdqqaVRgoqO/logo/rua_logo.svg?fit=max\u0026auto=format\u0026n=LFSTnYdqqaVRgoqO\u0026q=85\u0026s=138d26640b23fa4e7b3e4e9c45287f7d","dark":"https://mintcdn.com/rua-docs-mirror/LFSTnYdqqaVRgoqO/logo/rua_logo_dark.svg?fit=max\u0026auto=format\u0026n=LFSTnYdqqaVRgoqO\u0026q=85\u0026s=7943b4ad0b3d1ada77aa1e153451c3ea","href":"https://rua.hud.ai"},"favicon":"https://mintcdn.com/rua-docs-mirror/LFSTnYdqqaVRgoqO/favicon.svg?fit=max\u0026auto=format\u0026n=LFSTnYdqqaVRgoqO\u0026q=85\u0026s=d0924c81e06ecce5805bc6e77757498a","appearance":{"default":"light"},"background":{"color":{"light":"#fefcf9","dark":"#120c13"}},"navbar":{"links":[{"icon":"discord","href":"https://discord.gg/wkjtmHYYjm","label":"Discord"},{"icon":"x-twitter","href":"https://x.com/hud_evals","label":"X"}],"primary":{"type":"button","label":"rua.hud.ai","href":"https://rua.hud.ai"}},"footer":{"socials":{"discord":"https://discord.gg/wkjtmHYYjm","x":"https://x.com/hud_evals"}},"seo":{"metatags":{"charset":"UTF-8","viewport":"width=device-width, initial-scale=1","robots":"index, follow","description":"The rua SDK: robot agents, simulators and telemetry on the HUD platform.","og:title":"rua docs - robot agents on HUD","og:description":"Robot agents, simulators and telemetry on the HUD platform.","og:site_name":"rua","twitter:site":"@hud_evals","twitter:title":"rua docs","twitter:description":"Robot agents, simulators and telemetry on the HUD platform."}},"fonts":{"family":"Geist"},"icons":{"library":"fontawesome"},"styling":{"codeblocks":"dark","latex":false},"contextual":{"options":["copy","claude","chatgpt","perplexity"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rua-docs-mirror","hasAudioNarration":false,"actualSubdomain":"rua-docs-mirror","customDomains":["docs.rua.hud.ai"],"gitSource":{"type":"github","owner":"hud-evals","repo":"rua-docs-mirror","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b11add2f0ce55b86276599c"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6b126995730128d49042afb8","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"SDK","count":31},{"language":"default","tag":"Embodiment gallery","count":10},{"language":"default","tag":"Reference","count":8},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Interfaces","count":3},{"language":"default","tag":"Start here","count":3},{"language":"default","tag":"More","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":"@import url(\"https://cdn.jsdelivr.net/npm/@fontsource/apfel-grotezk@5.2.5/index.css\");html:not(.dark){--tw-prose-body: #2b241e;--tw-prose-headings: #1a1511;--tw-prose-bold: #1a1511;--tw-prose-links: #1a1511;--tw-prose-quotes: #5a493d;--tw-prose-counters: #5a493d;--tw-prose-bullets: #d1c9bc;--tw-prose-hr: #e4ddd1;--tw-prose-th-borders: #e4ddd1;--tw-prose-td-borders: #eee9df}.dark{--tw-prose-body: #d4d0d5;--tw-prose-headings: #fafafa;--tw-prose-links: #e4e4e7;--tw-prose-bold: #f4f4f5;--tw-prose-counters: #a89ea9;--tw-prose-bullets: #a89ea9;--tw-prose-quotes: #d4d0d5;--tw-prose-code: #e4e4e7;--tw-prose-th-borders: #3a303c;--tw-prose-td-borders: #261d28}.nav-tag-pill-text{color:#5a493d!important;background-color:rgba(90, 73, 61, 0.12)!important;font-weight:500!important}.dark .nav-tag-pill-text{color:#a89ea9!important;background-color:rgba(168, 158, 169, 0.16)!important}body{font-family:\"Geist\", ui-sans-serif, system-ui, sans-serif}#page-title,#content h1{font-family:\"Lora\", Georgia, ui-serif, serif!important;letter-spacing:-0.015em}#content h2,#content h3,#content h4{font-family:\"Apfel Grotezk\", \"Geist\", ui-sans-serif, system-ui, sans-serif!important;letter-spacing:-0.01em}::selection{background-color:rgba(187, 8, 111, 0.22);color:#1a1511}.dark ::selection{background-color:rgba(255, 69, 201, 0.3);color:#fafafa}.navbar-link{font-size:0!important}.navbar-link a{gap:0!important}.navbar-link svg,.navbar-link i{font-size:1rem!important}body::after{content:\"\";position:fixed;inset:0;z-index:9999;pointer-events:none;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\");background-size:120px 120px;mix-blend-mode:overlay;opacity:0.045}.dark body::after{opacity:0.07}#page-title{font-weight:600;font-size:2.6rem;line-height:1.08}.eyebrow{display:none!important}#content :not(pre)>code{background-color:#f4f0e8;border:1px solid #e4ddd1;border-radius:5px;padding:0.12em 0.36em;font-weight:500}.dark #content :not(pre)>code{background-color:#261d28;border-color:rgba(255, 255, 255, 0.1)}#content blockquote{border-left:2px solid #bb086f;padding-left:1rem}#content hr{border-color:#e4ddd1}#content table{border:1px solid #e4ddd1;border-radius:8px;border-collapse:separate;border-spacing:0;overflow:hidden}#content th,#content td{border-bottom:1px solid #eee9df;padding:0.625rem 1rem}#content tbody tr:last-child td{border-bottom:none}#content th{background-color:rgba(26, 21, 17, 0.03);border-bottom:1px solid #e4ddd1;font-weight:600}.dark #content table{border-color:rgba(255, 255, 255, 0.1)}.dark #content th,.dark #content td{border-bottom-color:rgba(255, 255, 255, 0.06)}.dark #content th{background-color:rgba(255, 255, 255, 0.04);border-bottom-color:rgba(255, 255, 255, 0.12)}.card{background:linear-gradient(180deg, #fffefc 0%, #fffefc 30%, #fcf9f4 72%, #faf7f1 100%)!important;border:1px solid #e4ddd1!important;border-radius:12px!important;box-shadow:0 1px 2px rgba(26, 21, 17, 0.04), 0 8px 24px rgba(26, 21, 17, 0.03)!important;transition:border-color 150ms ease}.dark .card{background:#1b141c!important;border-color:rgba(255, 255, 255, 0.1)!important}.code-block,.code-group,.accordion{border:1px solid #e4ddd1!important;border-radius:12px!important;box-shadow:none!important}.dark .code-block,.dark .code-group,.dark .accordion{border-color:rgba(255, 255, 255, 0.1)!important}.callout{border-radius:12px!important}@media (min-width: 1024px){#content-area,#content-container{max-width:100%!important}#content{max-width:76rem!important;margin-inline:auto}}#content .mermaid,#content .mermaid .nodeLabel,#content .mermaid .edgeLabel,#content .mermaid .cluster-label,#content .mermaid span,#content .mermaid p,#content .mermaid div,#content .mermaid text{font-family:\"trebuchet ms\", verdana, arial, sans-serif!important}#content .mermaid .edgeLabel,#content .mermaid .edgeLabel p,#content .mermaid .edgeLabel span,#content .mermaid .edgeLabel foreignObject div{background:#fefcf9!important;background-color:#fefcf9!important}#content .mermaid .edgeLabel rect{fill:#fefcf9!important}.dark #content .mermaid .edgeLabel,.dark #content .mermaid .edgeLabel p,.dark #content .mermaid .edgeLabel span,.dark #content .mermaid .edgeLabel foreignObject div{background:#120c13!important;background-color:#120c13!important}.dark #content .mermaid .edgeLabel rect{fill:#120c13!important}#content .mermaid .cluster-label,#content .mermaid .cluster-label p,#content .mermaid .cluster-label div{text-align:center!important;width:100%!important}.emb-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:1.25rem;margin:2rem 0 2.5rem}@media (max-width: 1100px){.emb-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (max-width: 640px){.emb-grid{grid-template-columns:minmax(0, 1fr)}}#content a.emb-card{--accent: #bb086f;--surface: #fffdf9;--hairline: #e4ddd1;display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"tile title\"\n \"tile class\"\n \"text text\"\n \"go go\";column-gap:1rem;row-gap:0.15rem;align-items:center;padding:1.4rem;background:var(--surface);border:1px solid var(--hairline);border-radius:18px;text-decoration:none;border-bottom:1px solid var(--hairline);color:inherit;transition:transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease}.dark #content a.emb-card{--surface: #1b121c;--hairline: rgba(255, 255, 255, 0.1)}#content a.emb-card:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 14px 32px -18px var(--accent)}.emb-tile{grid-area:tile;display:grid;place-items:center;width:64px;height:64px;border-radius:16px;background:color-mix(in srgb, var(--accent) 9%, transparent);border:1px solid color-mix(in srgb, var(--accent) 22%, transparent)}.emb-icon{width:44px;height:44px;margin:0!important;grid-area:1 / 1}.dark .emb-light,html:not(.dark) .emb-dark{display:none!important}#content a.emb-card .emb-title{grid-area:title;align-self:end;font-family:\"Apfel Grotezk\", \"Geist\", ui-sans-serif, system-ui, sans-serif;font-size:1.1rem;font-weight:600;letter-spacing:-0.01em;line-height:1.2;color:#1a1511}.dark #content a.emb-card .emb-title{color:#fafafa}#content a.emb-card .emb-class{font-weight:400;grid-area:class;align-self:start;font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:0.72rem;color:var(--accent);letter-spacing:0.01em}#content a.emb-card .emb-text{font-weight:400;grid-area:text;margin-top:1rem;font-size:0.93rem;line-height:1.5;color:#5a493d}.dark #content a.emb-card .emb-text{color:#a89ea9}#content a.emb-card .emb-go{grid-area:go;margin-top:1.1rem;font-size:0.8rem;font-weight:500;color:var(--accent)}.emb-go::after{content:\" \\2192\";display:inline-block;transition:transform 0.18s ease}#content a.emb-card:hover .emb-go::after{transform:translateX(3px)}#content a.emb-single-arm{--accent: #bb086f}#content a.emb-bimanual{--accent: #b84c51}#content a.emb-dexterous-hand{--accent: #ad5d00}#content a.emb-upper-body{--accent: #9856a7}#content a.emb-mobile-base{--accent: #0080b8}#content a.emb-legged{--accent: #008a9b}#content a.emb-drone{--accent: #008e70}#content a.emb-mobile-manipulator{--accent: #428731}#content a.emb-humanoid{--accent: #6668c4}.dark #content a.emb-single-arm{--accent: #ff45c9}.dark #content a.emb-bimanual{--accent: #ef7e80}.dark #content a.emb-dexterous-hand{--accent: #e28e3a}.dark #content a.emb-upper-body{--accent: #cb86db}.dark #content a.emb-mobile-base{--accent: #21b3ed}.dark #content a.emb-legged{--accent: #00bdce}.dark #content a.emb-drone{--accent: #00c0a0}.dark #content a.emb-mobile-manipulator{--accent: #72ba63}.dark #content a.emb-humanoid{--accent: #9499fa}"}]}
{"page":{"pagePath":"guides/eval-interface","slug":"/guides/eval-interface","pageMetadata":{"title":"The Eval Interface","description":"The minimal eval interface tasks and agents talk through: implement a Robot, write an Agent, and run an episode.","icon":"flag-checkered","href":"/guides/eval-interface"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The minimal eval interface tasks and agents talk through: implement a Robot, write an Agent, and run an episode.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`rua`}),` re-exports a small, synchronous interface for evaluating robot-use agents. A task implements `,_jsx(_components.code,{children:`Robot`}),`,\nthe agent under evaluation implements `,_jsx(_components.code,{children:`Agent`}),`, and `,_jsx(_components.code,{children:`run`}),` plays one episode between them. It uses none of the HUD environment, wire or contract machinery on\nthe other pages.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` rua `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` Action, Agent, Observation, Robot, ScriptedAgent, Step, Tool, Trajectory, run`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`implement-a-robot`,children:`Implement a robot`}),`\n`,_jsxs(_components.p,{children:[`A robot offers `,_jsx(_components.strong,{children:`tools`}),` (described the way LLM tool APIs expect, with a JSON Schema), resets to a first\nobservation, and answers each action with the next one:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` rua `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` Action, Observation, Tool`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` Slider`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"A one-axis robot that must reach x = 3.\"\"\"`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` def`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` tools`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`self`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` schema = {`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"properties\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"dx\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"number\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}}}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` [Tool(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"nudge\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Move along x\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, schema)]`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` def`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` reset`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`self`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` self`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.x = `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`0.0`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` Observation(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`text`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"x=0.0\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` def`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` step`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`self`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`action`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: Action):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` self`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.x += action.args[`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"dx\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` reached = `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`self`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.x == `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`3.0`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` Observation(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`text`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"x=`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`{self`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.x`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`done`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`=reached, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`success`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`=reached `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`or`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` None`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`An `,_jsx(_components.code,{children:`Observation`}),` carries `,_jsx(_components.code,{children:`text`}),`, camera `,_jsx(_components.code,{children:`images`}),` (camera name to encoded image bytes), `,_jsx(_components.code,{children:`done`}),`, and `,_jsx(_components.code,{children:`success`}),`,\nwhich stays `,_jsx(_components.code,{children:`None`}),` while the task is undecided.`]}),`\n`,_jsx(Heading,{level:`2`,id:`run-an-agent`,children:`Run an agent`}),`\n`,_jsxs(_components.p,{children:[`An agent is any object with `,_jsx(_components.code,{children:`act(observation, tools)`}),` that returns an `,_jsx(_components.code,{children:`Action`}),` or `,_jsx(_components.code,{children:`None`}),` to stop, including one\nthat calls an LLM. `,_jsx(_components.code,{children:`ScriptedAgent`}),` replays a fixed list:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` rua `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ScriptedAgent, run`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`agent = ScriptedAgent([Action(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"nudge\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, {`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"dx\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`1.0`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}), Action(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"nudge\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, {`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"dx\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`2.0`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`})])`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`trajectory = run(agent, Slider())`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`trajectory.success `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# True`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`len`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(trajectory.steps) `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# 2`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`trajectory.last.text `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`# \"x=3.0\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`An episode ends when the robot reports `,_jsx(_components.code,{children:`done`}),`, the agent returns `,_jsx(_components.code,{children:`None`}),`, or `,_jsx(_components.code,{children:`max_steps`}),` is reached (there\nis no cap by default). `,_jsx(_components.code,{children:`run`}),` raises `,_jsx(_components.code,{children:`ValueError`}),` if the agent calls a tool the robot does not offer:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ValueError: unknown tool 'jump'; robot offers ['nudge']`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`Trajectory`}),` holds the `,_jsx(_components.code,{children:`start`}),` observation and a tuple of `,_jsx(_components.code,{children:`Step(action, observation)`}),`. `,_jsx(_components.code,{children:`trajectory.last`}),` is\nthe final observation, and `,_jsx(_components.code,{children:`trajectory.success`}),` is true only when it says `,_jsx(_components.code,{children:`success=True`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`import rua`}),` also imports `,_jsx(_components.code,{children:`hud`}),` and registers rua’s robot client with it, so this interface needs the full\n`,_jsx(_components.code,{children:`rua`}),` install and Python 3.11 or newer, even though it doesn’t use HUD. The `,_jsx(_components.code,{children:`rua`}),` 0.0.1 release on PyPI ships\nthis interface alone.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"The Eval Interface","description":"The minimal eval interface tasks and agents talk through: implement a Robot, write an Agent, and run an episode.","icon":"flag-checkered","href":"/guides/eval-interface"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Implement a robot","slug":"implement-a-robot","depth":2,"children":[]},{"title":"Run an agent","slug":"run-an-agent","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"rua-docs-mirror","siteName":"rua","title":"rua docs - robot agents on HUD","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-03T18:30:59.566Z","originalFileLocation":"guides/eval-interface.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The minimal eval interface tasks and agents talk through: implement a Robot, write an Agent, and run an episode.\">\u003cmeta data-mint-head name=\"application-name\" content=\"rua\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rua-docs-mirror/WEZUI_tGUfHrrXW5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/rua-docs-mirror/WEZUI_tGUfHrrXW5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rua-docs-mirror/WEZUI_tGUfHrrXW5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rua-docs-mirror/WEZUI_tGUfHrrXW5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rua-docs-mirror/WEZUI_tGUfHrrXW5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rua-docs-mirror/WEZUI_tGUfHrrXW5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rua-docs-mirror/WEZUI_tGUfHrrXW5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rua-docs-mirror/WEZUI_tGUfHrrXW5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rua-docs-mirror/WEZUI_tGUfHrrXW5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"rua docs - robot agents on HUD\">\u003cmeta data-mint-head property=\"og:description\" content=\"Robot agents, simulators and telemetry on the HUD platform.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"rua\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rua.hud.ai/guides/eval-interface\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rua-docs-mirror.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=The+Eval+Interface\u0026amp;description=The+minimal+eval+interface+tasks+and+agents+talk+through%3A+implement+a+Robot%2C+write+an+Agent%2C+and+run+an+episode.\u0026amp;theme=870e7a58124da46ee739ca8c\u0026amp;signature=eafaab8c04eeaac14b1c636269c3861fa5105af59340559ccf33619cf3b128d3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"rua docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Robot agents, simulators and telemetry on the HUD platform.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rua-docs-mirror.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=The+Eval+Interface\u0026amp;description=The+minimal+eval+interface+tasks+and+agents+talk+through%3A+implement+a+Robot%2C+write+an+Agent%2C+and+run+an+episode.\u0026amp;theme=870e7a58124da46ee739ca8c\u0026amp;signature=eafaab8c04eeaac14b1c636269c3861fa5105af59340559ccf33619cf3b128d3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/rua-docs-mirror/WEZUI_tGUfHrrXW5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"rua\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#bb086f\">\u003cmeta data-mint-head name=\"charset\" content=\"UTF-8\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rua.hud.ai/guides/eval-interface\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/eval-interface.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rua.hud.ai/#organization\",\"name\":\"rua\",\"url\":\"https://docs.rua.hud.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rua-docs-mirror/LFSTnYdqqaVRgoqO/logo/rua_logo.svg?fit=max\u0026auto=format\u0026n=LFSTnYdqqaVRgoqO\u0026q=85\u0026s=138d26640b23fa4e7b3e4e9c45287f7d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rua.hud.ai#website\",\"name\":\"rua\",\"url\":\"https://docs.rua.hud.ai\",\"publisher\":{\"@id\":\"https://docs.rua.hud.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rua.hud.ai/guides/eval-interface#webpage\",\"url\":\"https://docs.rua.hud.ai/guides/eval-interface\",\"name\":\"The Eval Interface\",\"description\":\"The minimal eval interface tasks and agents talk through: implement a Robot, write an Agent, and run an episode.\",\"dateModified\":\"2026-12-03T18:30:59.566Z\",\"isPartOf\":{\"@id\":\"https://docs.rua.hud.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rua.hud.ai/guides/eval-interface#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rua.hud.ai/guides/eval-interface#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.rua.hud.ai/guides/serving-a-gym-env\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Eval Interface\",\"item\":\"https://docs.rua.hud.ai/guides/eval-interface\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.rua.hud.ai/guides/eval-interface#article\",\"headline\":\"The Eval Interface\",\"name\":\"The Eval Interface\",\"description\":\"The minimal eval interface tasks and agents talk through: implement a Robot, write an Agent, and run an episode.\",\"url\":\"https://docs.rua.hud.ai/guides/eval-interface\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rua.hud.ai/guides/eval-interface#webpage\"},\"dateModified\":\"2026-12-03T18:30:59.566Z\",\"publisher\":{\"@id\":\"https://docs.rua.hud.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rua.hud.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"rua\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"rua\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/eval-interface.md","siteName":"rua","nav":{"global":null,"tabs":[{"tab":"SDK","icon":"code","groups":[{"group":"Start here","pages":[{"title":"Introduction","icon":"book","mode":"wide","href":"/start"},{"title":"Quickstart","icon":"bolt","href":"/start/quickstart"},{"title":"Concepts","icon":"compass","mode":"wide","href":"/start/concepts"}]},{"group":"Interfaces","pages":[{"title":"Direct Control","icon":"hand-pointer","href":"/interfaces/direct-control"},{"title":"Code Control","icon":"code","href":"/interfaces/code-as-policy"},{"title":"Hierarchical Control","icon":"sitemap","href":"/interfaces/hierarchical-control"}]},{"group":"Embodiment gallery","pages":[{"title":"Embodiment gallery","icon":"shapes","mode":"wide","href":"/catalog/index"},{"title":"Single arm","icon":"robot","href":"/catalog/single-arm"},{"title":"Bimanual","icon":"hands","href":"/catalog/bimanual"},{"title":"Dexterous hand on an arm","icon":"hand","href":"/catalog/dexterous-hand"},{"title":"Complex upper body","icon":"child-reaching","href":"/catalog/upper-body"},{"title":"Mobile base","icon":"car-side","href":"/catalog/mobile-base"},{"title":"Legged robot","icon":"paw","href":"/catalog/legged"},{"title":"Drone","icon":"helicopter","href":"/catalog/drone"},{"title":"Mobile manipulator","icon":"dolly","href":"/catalog/mobile-manipulator"},{"title":"Humanoid","icon":"person","href":"/catalog/humanoid"}]},{"group":"Guides","pages":[{"title":"Serving a Gym Env","icon":"cube","href":"/guides/serving-a-gym-env"},{"title":"Writing a Bridge","icon":"plug","href":"/guides/writing-a-bridge"},{"title":"Direct Control","icon":"hand-pointer","href":"/guides/direct-control"},{"title":"Code Control","icon":"code","href":"/guides/code-control"},{"title":"Recording Traces","description":"Record robot runs onto HUD traces: what DirectControl and CodeControl stream automatically, and TraceRecorder for a custom producer.","icon":"video","href":"/guides/recording-traces"},{"title":"The Eval Interface","icon":"flag-checkered","href":"/guides/eval-interface"}]},{"group":"Reference","pages":[{"title":"Eval Interface","description":"Reference for the eval interface re-exported from rua: Tool, Action, Observation, Robot, Agent, Step, Trajectory, ScriptedAgent and run.","icon":"flag-checkered","href":"/reference/interface"},{"title":"Sim","icon":"cube","href":"/reference/sim"},{"title":"Direct Control","icon":"hand-pointer","href":"/reference/direct-control"},{"title":"Code Control","icon":"code","href":"/reference/code-control"},{"title":"Contract","icon":"file-contract","href":"/reference/contract"},{"title":"Capabilities","icon":"plug","href":"/reference/capabilities"},{"title":"Telemetry","icon":"chart-line","href":"/reference/telemetry"},{"title":"CLI","icon":"terminal","href":"/reference/cli"}]},{"group":"More","pages":[{"title":"FAQ","icon":"circle-question","href":"/more/faq"}]}]}]},"basePath":"","title":"rua docs - robot agents on HUD","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}