Skip to content

Codex Cloud Guide: Browser Use, Computer Use, Previews and SSH

AINewss Editorial

Codex Cloud runs OpenAI's coding agent on isolated virtual machines that keep working after your laptop sleeps. A November 2026 update lets Codex drive a cloud browser and desktop, check its own UI work, expose private HTTPS previews and accept SSH. This guide explains how cloud environments work, who gets browser and computer access, the difference from headless Playwright, plan boundaries, and the setup steps that avoid the most common localhost mistake.

View 4 references
0 views 0 likes

Allow the functional cookie to save your likes. Privacy details

A cloud coding workspace with a browser window, a terminal preview link and a task running independently of a closed laptop

What is Codex Cloud?

Codex Cloud is OpenAI's hosted mode for its Codex coding agent. Each task runs in its own isolated cloud workspace where Codex can read and edit code, run commands, install dependencies and verify results. Tasks keep running while your computer is asleep, and you can follow or resume them from the web, the desktop app or mobile.

An environment can be published and reused so a team gets the same repository, tools and network settings across tasks.

The product was introduced at DevDay in late September 2026. On 30 November 2026, OpenAI announced that Codex Cloud can also drive a browser and a desktop inside the task VM, turning it from a code editor into an agent that can click through and validate what it built.

How does a Codex Cloud task actually run?

A cloud task follows a predictable sequence. OpenAI provisions a container and clones the selected repository, runs the setup script, applies network access settings, then enters the agent loop before delivering a diff or pull request. The default image is universal; setup can be automatic or manual, and environment variables and secrets are configured separately.

Container caching lasts up to 12 hours.

You do not need a repository to start. In the web or desktop app, choose Work in > Cloud > Default environment, then describe the task; you can attach a GitHub or GitLab repository later by telling Codex which project to clone. From a desktop project, a GitHub.com repository can be auto-detected if you have connected your GitHub account. GitLab repositories require a published environment for selector-based checkout.

What can Codex do with the cloud browser and desktop?

With Browser Use, Codex can open URLs, interact with pages and check UI state inside the cloud browser. With Computer Use, it can operate apps on the cloud computer when the task allows it. The Desktop panel lets you watch the agent work, press Take over to use the mouse and keyboard yourself, then Return control when finished.

OpenAI frames this as interactive verification: build a feature, open it, click through it and fix what breaks.

This is an execution mode inside an isolated VM, not a shared browser profile across teammates. Account permissions for websites, including always ask, auto approve and always allow, plus browser data controls such as cookies, are documented as security UX. Enterprise workspaces inherit Agent Security requirements, and administrators can tune Codex Cloud execution requirements separately from the global baseline.

How is this different from running Playwright headless?

OpenAI draws a clear line, and confusing the two is a common failure. The interactive path uses Browser Use or Computer Use in the cloud and requires no Playwright installation. The repeatable CI-style path asks Codex to run Playwright headless, which does require Playwright, browser binaries and app dependencies in the environment.

A documented prompt pattern is: start the app on port 3000, open http://localhost:3000, flip a setting such as email reminders, reload and confirm persistence. The crucial detail is that localhost here means the task's cloud computer, not your laptop. Engineers pasting a familiar local URL from memory will test the wrong machine. Headless Playwright remains the better choice when you need deterministic, scriptable regression checks rather than visual judgement.

How do private previews and SSH work?

If Codex starts a server and names a port, you can add that port under HTTP Previews in the task environment to get a private HTTPS link scoped to your account. Removing the port blocks new requests to the link, which is useful for closing a demo surface.

SSH is available when enabled: in the desktop app, choose Set up SSH next to SSH, name a profile and copy the generated command into a terminal or editor.

OpenAI notes two caveats. Disabling SSH may not immediately drop existing connections. And a task's saved VM state can be recovered for seven days after last use, according to reporting on the rollout, so treat the workspace as temporary rather than archival storage.

Who has access and what does Codex Cloud cost?

Browser and desktop access are not available in every cloud task. Plan and workspace gates still apply, and the tools do not work in Codex CLI or the Codex IDE extension. Cloud chats and local messages draw from one plan allowance, and weekly limits may also apply.

OpenAI listed no separate fee for the browser update on announcement.

Prices checked on 1 December 2026 in US dollars on chatgpt.com/pricing: Free at 0 dollars and Go at 8 dollars per month do not include Codex Cloud; Plus at 20 dollars includes 2 vCPU, 8 GiB RAM and 8 GiB disk; Pro starts at 100 dollars across three tiers with 4 vCPU, 16 GiB RAM and 32 GiB disk. Business, Enterprise and Edu are not listed with a page price but include cloud access, with Enterprise administrators needing to enable it. Prices and local pricing vary by region and change over time.

What else changed since DevDay?

Beyond browser control, OpenAI has added SSH into task VMs, short-lived credentials through OIDC, internal database access over Tailscale, support for GitHub Enterprise Cloud and GitLab repositories, environment creation and editing on iOS, and HIPAA eligibility under a qualifying agreement.

Larger teams can delegate tasks from Slack or Microsoft Teams in an Enterprise workspace with Cloud delegation enabled, using @ChatGPT against a repository. These additions matter more for platform teams than for individual developers, because they govern how an organisation supplies credentials and reviews agent output.

Frequently asked questions about Codex Cloud

These answers cover the questions that come up most often when deciding whether to move a task from a local coding agent to a cloud VM: persistence, repository requirements, security of browsing, and whether local extensions get the same features.

The consistent answer is that cloud execution is a separate trust boundary.

Does Codex Cloud keep working after I close my laptop?

Yes. The task runs on an OpenAI-managed virtual machine, not on your device, so closing the laptop does not stop it. You can reopen the same task later from another device to review changes and continue. This is the main practical reason to choose cloud over local execution for long-running work.

Do I need a GitHub repository to start a cloud task?

No. The Default environment lets you run tasks without one, for example writing and testing a script against sample data. If the task later needs existing code, ask Codex to clone a repository it has access to. A GitHub or GitLab repository can also be attached from the start through a published environment.

Is browser use in Codex Cloud the same as ChatGPT desktop browser?

No. The cloud browser runs inside the isolated task VM and is gated by task type and workspace policy. ChatGPT desktop has its own built-in browser, which is a different trust boundary and uses a profile separate from your regular browser. The built-in desktop browser is not available in Codex CLI or the IDE extension.

Bottom line and limitations

Codex Cloud is strongest for two cases: long or parallel tasks that should survive a machine shutdown, and web work that needs visual verification inside a controlled environment. It is less compelling if you already work entirely locally with fast feedback and no need for UI testing.

Always review the agent's diff before accepting a commit or pull request: the agent can click through an app, but a human still signs off. Availability of browser and desktop features also depends on app version and workspace, so verify on your own plan before building a workflow around them.

References

  1. OpenAI developers: Browser and Codex Clouddevelopers.openai.com
  2. OpenAI developers: Cloud environmentsdevelopers.openai.com
  3. ChatGPT Learn: Cloud environmentslearn.chatgpt.com
  4. Codex Cloud browser and desktop rollout coveragedaleelai.com