# OpenCode ## Docs - [Using GitHub Copilot models](https://mintlify.wiki/opencode-ai/opencode/advanced/github-copilot.md): Configure and use GitHub Copilot models with OpenCode - [Self-hosted model providers](https://mintlify.wiki/opencode-ai/opencode/advanced/self-hosted-models.md): Configure OpenCode to use self-hosted and local model providers - [Shell configuration](https://mintlify.wiki/opencode-ai/opencode/advanced/shell-configuration.md): Configure the shell used by OpenCode's bash tool - [Troubleshooting](https://mintlify.wiki/opencode-ai/opencode/advanced/troubleshooting.md): Common issues and solutions when using OpenCode - [AI models](https://mintlify.wiki/opencode-ai/opencode/core-concepts/ai-models.md): Supported AI models and providers in OpenCode - [Architecture](https://mintlify.wiki/opencode-ai/opencode/core-concepts/architecture.md): System architecture and internal structure of OpenCode - [Configuration](https://mintlify.wiki/opencode-ai/opencode/core-concepts/configuration.md): Configure OpenCode with custom models, providers, LSP servers, MCP servers, and themes - [AI assistant tools](https://mintlify.wiki/opencode-ai/opencode/features/ai-tools.md): Comprehensive guide to the tools available to OpenCode's AI assistant for file operations, code analysis, and system interaction - [Custom commands](https://mintlify.wiki/opencode-ai/opencode/features/custom-commands.md): Create powerful custom commands with named arguments to streamline your workflow and automate repetitive tasks - [Language Server Protocol (LSP) integration](https://mintlify.wiki/opencode-ai/opencode/features/lsp-integration.md): Enable code intelligence features with multi-language LSP support for diagnostics, real-time error checking, and code analysis - [Model Context Protocol (MCP)](https://mintlify.wiki/opencode-ai/opencode/features/mcp-integration.md): Extend OpenCode's capabilities with external tools and services using the standardized Model Context Protocol - [Session management](https://mintlify.wiki/opencode-ai/opencode/features/session-management.md): Understanding sessions, auto-compact, SQLite storage, and conversation history in OpenCode - [Installation](https://mintlify.wiki/opencode-ai/opencode/installation.md): Install OpenCode using the install script, Homebrew, AUR, or build from source with Go. - [OpenCode - Terminal-based AI coding assistant](https://mintlify.wiki/opencode-ai/opencode/introduction.md): A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal with support for multiple AI providers and advanced tool integration. - [Quickstart guide](https://mintlify.wiki/opencode-ai/opencode/quickstart.md): Get up and running with OpenCode in minutes. Learn the basics of starting a session, chatting with AI, and using keyboard shortcuts. - [Agent configuration](https://mintlify.wiki/opencode-ai/opencode/reference/agent-config.md): Configure different AI agents for specialized tasks in OpenCode - [Commands](https://mintlify.wiki/opencode-ai/opencode/reference/commands.md): Complete command reference for OpenCode CLI - [Configuration schema](https://mintlify.wiki/opencode-ai/opencode/reference/config-schema.md): Complete JSON schema reference for .opencode.json configuration file - [Environment variables](https://mintlify.wiki/opencode-ai/opencode/reference/environment-variables.md): Complete reference for environment variables used by OpenCode - [CLI flags](https://mintlify.wiki/opencode-ai/opencode/reference/flags.md): Complete reference for all OpenCode command-line flags - [Provider configuration](https://mintlify.wiki/opencode-ai/opencode/reference/provider-config.md): Provider-specific configuration details and supported models for all AI providers - [Interactive mode](https://mintlify.wiki/opencode-ai/opencode/usage/interactive-mode.md): Using OpenCode's terminal user interface for interactive AI-assisted coding - [Keyboard shortcuts](https://mintlify.wiki/opencode-ai/opencode/usage/keyboard-shortcuts.md): Complete reference of keyboard shortcuts for OpenCode's terminal interface - [Non-interactive mode](https://mintlify.wiki/opencode-ai/opencode/usage/non-interactive-mode.md): Run OpenCode with command-line prompts for scripting and automation