How YOLO Studio runs Gemini CLI
An API key, delivered to the session
Add a Gemini API key once and it is set as GEMINI_API_KEY in each session. Gemini CLI’s Google sign-in needs a browser on the same machine, so in a cloud workspace the key is the way in.
Your GEMINI.md
The workspace is a clone of your repository, so the GEMINI.md context files you have committed apply exactly as they do locally.
Workspace tools over MCP
Gemini CLI comes connected to YOLO Studio’s MCP server. It can open preview tiles, create and update Kanban cards, and work the Background Runner, with a token scoped to that one session.
A second model family
Running Gemini next to Claude Code or Codex gives you a second opinion from a different model family: have one agent build and another review, each in its own lane.
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 Gemini CLI running
Create a workspace
Sign in with GitHub, choose New Workspace, and pick the repository to work on.
Add a Gemini CLI tile
Choose Gemini 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
Add your Gemini 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 Gemini CLI and your other agents, each in its own lane. The guides below walk through it.
Questions
Can I sign in with my Google account instead of an API key?
Not inside a workspace. Gemini CLI’s Google sign-in completes in a browser on the machine running the CLI, which a cloud workspace does not have, so use a Gemini API key.
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