How YOLO Studio runs Codex CLI
Full access, no approval prompts
Codex is configured with approval_policy = "never" and sandbox_mode = "danger-full-access". Its own command sandbox would only get in the way here: the workspace is already a virtual machine that holds nothing but this project.
Your AGENTS.md
The workspace is a clone of your repository, so the AGENTS.md instructions you have committed apply exactly as they do locally.
Workspace tools over MCP
Codex comes connected to YOLO Studio’s MCP server. It can open preview tiles, create and update Kanban cards, publish artifacts, and read or message other agents’ tiles, with a token scoped to that one session.
Restart & Resume
Restart a Codex tile and pick the same conversation back up, instead of starting from a blank context.
What the workspace gives it
A sandbox, not your laptop
Every workspace is a secure Linux sandbox running in its own virtual machine. The agent works on your repository inside it, as a non-root user, with your files kept between sessions. It cannot reach your laptop, your other projects or anyone else’s workspace.
One lane per agent
Start an agent in its own lane and it gets its own git clone on a lane/<name> branch, so agents working side by side never share a git index or step on each other’s changes. The Quick Lane button starts your primary agent in a fresh lane in one click.
See the result running
Run your app in a preview tile next to the agent. When the agent saves a file, the preview reloads, and one command ships what is in the preview to a yolo.host address.
Git that just works
Connect a GitHub repository (or host one inside YOLO) when you create the workspace. It is cloned and configured for you, so git commit, git push and gh pr create work in the agent’s session without extra setup.
Getting Codex running
Create a workspace
Sign in with GitHub, choose New Workspace, and pick the repository to work on.
Add a Codex tile
Choose Codex CLI from the tile picker. It is already installed in the sandbox, so there is nothing to download. Pick the main workspace or a new lane to run it in.
Connect your access
Sign in with your ChatGPT plan or add an OpenAI API key from Agent access. Credentials are delivered to the session, never shared with other workspaces or users.
Give it the job
Type into the tile, or drag files onto it. The shortcut bar sends common follow-ups in one click: Commit & Push, Pull Latest, Merge to Main and Continue.
For more than one task at a time, put the work on a Kanban board and let the Background Runner hand cards to Codex and your other agents, each in its own lane. The guides below walk through it.
Questions
Is this OpenAI’s hosted Codex?
No. OpenAI also offers Codex as a hosted service. This page is about the open-source Codex CLI, which YOLO Studio runs inside your own workspace, next to your other agents and your running app.
Do I need an OpenAI API key?
No. You can sign in with a ChatGPT plan instead, or use an API key if you prefer. Either is set up once from Agent access.
Can I run it alongside other agents?
Yes. Claude Code, Codex CLI, Gemini CLI and OpenCode are pre-installed, and agents such as Muse Code, GitHub Copilot, Aider, Goose and Qwen Code install the first time you pick them. Put each one in its own lane and they work on the same repository without colliding.
Does it stop when I close the tab?
No. The agent runs in the cloud workspace, not in your browser, and closing its tile does not stop it. Cards queued on a Kanban board keep moving through the Background Runner. A workspace left idle long enough is paused, with its files kept for when you resume.
Keep reading
Try it on your own repository
Sign in with GitHub, open a workspace on your repository, and put your first agent to work in a few minutes.
Get started