---
title: "OpenCode AI coding agent on a VPS · CloudSat"
description: "Run OpenCode on a CloudSat VPS: a terminal AI coding agent with build and plan agents, MCP servers and support for many model providers, MIT-licensed."
url: https://cloudsat.io/apps/deploy-opencode
updated: 2026-11-18T15:52:35Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Automation](https://cloudsat.io/apps/category/workflow-automation)

# OpenCode on a VPS

OpenCode is an MIT-licensed AI coding agent with a terminal UI, build and plan agents, subagents and many model providers, extended through MCP servers and plugins.

[Deploy OpenCode](https://dash.cloudsat.io/console/deploy?image=app%3Aopencode&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About OpenCode

OpenCode is an open-source coding agent with a full terminal interface. The default build agent edits files and runs commands, a read-only plan agent explores without touching code, and a general subagent takes on multistep searches.

It is provider-agnostic: link hosted models with `/connect`, use a subscription, or point it at local ones, and extend it with MCP servers, plugins and custom commands. On a CloudSat VPS, long tasks keep running in `tmux` after you log off.

The `opencode` CLI is installed and ready to start inside any repository, and `opencode run` handles one-off prompts in scripts and CI.

## What you get with OpenCode

- Terminal UI with build, plan and general agents
- Tab switches between the primary agents
- Many built-in providers plus custom ones
- MCP servers, plugins and custom commands
- Non-interactive `opencode run` for scripts

## OpenCode use cases

- Plan a change read-only, then let the build agent implement it
- Automate code fixes in CI with `opencode run`
- Keep an agent session alive on a remote box

## After you deploy OpenCode

1. Open an SSH session after the console lists the server as **Running**, then create a non-root user for development.
2. Clone a repository, start `tmux`, and launch `opencode` inside the project.
3. Type `/connect` to link a model provider, then press Tab to move between the build and plan agents.
4. Script recurring jobs with `opencode run '<prompt>'`, and keep provider keys out of the repository.

## OpenCode ports

Open these in your firewall if you use one: `22/tcp SSH`.

## OpenCode FAQ

### What separates the build and plan agents?

Build has full access to edit files and run tools. Plan is read-only: it denies edits by default and asks before shell commands, which suits reviews and exploration.

### Does OpenCode need a paid subscription?

No. Bring your own key for a supported provider or run a local model; OpenCode also sells optional model access of its own.

**Disclaimer.** The OpenCode project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like OpenCode

[All apps in Automation](https://cloudsat.io/apps/category/workflow-automation)

- [Claude Code](https://cloudsat.io/apps/deploy-claude-code): Self-hosted Claude Code is Anthropic's agentic coding tool for the terminal. On a CloudSat server, long sessions keep going after you close your laptop.
- [aider](https://cloudsat.io/apps/deploy-aider): Self-hosted aider is an open-source AI pair programmer for the terminal: it edits files across your git repo with the model you choose and commits every change.
- [Kilo CLI](https://cloudsat.io/apps/deploy-kilo-cli): Automation Kilo CLI is an MIT-licensed terminal coding agent that plans, edits files and runs commands with the model you choose.
- [Oh My Pi](https://cloudsat.io/apps/deploy-oh-my-pi): Automation Oh My Pi (omp) is an MIT-licensed terminal coding agent forked from Pi, adding hash-anchored edits, LSP awareness, browser control, subagents and MCP.
- [Activepieces](https://cloudsat.io/apps/deploy-activepieces): Automation Activepieces is an open-source Zapier alternative: a visual flow builder, 280+ integrations, code steps and AI agents, running on a server you control.
- [AdClaw](https://cloudsat.io/apps/deploy-adclaw): Automation AdClaw runs a team of AI marketing agents on your server, each with its own persona, model, skills and schedule, managed from a web dashboard or Telegram.
