What changed in Codex Cloud
Codex Cloud runs coding tasks on OpenAI's machines. OpenAI's cloud environments page describes it this way: "Codex Cloud runs coding tasks in the cloud, so work can continue while your computer is asleep."
Until this update, the main way to check a web app from a cloud task was a scripted test. Now OpenAI's browser documentation describes two tools that run inside the task:
- Browser Use. Codex opens a URL in the cloud browser, interacts with the page, and checks the result.
- Computer Use. If it's available to the task, Codex can interact with apps on the cloud computer.
OpenAI's page adds: "Both tools run in the cloud. You don't need to install Playwright to use either one."
The announcement framed the use cases as building and testing features and reproducing bugs. You can start from the default environment without a repository, or from an environment connected to your GitHub or GitLab repositories.
If you're still deciding between running Codex on your own computer and running it in the cloud, see Codex cloud vs local for how the two modes differ. This guide focuses on the new browser and desktop tools and what a task keeps.
Who can use it
Availability isn't the same for every task. OpenAI's cloud environments page lists this under current limitations: Browser Use and Computer Use "aren't available in every cloud task." The same section adds: "Access to the Desktop viewer can also vary by app version and workspace."
In Enterprise workspaces, these tools follow the organization's rules. OpenAI's browser page says Browser Use and Computer Use in Codex Cloud "inherit the applicable Global Agent Security requirements." Admins can set supported execution requirements for Codex Cloud under Agent Security in the Admin Console.
So if you don't see these tools in a task, it may be your plan, your workspace, your app version, or a policy your admin has set.
What a cloud task can test now
OpenAI's example is a useful template. In its browser documentation, it suggests asking Codex "to start your app on port 3000, open http://localhost:3000, turn on email reminders, and reload the page to check that the setting persists." It then explains where that address points: "Here, localhost refers to the task's cloud computer."
That example shows the shape of what a task can test:
- Start the app inside the task's environment.
- Open it in the cloud browser at the local address.
- Act on the page, such as toggling a setting or filling a form.
- Check the result, such as reloading to see whether the setting persists.
This is the kind of check that used to need a person. A task can now confirm that a fix works on the page, not just in a unit test.
A few things to keep in mind:
- The app runs in the task's environment. It needs the dependencies, services, and network access that environment provides. If your app calls an external API, the environment's internet access settings decide whether it can reach it.
- Credentials matter. OpenAI's page says environment variables are passed directly to programs, while network secrets give programs a placeholder that the proxy substitutes for allowed destinations.
- Page content is untrusted. OpenAI's browser documentation says to treat page content as untrusted context and review the site and proposed action before sharing sensitive information or allowing ChatGPT to act.
Watch Codex work or take over
You don't have to wait for a summary. OpenAI's browser page says: "If Desktop appears in the task's side panel, open it to watch Codex work."
From there you can step in. OpenAI's instructions are to select Take over to use the mouse and keyboard yourself, then Return control when you're done.
This helps when a test needs something Codex can't supply, such as a step you'd rather do by hand, or when you want to see the bug with your own eyes before Codex keeps going. Once you return control, Codex continues in the same task.
Try the app in your own browser
Sometimes you want to click through the app yourself, in your own browser, without the desktop view. For that, OpenAI points to HTTP Previews. The cloud environments page gives the steps:
- Ask Codex to start the server and tell you which port it uses.
- If the port isn't listed, edit the task's environment, add the port under HTTP Previews, then apply it to the chat.
- Open the port under HTTP Previews in the task.
OpenAI describes who can see it: "Only you can access the private HTTPS link." To close it, remove the port, which blocks new requests to the link.
If you'd rather use your own terminal or editor, the same section describes SSH access. When SSH access is enabled, select Set up SSH in the desktop app, choose a profile name, and run the copied command. OpenAI notes one caveat: "Turning off SSH access may leave existing connections active."
When to use Playwright instead
Browser Use is for exploring and checking. For tests you want to run the same way every time, OpenAI's browser page suggests Playwright in headless mode. It says these tests "run without opening an interactive browser window and don't use Browser Use or Computer Use."
That makes the choice fairly simple:
- Use Browser Use or Computer Use to reproduce a bug, explore a flow, or check a fix by eye.
- Use Playwright when the check should become a repeatable test in your repository.
If you choose Playwright, OpenAI says to install it in the cloud environment along with its browser binaries, system dependencies, and your app's dependencies. Give Codex the command to start the app, the port, and the test command.
What a cloud task keeps afterward
This is where the second half of the question comes in. OpenAI's cloud environments page explains saved state in three parts:
- New task in a published environment: "starts from the environment's prepared filesystem."
- Existing task: "continues with its own saved files, including uncommitted changes and installed tools."
- Repository refresh: runs in the background and keeps dependency caches.
There's also a time limit. OpenAI's page says: "By default, a task's saved VM state is recoverable for up to seven days after you last start a turn or resume the task."
And there's a clear warning: "Commit important work or save the output you need. Saved state doesn't replace source control."
In practice, that means:
- Within a task, you can come back and continue. The app you started, the packages you installed, and the uncommitted edits are there while the saved state lasts.
- After that window, rely on what you committed or saved elsewhere.
- Across devices, OpenAI says to reopen the same task to continue its work.
What doesn't carry over to the next task
A new task doesn't pick up where another left off. OpenAI's page says: "Each new task starts in its own workspace."
That has a few effects worth knowing:
A running app doesn't carry over. The next task starts the app again from the environment's prepared files.
Setup changes need to be saved. If you adjust repositories, scripts, or access settings in a running task, the desktop app lets you apply them to the current chat. To reuse them, OpenAI's page says to select Save for future chats, enter a name, and save the environment. Then choose that named environment when you start another task.
Skills depend on where they live. OpenAI's limitations section says: "Skills stored in your repository are available in cloud tasks. Personal skills from your local computer aren't synced to cloud environments."
What you explained in chat stays in that chat. If you told Codex in one task which page shows the bug, which test account to use, or which flow matters most, a new task doesn't start with that conversation. You'd need to say it again, or put it somewhere the next task reads.
What people try first
Opening localhost in their own browser. The address points to the task's cloud computer. Use HTTP Previews instead.
Expecting the next task to have the app running. Each new task starts in its own workspace.
Leaving work uncommitted for weeks. Saved VM state is recoverable for up to seven days after you last start a turn or resume the task.
Relying on personal skills. Skills from your local computer aren't synced to cloud environments; skills in the repository are.
Assuming the tools are in every task. They aren't, and the Desktop viewer varies by app version and workspace.
The Fix: Make cloud tests repeatable and context easy to reuse
Step 1: Save the setup that works
When a task's environment finally runs your app and its checks, use Save for future chats so new tasks start from it.
Step 2: Write the test steps down
Turn the steps Codex used in the browser into a short checklist, or a Playwright test, and commit it to the repository.
Step 3: Commit what you need
Don't leave important work in saved state. Commit it or save the output.
Step 4: Keep the project context in one place
Write the details you keep repeating, such as which pages matter, which test accounts exist, and how to start the app, in a short note you can reuse.
Setting this up in MemoryLake
Repository files and saved environments cover a lot. But some context doesn't belong in the repository, such as decisions about which bugs to reproduce first, notes from a support ticket, or which flows a customer cares about. And that context is often needed in more than one assistant.
MemoryLake is a memory layer for that kind of project context, kept in one place you maintain and available to the assistants you connect, such as ChatGPT, Claude Code, and Codex.
You write the entries yourself. Nothing is read out of, written to, or deleted from your Codex Cloud tasks, environments, saved VM state, repositories, or any vendor's store. Codex Cloud works the way OpenAI describes it.
Step 1: Create an API key
Sign in and generate a key from the dashboard. Keep it somewhere private.

