Skip to main content
Desktop displays and controls the Linux desktop inside your existing Computer. It is the same machine, disk, installed software, and browser profile that your terminal and Agent use. Opening a Viewer does not create another Computer. Use Desktop for graphical tools, browser-based login, or checking the working environment. Use Private Preview to show a web application without exposing the whole desktop, and Human assistance when an Agent needs an explicit handoff.

Open from the Console

  1. Select your Computer and check that it is Running. Starting it is a separate explicit action.
  2. Open Desktop. If a connection control is shown, choose Connect to Desktop in the picture area or Connect in the toolbar.
  3. Wait for the real Linux desktop to appear, then interact with a terminal or browser.
  4. If the connection drops, choose Reconnect or open Desktop again.
A normal Desktop session permits keyboard and mouse input without first creating an assistance request. The Developer Image includes the required desktop software. Desktop prepares or starts its environment when opened. Chromium does not necessarily start automatically; use the available browser launcher or application menu. Launcher placement can differ between Developer Image versions; if no browser icon is visible, use the application menu or verify that Chromium is installed. To verify the connection, open a terminal in the visible desktop and run:
Expect Linux and the printed line inside the Viewer. Seeing a connected indicator alone is weaker evidence than observing a harmless input action reach the intended Computer.

Open with the SDK

Use the SDK installation and authentication setup. Run this in a trusted caller environment:
desktop.open() prepares the desktop and returns computer_id, display, viewer_url, dashboard_path, and dashboard_url. desktop.ensure() prepares it without issuing a Viewer URL; it returns the Computer and display. The authenticated Dashboard is the usual human entry point. The viewer_url is a short-lived runtime credential for viewing and controlling one desktop. Do not paste it into public issue trackers, analytics, source files, or a public Share. The API Key is never needed in the runtime URL.

What persists, and what does not

Browser profile files, cookies, and local storage are stored on the Computer’s retained disk and can persist across normal Stop/Start. A third-party website can still expire, revoke, or challenge its own session. Unsaved in-memory form contents and live browser processes are not a persistence guarantee. A Viewer URL is short-lived and expires after one hour; it is not a permanent desktop address. When an old link is no longer accepted, reopen through the authenticated Dashboard. A platform restart may invalidate temporary Viewer links without deleting the Computer.

Browser automation: distinguish the interfaces

Deepest exposes Desktop preparation/opening and human-assistance coordination. It does not expose platform screenshot, pixel-click, DOM, accessibility-tree, CDP, or Playwright operations. You may install and run browser-automation tools inside your own Computer, subject to their requirements and your permissions. Those are user-managed tools operated through SSH or Exec; they are not additional Deepest platform APIs. Installing an Agent that offers computer use does not add a platform computer-use API. If a browser automation tool must share a human’s current browser session, configure and verify that tool against the intended existing session. A new browser process or fresh profile is a different working context. Human assistance coordinates the handoff; it does not automatically attach an arbitrary Agent to Chromium.

Security and resource considerations

Desktop lets the authorized viewer act as the Guest user, which has broad privileges in the Developer Image. Treat a Viewer URL as sensitive. Share a web result with Preview/Share instead of distributing desktop control. In the Developer Image, the root-user Chromium launcher runs without Chromium’s own process sandbox. Browse and run code with that Guest-level risk in mind: a compromised browser may access that Computer’s files or login state. This is not a reason to expose the Viewer publicly or store Account control credentials inside the Guest. Desktop and Chromium consume the same Computer memory and Account shared CPU as builds, containers, and Agents. Closing the Viewer does not free their resource usage. If you need to release running memory, save work and explicitly Stop the Computer. Keep enough memory for the actual browser workload instead of choosing only the smallest allowed size.

Troubleshoot

An Agent should never interpret Viewer closure as a Computer Stop or assistance completion. Read the appropriate state and re-observe the work before continuing. Continue with Human assistance, Developer Image, or the Desktop and Assistance sections of the API reference.