Documentation Index
Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Use thedesktop-ubuntu template when an agent or operator needs a graphical environment. Desktop sandboxes expose browser desktop access through the sandbox state and support shell-driven automation tools available in the image.
Create A Desktop Sandbox
Link An Agent
agents/browser-agent.ts
Browser Desktop URL
The SDK exposes a normalizedsandbox.vncUrl when desktop access is ready:
GET /v1/sandboxes/{id} response can also include vncReady and vncUrl.
Automation Pattern
Agents currently use shell-accessible tools for desktop automation. For example:Best Practices
Prefer APIs for structured integrations
Prefer APIs for structured integrations
Use Tool Hub or direct APIs when a provider offers a reliable API. Desktop automation is best for web or GUI workflows that do not have a usable API.
Wait for readiness
Wait for readiness
Wait for both sandbox readiness and desktop readiness before starting browser tasks.
Keep prompts concrete
Keep prompts concrete
Give the agent specific page goals, selectors, or visual landmarks when possible.
Clean up long sessions
Clean up long sessions
Pause or destroy desktop sandboxes when you are done.