OPENCODE ON VAGON

Run OpenCode on its own machine.

Run OpenCode on its own machine.

Run OpenCode on its own machine.

Install OpenCode, the open-source AI coding agent for the terminal, 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 OpenCode, the open-source AI coding agent for the terminal, 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 OpenCode, the open-source AI coding agent for the terminal, 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

opencode

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

● MCP: connected to SolidWorks

● Plan agent: file edits denied, read-only

✓ Read-only report ready: part, 3 configurations

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

PERFORMANCE

Planet $0.99/h

Spark $1.67/h

WHY VAGON

Why run OpenCode on Vagon.

Why run OpenCode on Vagon.

Why run OpenCode on Vagon.

● 01

OpenCode 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.

OpenCode 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.

OpenCode 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

OpenCode has an install script for Linux, plus npm, and Chocolatey or Scoop on Windows. Run one in a terminal on your Vagon computer; nothing goes on your laptop.

Permissions, then isolated

OpenCode’s permissions let you allow, ask or deny edits and commands, and the Plan agent denies edits by default. It all runs on a separate Vagon VM, away from your laptop’s files.

MCP server, app and GPU together

Add an app’s MCP server to your OpenCode config 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 OpenCode gets stuck. Reset to a clean image after a risky run; shut down and the meter stops.

SETUP

OpenCode on Vagon, in four steps.

OpenCode on Vagon, in four steps.

OpenCode on Vagon, in four steps.

● 02

Commands come from OpenCode’s docs at opencode.ai/docs. The MCP setup depends on the server you pick for each app; Vagon’s Codex guides list them per app.

Commands come from OpenCode’s docs at opencode.ai/docs. The MCP setup depends on the server you pick for each app; Vagon’s Codex guides list them per app.

Commands come from OpenCode’s docs at opencode.ai/docs. The MCP setup depends on the server you pick for each app; Vagon’s Codex 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 OpenCode and connect a model

Install OpenCode and connect a model

Open a terminal on the Vagon computer, run OpenCode’s install script, then start opencode in your project folder and run /connect to add your own model provider and API key. Nothing gets installed on your laptop.

TERMINAL · VAGON COMPUTER

curl -fsSL https://opencode.ai/install | bash

opencode

curl -fsSL https://opencode.ai/install | bash

opencode

Ubuntu shown. On Windows use choco install opencode, scoop install opencode or npm install -g opencode-ai from OpenCode’s docs. Vagon supplies no AI access or keys.

03

Add AGENTS.md and connect MCP

Add AGENTS.md and connect MCP

OpenCode reads AGENTS.md for project rules, so put build and test rules there; /init creates it. Add each app’s MCP server under the mcp key in opencode.json and check it with opencode mcp list.

MCP servers

opencode mcp add

opencode mcp list

opencode mcp add

opencode mcp list

Add a server with the guided command, then check its status.

AGENTS.md

mkdir -p ~/.config/opencode

mkdir -p ~/.config/opencode

Global rules go in ~/.config/opencode/AGENTS.md. Run /init in a project to create an AGENTS.md in the repository root.

04

Start in Plan, then switch to Build

Start in Plan, then switch to Build

Pick how much OpenCode may do. Build, the default agent, has all tools enabled; Plan denies file edits by default. Press Tab to switch agents, or set allow, ask or deny per tool under permission in opencode.json.

FIRST RUN

opencode --agent plan

Inspect the active SolidWorks document and report

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

opencode --agent plan

Inspect the active SolidWorks document and report

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

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

AGENT GUIDES

MCP workflows, app by app.

MCP workflows, app by app.

MCP workflows, app by app.

● 03

These Codex guides set up apps with MCP and Computer Use. MCP servers are standard, so you can add the same ones to OpenCode; steps may differ.

These Codex guides set up apps with MCP and Computer Use. MCP servers are standard, so you can add the same ones to OpenCode; steps may differ.

These Codex guides set up apps with MCP and Computer Use. MCP servers are standard, so you can add the same ones to OpenCode; steps may differ.

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 model provider usage or API keys are billed separately by that provider.

Each performance has its own hourly rate, billed by the minute. Shut the computer down and the meter stops. Your model provider usage or API keys are billed separately by that provider.

Each performance has its own hourly rate, billed by the minute. Shut the computer down and the meter stops. Your model provider usage or API keys are billed separately by that provider.

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 OPENCODE

AGENTS.md, opencode.json and permissions.

AGENTS.md, opencode.json and permissions.

AGENTS.md, opencode.json and permissions.

● 05

Details from OpenCode’s docs at opencode.ai/docs.

Details from OpenCode’s docs at opencode.ai/docs.

Details from OpenCode’s docs at opencode.ai/docs.

AGENTS.md, config and agents

AGENTS.md holds the rules. OpenCode reads it from the project root and from ~/.config/opencode/AGENTS.md. It falls back to CLAUDE.md only when no AGENTS.md exists.

opencode.json holds defaults. Personal settings live in ~/.config/opencode/opencode.json. An opencode.json in the repo root is merged on top.

Two built-in agents. Build has all tools enabled; Plan denies file edits. Press Tab to switch between them during a session.

Permissions. Each tool takes allow, ask or deny. Plan does not restrict bash, so set bash to ask on it for a strict look-only run.

MCP on the Vagon computer

Define servers under mcp. A local server has type local and a command array; a remote one has type remote and a url. opencode mcp list shows status.

Sign in when needed. opencode mcp auth <name> signs in to OAuth servers. opencode mcp logout <name> removes the saved credentials.

Pick up a saved chat. opencode --continue reopens the last session; /sessions lists the rest.

You bring the model and licenses. Run /connect to add your own provider and API key, or use OpenCode Zen. 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 OpenCode on a Vagon computer?

Does Vagon provide model access or API keys?

How do I connect an app over MCP?

Where do AGENTS.md and opencode.json go?

How do agents and permissions work?

GET STARTED

Give OpenCode its own machine.

Give OpenCode its own machine.

Give OpenCode its own machine.

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