CODEX CLI ON VAGON

Run Codex on its own machine.

Run Codex on its own machine.

Run Codex on its own machine.

Install the OpenAI Codex CLI on a Vagon Windows or Ubuntu computer: an isolated cloud VM with a GPU and your apps. Watch it work in the browser and take over when it gets stuck.

Install the OpenAI Codex CLI on a Vagon Windows or Ubuntu computer: an isolated cloud VM with a GPU and your apps. Watch it work in the browser and take over when it gets stuck.

Install the OpenAI Codex CLI on a Vagon Windows or Ubuntu computer: an isolated cloud VM with a GPU and your apps. Watch it work in the browser and take over when it gets stuck.

$0.99 trial · 1 hour + 7-day storage · billed by the minute

● ● ● Vagon Computer · agent session

Vagon Computer · agent session

GUIDE AVAILABLE

codex

> Inspect the active SolidWorks document. Report whether it is a part, assembly or drawing. Do not modify anything.

● MCP: connected to SolidWorks

● Computer Use: reading the FeatureManager tree

✓ Read-only report ready: part, 3 configurations

A CAD part in a 3D viewport on a Vagon computer while Codex inspects the document

PERFORMANCE

Planet $0.99/h

Spark $1.67/h

WHY VAGON

Why run Codex on Vagon.

Why run Codex on Vagon.

Why run Codex on Vagon.

● 01

Codex reads and edits files, runs commands and calls MCP servers. Give it a machine built for that: a Windows or Ubuntu computer with a GPU, away from your laptop’s files and keys.

Codex reads and edits files, runs commands and calls MCP servers. Give it a machine built for that: a Windows or Ubuntu computer with a GPU, away from your laptop’s files and keys.

Codex reads and edits files, runs commands and calls MCP servers. Give it a machine built for that: a Windows or Ubuntu computer with a GPU, away from your laptop’s files and keys.

Installs in one command

The Codex CLI has standalone installers for Windows and Linux, plus npm. Run one in a terminal on your Vagon computer; nothing goes on your laptop.

Sandboxed, then isolated

Codex’s default workspace-write sandbox limits writes to your project folder and keeps network access off. It all runs on a separate Vagon VM, away from your laptop’s files.

MCP server, app and GPU together

Register an app’s MCP server with codex mcp add on the same computer. RTX-enabled NVIDIA GPUs and 149 preinstalled apps, or install your own.

Watch it, take over, reset

It is a live desktop in your browser: grab the mouse when Codex gets stuck. Reset to a clean image after a risky run; shut down and the meter stops.

SETUP

Codex on Vagon, in four steps.

Codex on Vagon, in four steps.

Codex on Vagon, in four steps.

● 02

Commands come from OpenAI’s Codex docs. The MCP commands depend on the server you pick for each app; Vagon’s guides list them per app.

Commands come from OpenAI’s Codex docs. The MCP commands depend on the server you pick for each app; Vagon’s guides list them per app.

Commands come from OpenAI’s Codex docs. The MCP commands depend on the server you pick for each app; Vagon’s guides list them per app.

01

Create a computer with your apps

Create a computer with your apps

Pick Windows for the app guides (SolidWorks needs Windows) or Ubuntu for coding and browser work. Add your apps and Vagon installs them before you connect.

02

Install Codex and sign in

Install Codex and sign in

Open a terminal on the Vagon computer, run OpenAI’s installer, then start codex in your project folder and sign in with your own ChatGPT account or another sign-in method OpenAI offers. Nothing gets installed on your laptop.

TERMINAL · VAGON COMPUTER

curl -fsSL https://chatgpt.com/codex/install.sh | sh

codex

curl -fsSL https://chatgpt.com/codex/install.sh | sh

codex

Ubuntu shown. On Windows use the PowerShell installer or npm install -g @openai/codex from OpenAI’s docs. Vagon supplies no AI access or keys.

03

Add AGENTS.md and connect MCP

Add AGENTS.md and connect MCP

Codex reads AGENTS.md before it does any work, so put build and test rules there. Register each app’s MCP server with codex mcp add (or a [mcp_servers] table in config.toml) and check it with codex mcp list.

MCP servers

codex mcp add freecad -- uvx freecad-mcp

codex mcp add figma --url https://mcp.figma.com/mcp

codex mcp add freecad -- uvx freecad-mcp

codex mcp add figma --url https://mcp.figma.com/mcp

A local and a remote server, from the Codex FreeCAD and Figma guides.

AGENTS.md

mkdir -p ~/.codex

mkdir -p ~/.codex

