# Code review with OpenCode

URL: https://codepanel.ai/agents/opencode

OpenCode, Anomaly's coding agent, in CodePanel's review loop: it connects through MCP and skills, reads AGENTS.md and answers every finding.

OpenCode is Anomaly's coding agent, in the terminal, a desktop app, VS Code, Cursor and other editors with a terminal and a web interface it serves itself. With CodePanel it is the author on the other side of the review: after it pushes, it reads the panel's findings on that commit over MCP, fixes or disputes each one with evidence, and rates every finding. It reads AGENTS.md and CLAUDE.md (only when there is no AGENTS.md), and the setup skill writes the loop into AGENTS.md or CLAUDE.md.

## How OpenCode connects

OpenCode connects through an MCP server entry in `opencode.json` and the `codepanel` and `codepanel-setup` skills. The steps are in [Other MCP clients](/docs/other-agents).

## OpenCode features for the review loop

| Feature | What the docs say | Source |
| --- | --- | --- |
| Maker | Anomaly | [opencode.ai](https://opencode.ai/legal/terms-of-service) |
| Runs in | the terminal, a desktop app, VS Code, Cursor and other editors with a terminal and a web interface it serves itself | [opencode.ai](https://opencode.ai/docs/), [page 2](https://opencode.ai/docs/ide/), [page 3](https://opencode.ai/docs/web/) |
| MCP | Local and remote servers, with OAuth, under `mcp` in `opencode.json` (`mcp.servers` in OpenCode 2), or added with `opencode mcp add` | [opencode.ai](https://opencode.ai/docs/mcp-servers/), [page 2](https://opencode.ai/v2/docs/mcp-servers/), [page 3](https://opencode.ai/docs/cli/) |
| Hooks | JavaScript or TypeScript plugins that subscribe to events, `session.idle` among them for a session gone idle | [opencode.ai](https://opencode.ai/docs/plugins/) |
| GitHub Actions | `anomalyco/opencode/github`, which runs OpenCode in a workflow when a comment mentions `/opencode`; `opencode github install` sets it up | [opencode.ai](https://opencode.ai/docs/github/) |
| Headless mode | `opencode run "<prompt>"`, with `--auto` to approve permissions not explicitly denied | [opencode.ai](https://opencode.ai/docs/cli/) |
| Rules files | [`AGENTS.md`](/agents/files/agents-md), [`CLAUDE.md`](/agents/files/claude-md) (only when there is no AGENTS.md) | [opencode.ai](https://opencode.ai/docs/rules/) |
| Models | Over 75 providers through the AI SDK and Models.dev, local models, and OpenCode Zen, models its team has tested. Prices: [OpenAI](/models/openai), [Anthropic](/models/anthropic), [Google](/models/google), [xAI](/models/xai), [Moonshot](/models/moonshot), [Z.ai](/models/zai), [DeepSeek](/models/deepseek), [Qwen](/models/qwen). | [opencode.ai](https://opencode.ai/docs/providers/) |

Each row was checked on 2026-10-17 against the maker's docs it cites. A feature with no row is one those docs don't describe.
