Early access: your personal sandbox is free, with $5 in model credits included. AQ adds no markup on your model usage. Start free

aq.dev / agents / opencode

Run OpenCode with your whole team, in your own cloud

OpenCode is the open source AI coding agent: an MIT licensed harness from the Anomaly team (the people previously known for SST) that runs as a terminal TUI, a desktop app in beta, and IDE extensions, and connects to 75+ model providers plus local models, per its documentation as of August 2026. AQ runs OpenCode in cloud workspaces your whole team shares: the same live terminal, code editor, and app preview, streamed to everyone's browser. Sessions run in tmux on a VM you control, so they survive closed laptops, and each workspace gets its own isolated git worktree, so parallel runs never collide.

This page covers what OpenCode is and how its model access actually works today, how to wire Linear into it over MCP, and what changes when you run it inside AQ instead of on one person's machine.

What OpenCode is, and why teams pick it

OpenCode's defining trait is that it is not tied to one model vendor. Its documentation, as of August 2026, describes support for 75+ LLM providers through the AI SDK and Models.dev, plus local models served by tools like Ollama and LM Studio through OpenAI-compatible endpoints. You can switch models mid-session, and configuration lives in a versionable opencode.json file at the project root, which makes team-wide conventions easy to commit alongside the code.

The harness itself is featureful in ways that matter for real work:

Model access in OpenCode, as of August 2026

Because OpenCode is a third-party harness rather than a model vendor's own CLI, how you pay for models is the detail worth getting right, and it changed this year. As of August 2026:

The practical upshot for a team: budget OpenCode as metered usage (provider keys or Zen), except where a ChatGPT subscription covers it. If part of your team prefers subscription-covered Claude, the supported path for that is Anthropic's own Claude Code CLI, and there is no reason to choose: both are just CLIs, and they can run side by side.

Connect Linear to OpenCode over MCP

Linear ships an official hosted MCP server, so OpenCode can read and update issues without any local install. Add it to your project's opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "linear": {
      "type": "remote",
      "url": "https://mcp.linear.app/mcp",
      "enabled": true
    }
  }
}

On first use, OpenCode's OAuth support opens a browser window to authorize your Linear workspace, then reuses the credential. If you want the agent to read issues but never touch them, Linear also hosts a read-only variant at https://mcp.linear.app/mcp/readonly. From there, prompts like "read ENG-142 and implement it" or "comment your plan on the issue" work directly. The same server works across harnesses, so the setup notes in connecting Linear to Codex and adding Linear MCP to Claude Code translate almost verbatim.

What running OpenCode in AQ adds

AQ is the multiplayer coding harness where engineering teams run AI coding agents like Claude Code and Codex together: shared live terminals, a code editor, and app previews, in your own cloud. OpenCode single-player is excellent. What AQ adds is everything that starts to matter the moment more than one person cares about the work:

How setup works

Create a workspace (from a prompt, a branch, or a Linear issue), open its terminal, and install OpenCode with the standard one-line installer, exactly as you would on any Linux box. Sign in to your providers with OpenCode's own /connect flow, once per user: your keys and accounts, on your team's VM, with AQ never marking up or reselling model usage. On the Free plan agents run on a personal sandbox machine AQ creates for you in an isolated network; on the Team plan they run on VMs you connect from your own cloud or on a dedicated always-on AQ-managed VM. Teammates who open the workspace join the same session with nothing to install.

What AQ deliberately does not change

AQ is a harness, not a fork. The OpenCode inside an AQ workspace is the unmodified CLI in a real terminal: your opencode.json, your custom agents, your MCP servers, your provider logins. When the OpenCode team ships a feature, you have it the moment the CLI updates. And if you leave AQ, the workflow ports out cleanly, because it was always just OpenCode, git worktrees, and tmux.

OpenCode alongside every other agent

AQ is agent-agnostic: the same workspace model runs Claude Code, Codex, Cursor Agent, Kimi, Grok, and plain shells. Teams use that for side-by-side comparisons (same task, OpenCode with one model in one worktree, Claude Code in another) and for mixing billing models: subscription-covered agents where a subscription exists, OpenCode with metered keys or local models where flexibility wins.

Frequently asked questions

How do I connect Linear to OpenCode?

Add Linear's hosted MCP server to your opencode.json: a remote MCP entry pointing at https://mcp.linear.app/mcp. On first use OpenCode opens a browser window to authorize your Linear workspace over OAuth, and a read-only endpoint (/mcp/readonly) is available if the agent should never modify issues. Inside AQ you also get native Linear intake without MCP: label an issue "ai-task" and a workspace appears, with status syncing both ways. See AQ's Linear integration docs.

Can I use my Claude Pro or Max subscription with OpenCode?

No. As of August 2026, Anthropic's terms do not permit Claude subscriptions to be used through third-party harnesses, and OpenCode's documentation notes it no longer bundles that sign-in. Claude models in OpenCode run on a metered Anthropic API key or through OpenCode Zen. If you want subscription-covered Claude, run Anthropic's own Claude Code CLI, which in AQ can sit in the workspace right next to OpenCode.

Is OpenCode free?

The harness is free and open source under the MIT license. You pay for model usage: your own provider API keys, a ChatGPT Plus or Pro subscription for OpenAI models, pay-as-you-go through OpenCode Zen, or nothing at all with a locally served open-weight model. AQ never marks up any of it; model billing stays between you and your providers.

Can several people use one OpenCode session at the same time?

OpenCode's built-in /share command publishes a read-only transcript link, which is useful for showing a conversation but does not let anyone else drive. An AQ workspace streams the live tmux session itself: everyone with access sees the same terminal in real time, and the session owner can approve a one-click control request to let a teammate type, while keeping their own input.

Does OpenCode cost extra inside AQ?

No. Model usage is billed by your providers exactly as it would be locally. AQ itself has a Free plan (a personal sandbox for one person: AQ creates a private machine in an isolated network, nothing to install, no time limit) and a Team plan at $50 per user per month early access (standard $200, billed monthly), covering VMs you connect from your own cloud or a dedicated always-on AQ-managed VM, with your rate locked for your first 12 months.