Global rules go in ~/.codex/AGENTS.md. Add an AGENTS.md in the repository root for project rules.

04

Start read-only, then widen the sandbox

Start read-only, then widen the sandbox

Pick how much Codex may do. The default Auto preset (workspace-write sandbox, on-request approvals) edits files in your working folder and asks before leaving it or using the network. For a look-only first run use read-only, or switch with /permissions.

FIRST RUN

codex --sandbox read-only --ask-for-approval on-request

Inspect the active SolidWorks document and report

whether it is a part, assembly, or drawing. Do not modify anything.

codex --sandbox read-only --ask-for-approval on-request

Inspect the active SolidWorks document and report

whether it is a part, assembly, or drawing. Do not modify anything.

A read-only first run, with a prompt from the Codex + SolidWorks guide.

CODEX GUIDES

Codex workflows, app by app.

Codex workflows, app by app.

Codex workflows, app by app.

● 03

Step-by-step setups with MCP and Computer Use from the Vagon blog. Pick an app and follow the guide on your own Vagon computer.

Step-by-step setups with MCP and Computer Use from the Vagon blog. Pick an app and follow the guide on your own Vagon computer.

Step-by-step setups with MCP and Computer Use from the Vagon blog. Pick an app and follow the guide on your own Vagon computer.

COST

Pay for the minutes your agent runs.

Pay for the minutes your agent runs.

Pay for the minutes your agent runs.

● 04

Each performance has its own hourly rate, billed by the minute. Shut the computer down and the meter stops. Your ChatGPT plan or API usage is billed separately by OpenAI.

Each performance has its own hourly rate, billed by the minute. Shut the computer down and the meter stops. Your ChatGPT plan or API usage is billed separately by OpenAI.

Each performance has its own hourly rate, billed by the minute. Shut the computer down and the meter stops. Your ChatGPT plan or API usage is billed separately by OpenAI.

RECOMMENDED FOR AGENTS

Planet

RECOMMENDED

$0.99/hour

4 cores · 16 GB T4 GPU · 16 GB RAM

Spark

RECOMMENDED

$1.67/hour

4 cores · 24 GB GPU · 16 GB RAM

TRIAL

$0.99

$0.99

1 hour of Planet (or equivalent Spark) and 7-day storage.

By the minute

1-minute billing increments.

$7.99 / month

Personal storage plan with a 75 GB disk, so your apps and files stay.

11 performances

Switch between them and keep files and apps.

Rates can change based on usage, data transfers and regions. Storage plan not included in hourly rates.

WORKING WITH CODEX

AGENTS.md, config.toml and approvals.

AGENTS.md, config.toml and approvals.

AGENTS.md, config.toml and approvals.

● 05

Details from OpenAI’s Codex docs at learn.chatgpt.com/docs.

Details from OpenAI’s Codex docs at learn.chatgpt.com/docs.

Details from OpenAI’s Codex docs at learn.chatgpt.com/docs.

AGENTS.md, config and sandbox

AGENTS.md is read first. Codex loads ~/.codex/AGENTS.md, then each AGENTS.md from the project root down to your folder. Closer files win, up to 32 KiB combined by default.

config.toml holds defaults. Personal settings live in ~/.codex/config.toml. Trusted projects can add a .codex/config.toml with overrides.

Three sandbox modes. read-only, workspace-write and danger-full-access. Workspace-write keeps network access off unless you enable it.

Approvals. on-request asks when Codex needs to step outside the sandbox. Setting never turns prompts off, so pair it with a sandbox you trust.

MCP on the Vagon computer

Add servers from the CLI. codex mcp add <name> -- <command> registers a local server; add --url for a remote one. codex mcp login handles OAuth.

Or edit config.toml. Each server is a [mcp_servers.name] table with a command and args. Scope it to one project in .codex/config.toml.

Pick up a saved chat. codex resume reopens a recent chat from the current repository.

You bring OpenAI access and licenses. Sign in with your own ChatGPT account or another OpenAI method. Apps such as SolidWorks or Premiere Pro need your own license on the computer.

FAQ

Frequently asked questions.

Frequently asked questions.

Frequently asked questions.

How do I install Codex CLI on a Vagon computer?

Does Vagon provide OpenAI access or API keys?

How do I connect an app over MCP?

Where do AGENTS.md and config.toml go?

What do the sandbox and approvals do?

GET STARTED

Give Codex its own machine.

Give Codex its own machine.

Give Codex its own machine.

Create a computer, install Codex and watch it work. $0.99 for the first hour and 7 days of storage.