Files
paseo/public-docs/supported-providers/opencode.md
T
Mohamed Boudra 50b2c7f9d9 Give every natively supported provider a docs page (#10114)
Supported providers is now an index: one list of natively supported providers and one list of ACP agents from the in-app catalog. Each natively supported provider has a setup page under /docs/supported-providers/, and the docs sidebar shows those pages as one collapsible item. /docs/claude-code, /docs/codex, and /docs/muse-code redirect to the new location.

Also adds landing pages for fx and Hoplite, lists fx in the 0.16.0 changelog highlights, lists every docs page in llms.txt, and gives the plugin sidebar views page its frontmatter.
2026-11-18 19:15:14 +07:00

43 lines
1.4 KiB
Markdown

---
title: OpenCode
description: Install OpenCode and run it in Paseo.
nav: OpenCode
order: 31
category: Providers
---
# OpenCode
Run OpenCode in Paseo with your existing `opencode` installation, credentials, and configuration.
## Getting started
1. Install [OpenCode](https://opencode.ai/) on your daemon host:
```bash
npm install -g opencode-ai
```
2. Connect OpenCode to a model provider, and make sure that `opencode` runs in a terminal.
3. In Paseo, choose **OpenCode** when you start an agent.
If you use OpenCode v2, install version 2.0.10 or newer. Paseo rejects older v2 versions.
If `opencode` is outside your daemon's PATH, use a [command override](/docs/custom-providers#custom-binary).
## Modes
Paseo shows the agents of OpenCode as modes.
| Mode | Effect |
| ----- | ----------------------------------------------- |
| Build | Allows edits and tool execution. |
| Plan | Read-only planning. OpenCode avoids file edits. |
Primary agents that you define in OpenCode appear in the same list.
## See also
- [OpenCode with an existing v2 server](https://github.com/getpaseo/paseo/blob/main/docs/custom-providers.md#opencode-with-an-existing-v2-server) on GitHub, to make Paseo use an OpenCode server that is already running.
- [Provider options](/docs/sdk/provider-options#opencode), to set OpenCode permission rules for agents created from the SDK.