{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agent-ui",
    "name": "Agent Ui",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/okaris/agent-ui",
    "canonicalUrl": "https://clawhub.ai/okaris/agent-ui",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/agent-ui",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-ui",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "agent-ui",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T13:49:00.900Z",
      "expiresAt": "2026-05-06T13:49:00.900Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-ui",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-ui",
        "contentDisposition": "attachment; filename=\"agent-ui-0.1.5.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "agent-ui"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agent-ui"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/agent-ui",
    "agentPageUrl": "https://openagent3.xyz/skills/agent-ui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-ui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-ui/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Agent Component",
        "body": "Batteries-included agent component from ui.inference.sh."
      },
      {
        "title": "Quick Start",
        "body": "# Install the agent component\nnpx shadcn@latest add https://ui.inference.sh/r/agent.json\n\n# Add the SDK for the proxy route\nnpm install @inferencesh/sdk"
      },
      {
        "title": "1. API Proxy Route (Next.js)",
        "body": "// app/api/inference/proxy/route.ts\nimport { route } from '@inferencesh/sdk/proxy/nextjs';\nexport const { GET, POST, PUT } = route;"
      },
      {
        "title": "2. Environment Variable",
        "body": "# .env.local\nINFERENCE_API_KEY=inf_..."
      },
      {
        "title": "3. Use the Component",
        "body": "import { Agent } from \"@/registry/blocks/agent/agent\"\n\nexport default function Page() {\n  return (\n    <Agent\n      proxyUrl=\"/api/inference/proxy\"\n      agentConfig={{\n        core_app: { ref: 'openrouter/claude-haiku-45@0fkg6xwb' },\n        description: 'a helpful ai assistant',\n        system_prompt: 'you are helpful.',\n      }}\n    />\n  )\n}"
      },
      {
        "title": "Features",
        "body": "FeatureDescriptionRuntime includedNo backend logic neededTool lifecyclePending, progress, approval, resultsHuman-in-the-loopBuilt-in approval flowsWidgetsDeclarative JSON UI from agent responsesStreamingReal-time token streamingClient-side toolsTools that run in the browser"
      },
      {
        "title": "Client-Side Tools Example",
        "body": "import { Agent } from \"@/registry/blocks/agent/agent\"\nimport { createScopedTools } from \"./blocks/agent/lib/client-tools\"\n\nconst formRef = useRef<HTMLFormElement>(null)\nconst scopedTools = createScopedTools(formRef)\n\n<Agent\n  proxyUrl=\"/api/inference/proxy\"\n  config={{\n    core_app: { ref: 'openrouter/claude-haiku-45@0fkg6xwb' },\n    tools: scopedTools,\n    system_prompt: 'You can fill forms using scan_ui and fill_field tools.',\n  }}\n/>"
      },
      {
        "title": "Props",
        "body": "PropTypeDescriptionproxyUrlstringAPI proxy endpointnamestringAgent name (optional)configAgentConfigAgent configurationallowFilesbooleanEnable file uploadsallowImagesbooleanEnable image uploads"
      },
      {
        "title": "Related Skills",
        "body": "# Chat UI building blocks\nnpx skills add inference-sh/skills@chat-ui\n\n# Declarative widgets from JSON\nnpx skills add inference-sh/skills@widgets-ui\n\n# Tool lifecycle UI\nnpx skills add inference-sh/skills@tools-ui"
      },
      {
        "title": "Documentation",
        "body": "Agents Overview - Building AI agents\nAgent SDK - Programmatic agent control\nHuman-in-the-Loop - Approval flows\nAgents That Generate UI - Building generative UIs\nAgent UX Patterns - Best practices\n\nComponent docs: ui.inference.sh/blocks/agent"
      }
    ],
    "body": "Agent Component\n\nBatteries-included agent component from ui.inference.sh.\n\nQuick Start\n# Install the agent component\nnpx shadcn@latest add https://ui.inference.sh/r/agent.json\n\n# Add the SDK for the proxy route\nnpm install @inferencesh/sdk\n\nSetup\n1. API Proxy Route (Next.js)\n// app/api/inference/proxy/route.ts\nimport { route } from '@inferencesh/sdk/proxy/nextjs';\nexport const { GET, POST, PUT } = route;\n\n2. Environment Variable\n# .env.local\nINFERENCE_API_KEY=inf_...\n\n3. Use the Component\nimport { Agent } from \"@/registry/blocks/agent/agent\"\n\nexport default function Page() {\n  return (\n    <Agent\n      proxyUrl=\"/api/inference/proxy\"\n      agentConfig={{\n        core_app: { ref: 'openrouter/claude-haiku-45@0fkg6xwb' },\n        description: 'a helpful ai assistant',\n        system_prompt: 'you are helpful.',\n      }}\n    />\n  )\n}\n\nFeatures\nFeature\tDescription\nRuntime included\tNo backend logic needed\nTool lifecycle\tPending, progress, approval, results\nHuman-in-the-loop\tBuilt-in approval flows\nWidgets\tDeclarative JSON UI from agent responses\nStreaming\tReal-time token streaming\nClient-side tools\tTools that run in the browser\nClient-Side Tools Example\nimport { Agent } from \"@/registry/blocks/agent/agent\"\nimport { createScopedTools } from \"./blocks/agent/lib/client-tools\"\n\nconst formRef = useRef<HTMLFormElement>(null)\nconst scopedTools = createScopedTools(formRef)\n\n<Agent\n  proxyUrl=\"/api/inference/proxy\"\n  config={{\n    core_app: { ref: 'openrouter/claude-haiku-45@0fkg6xwb' },\n    tools: scopedTools,\n    system_prompt: 'You can fill forms using scan_ui and fill_field tools.',\n  }}\n/>\n\nProps\nProp\tType\tDescription\nproxyUrl\tstring\tAPI proxy endpoint\nname\tstring\tAgent name (optional)\nconfig\tAgentConfig\tAgent configuration\nallowFiles\tboolean\tEnable file uploads\nallowImages\tboolean\tEnable image uploads\nRelated Skills\n# Chat UI building blocks\nnpx skills add inference-sh/skills@chat-ui\n\n# Declarative widgets from JSON\nnpx skills add inference-sh/skills@widgets-ui\n\n# Tool lifecycle UI\nnpx skills add inference-sh/skills@tools-ui\n\nDocumentation\nAgents Overview - Building AI agents\nAgent SDK - Programmatic agent control\nHuman-in-the-Loop - Approval flows\nAgents That Generate UI - Building generative UIs\nAgent UX Patterns - Best practices\n\nComponent docs: ui.inference.sh/blocks/agent"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/okaris/agent-ui",
    "publisherUrl": "https://clawhub.ai/okaris/agent-ui",
    "owner": "okaris",
    "version": "0.1.5",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agent-ui",
    "downloadUrl": "https://openagent3.xyz/downloads/agent-ui",
    "agentUrl": "https://openagent3.xyz/skills/agent-ui/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-ui/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-ui/agent.md"
  }
}