6computer is asleep. Use it on the web, on mobile, or in the desktop app to edit6computer is asleep. Use it on the web, on mobile, or in the desktop app to edit
7code, run commands, and review results.7code, run commands, and review results.
8 8
9A **cloud environment** is the reusable setup that tasks use: repositories,9Each cloud task runs in its own workspace. If the default environment is
10dependencies, tools, and access settings. Codex inspects your repositories,10available, you can start without choosing a repository. To reuse a setup across
11prepares the setup, and tests it with you. Each new task gets its own isolated11tasks, select [**Create environment**](#create-and-publish-an-environment), choose the repositories, dependencies,
12workspace from the published environment.12tools, and access settings your tasks need, then publish the environment.
13 13
14For an introduction, see the [Codex Cloud overview](https://learn.chatgpt.com/docs/cloud).14For an introduction, see the [Codex Cloud overview](https://learn.chatgpt.com/docs/cloud).
15 15
20 20
21## Start a task in Codex Cloud21## Start a task in Codex Cloud
22 22
23On the web or in the [desktop app](https://learn.chatgpt.com/docs/app), choose **Work in** > **Cloud**23On the web or in the [desktop app](https://learn.chatgpt.com/docs/app), choose **Work in** > **Cloud**.
24and select a published environment. On mobile, open **Codex** and select a24On mobile, open **Codex**. If the default environment appears in the picker,
25published environment. Describe what you want Codex to do and send the request.25select it and describe your task.
26If you need a new setup, [create an environment](#create-and-publish-an-environment)26
27- **Without a project**, you can start without a repository. For example, ask
28 Codex to write and test a script using sample data. If the task later needs
29 existing code, tell Codex which repository to clone.
30- **From a project in the desktop app**, the default environment can
31 automatically use repositories associated with that project when they are
32 hosted on GitHub.com and you have connected your GitHub account. This
33 automatic project setup doesn't include GitLab repositories.
34
35Adding a repository to a running task is separate from this automatic project
36setup. You can ask Codex to clone a repository the environment can access,
37including when you start the task on mobile. To check out a GitLab.com repository through
38the repository picker, [create a reusable environment](#create-and-publish-an-environment)
27on the web or in the desktop app.39on the web or in the desktop app.
28 40
29Enterprise admins can [review workspace access](https://learn.chatgpt.com/docs/enterprise/admin-setup#step-5-configure-codex-cloud)41To use a setup you've already prepared or one shared with you, select the
30before rolling out Codex Cloud.42published environment instead. In Enterprise workspaces, use a published
43environment you have access to. Admins can [review workspace access](https://learn.chatgpt.com/docs/enterprise/admin-setup#step-5-configure-codex-cloud).
31 44
32## Create and publish an environment45## Create and publish an environment
33 46
34Create new environments on the web or in the [desktop app](https://learn.chatgpt.com/docs/app).47Create a reusable environment on the web or in the [desktop app](https://learn.chatgpt.com/docs/app)
48when you want to reuse repositories, tools, or access settings across tasks.
35Sign in with your ChatGPT account:49Sign in with your ChatGPT account:
36 50
371. In a new task, choose **Work in** > **Cloud**, open **Select environment**,511. In a new task, choose **Work in** > **Cloud**, open **Select environment**,
38 and select **Create environment**.52 and select **Create environment**.
392. Select the GitHub repositories to check out. Connect GitHub if prompted.532. Select the repositories to check out. Connect GitHub if prompted. If
54 GitLab is available in the repository picker, select your GitLab.com
55 connection and search for the repository.
403. Select **Get started**. Codex inspects the repositories, installs dependencies563. Select **Get started**. Codex inspects the repositories, installs dependencies
41 and tools, and tests the workflow.57 and tools, and tests the workflow.
424. Supply missing access or information when asked. You can also request584. Supply missing access or information when asked. You can also request
92 108
93## Reuse and update saved state109## Reuse and update saved state
94 110
95- **New task:** starts from the published environment's prepared filesystem.111- **New task in a published environment:** starts from the environment's prepared filesystem.
96- **Existing task:** continues with its own saved files, including uncommitted112- **Existing task:** continues with its own saved files, including uncommitted
97 changes and installed tools.113 changes and installed tools.
98- **Repository refresh:** runs automatically in the background, preserving114- **Repository refresh:** runs automatically in the background, preserving
417 433
418## Run and return to a task434## Run and return to a task
419 435
420Select a published environment and describe your goal. Codex uses its436Describe your goal in the chat. Codex can edit files, run commands, and
421repositories and tools to edit files, run commands, and check its work.437check its work.
422Review changes and test results before committing or opening a pull request.438Review changes and test results before committing or opening a pull request.
423 439
424### Continue on web or mobile440### Continue on web or mobile
427open **Codex** and choose an available environment. Create new environments443open **Codex** and choose an available environment. Create new environments
428on the web or in the desktop app.444on the web or in the desktop app.
429 445
430Reopen the same task to continue its work across devices. A new task starts446Reopen the same task to continue its work across devices. Each new task starts in its own workspace. Tasks in Codex Cloud can keep working while
431separate work from the published setup. Tasks in Codex Cloud can keep working while
432your computer is asleep.447your computer is asleep.
433 448
434<a id="start-work-from-a-team-conversation"></a>449<a id="start-work-from-a-team-conversation"></a>
475The following capabilities aren't currently supported in cloud environments490The following capabilities aren't currently supported in cloud environments
476and are on our roadmap:491and are on our roadmap:
477 492
478- Computer and browser use493- Computer use
479- GitLab and self-hosted GitHub Enterprise Server494- Self-hosted GitHub Enterprise Server
480 495
481Skills stored in your repository are available in cloud tasks. Personal skills496Skills stored in your repository are available in cloud tasks. Personal skills
482from your local computer aren't synced to cloud environments.497from your local computer aren't synced to cloud environments.