Step 2: Upload your first memories
Start with the note from Step 4 of the fix: how to start the app, which pages and flows to check, and which test accounts to use.

Step 3: Connect your AI & agents
Connect Codex, ChatGPT, Claude Code, and the other assistants you use, so the same project context is there in each.

What this changes in practice
The first difference is less repetition. A new cloud task doesn't start with the previous conversation, so a short, reusable note saves you from explaining the same test plan again.
The second is consistency across tools. If you check a bug in Codex Cloud and discuss the fix in another assistant, both start from the same notes.
The third is clearer boundaries. The repository holds code and tests, the environment holds the setup, and your notes hold the decisions.
Best practices for Codex Cloud browser and computer use
Give Codex the start command and port. It needs both to open the app.
Describe the check, not just the fix. Say what should happen after a reload, a click, or a form submission.
Watch the first run. Open Desktop to see how Codex tests, and take over if needed.
Use HTTP Previews to try it yourself. Only you can open the private link.
Turn repeat checks into Playwright tests. They don't depend on Browser Use being available.
Commit before you walk away. Saved state has a time limit.
Keep test data out of chat when you can. Put reusable details in a note or the repository.
Conclusion
Codex Cloud can now use a browser and a desktop inside a task. Codex can start your app, open it in the cloud browser, act on the page, and check the result, and you can watch or take over from the Desktop panel, or try the app yourself through a private HTTP Preview. For repeatable checks, headless Playwright tests are still the better fit, and they don't use Browser Use or Computer Use.
What a task keeps is its own: its files, uncommitted changes, and installed tools, recoverable for up to seven days after you last start a turn or resume it. A new task starts in its own workspace, so save the setup that works, commit what matters, and write down the context you'd otherwise repeat.