Agent Screen

Watch an agent work, teach a task, or record a run.

Installation

pnpm dlx shadcn@latest add @ward/agent-screen

Add the Ward registry to components.json once:

"registries": {
  "@ward": "https://ward.so/r/{name}.json"
}

Or install from the URL with no configuration: npx shadcn@latest add https://ward.so/r/agent-screen.json

Usage

import AgentScreen from "@/components/ward/AgentScreen";
<AgentScreen agentName="Research agent" streamSrc="/captures/agent-desktop.png" />

Props

PropTypeDefaultDescription
variant"Working" | "Loading"-Shows the connecting spinner when set to "Loading" and the agent's screen for any other value.
agentNamestring"Agent"Name shown under the card and in the title bar of the expanded viewer.
streamSrcstring-Image or video URL for the agent's screen; a placeholder window is drawn when it is left out.

Ward · Version 1.1.0 · Registry manifest