OpenCode is a terminal-based AI assistant for developers, built using Go, that integrates multiple AI models for coding assistance directly in the terminal. Key features include interactive TUI, support for numerous AI providers, session management, integration with various tools, and file change tracking. It supports persistent storage through a SQLite database and integrates with Language Server Protocol for enhanced code intelligence. OpenCode offers diverse installation methods and theming options, while enabling custom command creation and MCP integrations for extended capabilities.
Table of contents
OverviewFeaturesInstallationConfigurationSupported AI ModelsUsageCommand-line FlagsKeyboard ShortcutsAI Assistant ToolsThemingArchitectureCustom CommandsMCP (Model Context Protocol)LSP (Language Server Protocol)DevelopmentAcknowledgmentsLicenseContributingSort: