Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
fix: revert image paths to /docs/img/ (basePath handles prefix)
f-trycua6519a01a1985
diff --git a/docs/content/docs/cua/examples/ai-models/gemini-complex-ui-navigation.mdx b/docs/content/docs/cua/examples/ai-models/gemini-complex-ui-navigation.mdxindex a2735bb083..5b98f79fe2 100644--- a/docs/content/docs/cua/examples/ai-models/gemini-complex-ui-navigation.mdx+++ b/docs/content/docs/cua/examples/ai-models/gemini-complex-ui-navigation.mdx@@ -12,7 +12,7 @@ import { Callout } from 'fumadocs-ui/components/callout';This example demonstrates how to use Google's Gemini 3 models with OmniParser for complex GUI grounding tasks. Gemini 3 Pro achieves exceptional performance on the [ScreenSpot-Pro benchmark](https://github.com/likaixin2000/ScreenSpot-Pro-GUI-Grounding) with a **72.7% accuracy** (compared to Claude Sonnet 4.5's 36.2%), making it ideal for precise UI element location and complex navigation tasks.<img- src="/img/grounding-with-gemini3.gif"+ src="/docs/img/grounding-with-gemini3.gif"alt="Demo of Gemini 3 with OmniParser performing complex GUI navigation tasks"width="800px"/>diff --git a/docs/content/docs/cua/guide/get-started/what-is-computer-use-agent.mdx b/docs/content/docs/cua/guide/get-started/what-is-computer-use-agent.mdxindex 172e0e442a..43682d8989 100644--- a/docs/content/docs/cua/guide/get-started/what-is-computer-use-agent.mdx+++ b/docs/content/docs/cua/guide/get-started/what-is-computer-use-agent.mdx@@ -6,7 +6,7 @@ description: Understanding AI agents that can see and interact with computer intA **computer-use agent** is an AI system that can perceive, understand, and interact with graphical user interfaces (GUIs) just like a human user would. Instead of using APIs or scripted automation, these agents "see" the screen and perform actions through simulated mouse and keyboard inputs.<div className="not-prose relative rounded-xl overflow-hidden my-8 w-full">- <img src="/img/what-is-cua.png" alt="How Computer-Use Agents work" className="w-full h-auto rounded-xl" />+ <img src="/docs/img/what-is-cua.png" alt="How Computer-Use Agents work" className="w-full h-auto rounded-xl" /></div>## How Computer-Use Agents Workdiff --git a/docs/content/docs/cua/guide/get-started/what-is-cua.mdx b/docs/content/docs/cua/guide/get-started/what-is-cua.mdxindex 8e93623513..5f9b64eef8 100644--- a/docs/content/docs/cua/guide/get-started/what-is-cua.mdx+++ b/docs/content/docs/cua/guide/get-started/what-is-cua.mdx@@ -6,7 +6,7 @@ description: Learn about Cua, the open-source platform for building computer-useCua is an **open-source platform** for building, deploying, and managing computer-use agents. It provides everything you need to create AI agents that can interact with desktop environments just like a human would—clicking, typing, navigating, and completing tasks autonomously.<div className="not-prose relative rounded-xl overflow-hidden my-8 w-full">- <img src="/img/hero.png" alt="Cua" className="w-full h-auto rounded-xl" />+ <img src="/docs/img/hero.png" alt="Cua" className="w-full h-auto rounded-xl" /></div>## The Cua Stackdiff --git a/docs/content/docs/cua/guide/get-started/what-is-desktop-sandbox.mdx b/docs/content/docs/cua/guide/get-started/what-is-desktop-sandbox.mdxindex 273218ebb7..6db51a4df4 100644--- a/docs/content/docs/cua/guide/get-started/what-is-desktop-sandbox.mdx+++ b/docs/content/docs/cua/guide/get-started/what-is-desktop-sandbox.mdx@@ -6,7 +6,7 @@ description: Understanding isolated environments for safe computer-use agent exeA **desktop sandbox** is an isolated virtual environment that provides a complete desktop operating system where computer-use agents can safely execute tasks. Think of it as a disposable computer that your agent can control without risk to your real system.<div className="not-prose relative rounded-xl overflow-hidden my-8 w-full">- <img src="/img/what-is-sandbox.png" alt="What is a Desktop Sandbox" className="w-full h-auto rounded-xl" />+ <img src="/docs/img/what-is-sandbox.png" alt="What is a Desktop Sandbox" className="w-full h-auto rounded-xl" /></div>## Why Use Sandboxes?diff --git a/docs/content/docs/cua/guide/index.mdx b/docs/content/docs/cua/guide/index.mdxindex c604840cc3..c3a39ce0a6 100644--- a/docs/content/docs/cua/guide/index.mdx+++ b/docs/content/docs/cua/guide/index.mdx@@ -12,7 +12,7 @@ import { Monitor, Code, BookOpen, Zap, Bot, Boxes, Rocket } from 'lucide-react';**Cua** is an open-source framework for building and evaluating Computer-Use Agents - AI systems that autonomously interact with computer interfaces by understanding visual elements and executing actions.<div className="not-prose relative rounded-xl overflow-hidden my-8 w-full">- <img src="/img/hero.png" alt="Cua" className="w-full h-auto rounded-xl" />+ <img src="/docs/img/hero.png" alt="Cua" className="w-full h-auto rounded-xl" /></div>## What is a Computer-Use Agent?diff --git a/docs/content/docs/cua/guide/integrations/laminar.mdx b/docs/content/docs/cua/guide/integrations/laminar.mdxindex 4688261575..6571c1afe8 100644--- a/docs/content/docs/cua/guide/integrations/laminar.mdx+++ b/docs/content/docs/cua/guide/integrations/laminar.mdx@@ -58,7 +58,7 @@ you will see all the agent execution steps, including computer actions, LLM callFor each step, you will see the LLM call, the computer action. The computer actions are highlighted in the timeline in yellow.<img- src="/img/laminar_trace_example.png"+ src="/docs/img/laminar_trace_example.png"alt="Example trace in Laminar showing the litellm.response span and its output."width="800px"/>diff --git a/docs/content/docs/cuabench/guide/fundamentals/tasks.mdx b/docs/content/docs/cuabench/guide/fundamentals/tasks.mdxindex a17d175390..0a27646799 100644--- a/docs/content/docs/cuabench/guide/fundamentals/tasks.mdx+++ b/docs/content/docs/cuabench/guide/fundamentals/tasks.mdx@@ -4,7 +4,7 @@ description: An in-depth guide describing the structure of a Cua-Bench task.---<div className="not-prose relative rounded-xl overflow-hidden my-8 w-full">- <img src="/img/cua_bench_overview.png" alt="Cua" className="w-full h-auto rounded-xl border" />+ <img src="/docs/img/cua_bench_overview.png" alt="Cua" className="w-full h-auto rounded-xl border" /></div>A Cua-Bench task is a Python module that defines a verifiable computer-use environment. Tasks use decorators to define configuration, setup, evaluation, and oracle solutions.diff --git a/docs/content/docs/cuabench/guide/getting-started/introduction.mdx b/docs/content/docs/cuabench/guide/getting-started/introduction.mdxindex 327ee02029..48aeb9d38a 100644--- a/docs/content/docs/cuabench/guide/getting-started/introduction.mdx+++ b/docs/content/docs/cuabench/guide/getting-started/introduction.mdx@@ -6,7 +6,7 @@ description: A benchmark to measure the capabilities of computer-use agents in d**Cua-Bench** is a framework and set of tasks for evaluating how well AI agents can accomplish complex tasks on a desktop computer using primarily the keyboard and mouse, or on a mobile device using primarily the touchscreen.<div className="not-prose relative rounded-xl overflow-hidden my-8 w-full">- <img src="/img/cua_bench_screenshots.png" alt="Cua" className="w-full h-auto rounded-xl border" />+ <img src="/docs/img/cua_bench_screenshots.png" alt="Cua" className="w-full h-auto rounded-xl border" /></div>Examples of Cua-Bench tasks are:diff --git a/docs/scripts/check-all-links.py b/docs/scripts/check-all-links.pyindex 93f21ab7ae..37299831f6 100755--- a/docs/scripts/check-all-links.py+++ b/docs/scripts/check-all-links.py@@ -106,14 +106,16 @@ def normalize_link(link: str, docs_dir: Path, public_dir: Path, src_dir: Path) -return None, 'internal'# Check if it's a public asset (images, etc.)+ # With basePath: '/docs', image paths are /docs/img/... which maps to public/img/+ if clean_link.startswith('docs/img/'):+ return public_dir / clean_link[5:], 'public' # Remove 'docs/' prefix+ if clean_link.startswith('docs/favicon'):+ return public_dir / clean_link[5:], 'public' # Remove 'docs/' prefixif clean_link.startswith(('img/', 'images/', 'favicon', 'icons/')):return public_dir / clean_link, 'public'# Check if it's a docs path- if clean_link.startswith(('docs/', 'cua/', 'cuabench/')):- # Remove 'docs/' prefix if present- if clean_link.startswith('docs/'):- clean_link = clean_link[5:]+ if clean_link.startswith(('cua/', 'cuabench/')):docs_content_dir = docs_dir / 'content' / 'docs'return docs_content_dir / clean_link, 'docs'diff --git a/docs/scripts/check-mdx-links.py b/docs/scripts/check-mdx-links.pyindex 68dbbf7296..fc9ec2898a 100755--- a/docs/scripts/check-mdx-links.py+++ b/docs/scripts/check-mdx-links.py@@ -58,6 +58,11 @@ def normalize_link_to_file_path(link: str, docs_dir: Path, public_dir: Path) ->clean_link = link.lstrip('/')# Check if it's a public asset (images, etc.)+ # With basePath: '/docs', image paths are /docs/img/... which maps to public/img/+ if clean_link.startswith('docs/img/'):+ return public_dir / clean_link[5:], 'public' # Remove 'docs/' prefix+ if clean_link.startswith('docs/favicon'):+ return public_dir / clean_link[5:], 'public' # Remove 'docs/' prefixif clean_link.startswith(('img/', '_next/', 'favicon')):return public_dir / clean_link, 'public'diff --git a/docs/src/app/(landing)/page.tsx b/docs/src/app/(landing)/page.tsxindex fa03a25908..fa8e4ed4db 100644--- a/docs/src/app/(landing)/page.tsx+++ b/docs/src/app/(landing)/page.tsx@@ -73,14 +73,14 @@ export default function LandingPage() {{/* Background image - dark/light mode */}<div className="pointer-events-none absolute inset-0"><Image- src="/img/bg-dark.jpg"+ src="/docs/img/bg-dark.jpg"alt=""fillclassName="hidden object-cover object-top opacity-50 dark:block"priority/><Image- src="/img/bg-light.jpg"+ src="/docs/img/bg-light.jpg"alt=""fillclassName="block object-cover object-top opacity-30 dark:hidden"@@ -144,7 +144,7 @@ export default function LandingPage() {<div className="absolute -inset-4 rounded-3xl bg-gradient-to-br from-sky-500/20 via-emerald-500/10 to-purple-500/20 blur-2xl" /><div className="relative overflow-hidden rounded-2xl border border-fd-border/50 bg-fd-card/30 p-4 backdrop-blur-sm"><Image- src="/img/hero.png"+ src="/docs/img/hero.png"alt="Cua Platform"width={400}height={400}diff --git a/docs/src/app/layout.tsx b/docs/src/app/layout.tsxindex 5ad53f41fa..cd5ef8c131 100644--- a/docs/src/app/layout.tsx+++ b/docs/src/app/layout.tsx@@ -31,7 +31,7 @@ export default function Layout({ children }: { children: ReactNode }) {suppressHydrationWarning><head>- <link rel="icon" href="/favicon.ico" sizes="any" />+ <link rel="icon" href="/docs/favicon.ico" sizes="any" /><scriptdangerouslySetInnerHTML={{__html: `