name: opencode-docs description: "Use when working with OpenCode (anomalyco/opencode): terminal AI coding agent, configuration, model providers (Claude, OpenAI, Google, local models), custom agents, custom tools, MCP servers, LSP integration, key bindings, themes, modes, plugins, permissions, TUI, SDK, or OpenCode development setup."
OpenCode Documentation
Official OpenCode docs (sourced from github.com/anomalyco/opencode).
CRITICAL: grep references/ for keywords before answering.
Topic Index
Getting Started
quickstart.mdx— Quick start guideindex.mdx— OverviewREADME.md— Full README with installation, configuration, featuresweb/index.mdx— Product overview and introduction
Configuration & Setup
web/config.mdx— Configuration referenceweb/providers.mdx— Model providers (Claude, OpenAI, Google, etc.)web/models.mdx— Model configuration and selectionweb/rules.mdx— Rules and system promptsweb/permissions.mdx— Permission systemweb/network.mdx— Network and proxy settingsweb/windows-wsl.mdx— Windows/WSL setup
Core Features
web/agents.mdx— Agents and agent configurationweb/tools.mdx— Built-in toolsweb/custom-tools.mdx— Custom tool creationweb/mcp-servers.mdx— MCP server integrationweb/modes.mdx— Operating modesweb/commands.mdx— Commands referenceweb/keybinds.mdx— Key bindingsweb/lsp.mdx— LSP integrationweb/formatters.mdx— Code formatters
Interface
web/cli.mdx— CLI usageweb/tui.mdx— Terminal UIweb/web.mdx— Web interfaceweb/ide.mdx— IDE integrationweb/themes.mdx— Theme customizationweb/zen.mdx— Zen mode
Extensibility
web/plugins.mdx— Plugin systemweb/skills.mdx— Skillsweb/sdk.mdx— SDK referenceweb/acp.mdx— Agent Communication Protocolweb/server.mdx— Server modeweb/share.mdx— Session sharing
Platform Integration
web/github.mdx— GitHub integrationweb/gitlab.mdx— GitLab integrationweb/go.mdx— Go language supportweb/ecosystem.mdx— Ecosystem overviewweb/enterprise.mdx— Enterprise features
Troubleshooting
web/troubleshooting.mdx— Common issues and solutions
Docs Authoring (packages/docs)
essentials/settings.mdx— Settings referenceessentials/markdown.mdx— Markdown guideessentials/code.mdx— Code blocksessentials/navigation.mdx— Navigation setupessentials/images.mdx— Image handlingessentials/reusable-snippets.mdx— Reusable snippetsai-tools/— Integration with AI tools (Claude Code, Cursor, Windsurf)development.mdx— Development setup
Project Reference
AGENTS.md— Built-in agents and custom agent configurationCONTRIBUTING.md— Contributing guidelines