An AI coding agent that integrates with terminals and IDEs while supporting over 75 LLM providers.

OpenCode is an open-source AI coding agent designed to assist with software development tasks across various environments. The software is deployed as a command line interface tool or as a standalone desktop application for macOS, Windows, and Linux, allowing it to integrate into existing developer workflows.
Users can install the CLI via multiple package managers including Homebrew, Scoop, Chocolatey, npm, and pacman. The desktop version provides a graphical interface for those who prefer a windowed environment over the terminal. It supports over 75 LLM providers and operates without storing user code on external servers, providing a layer of privacy for proprietary projects.
The system utilizes a multi-agent architecture to separate development tasks from analysis. The build agent handles file edits and active coding, while the plan agent focuses on codebase exploration and denies file edits by default to prevent accidental changes. A general subagent can be invoked using the @general handle for more complex operations. The software is intended for developers who require AI assistance within their existing terminal or IDE workflows while maintaining the ability to choose their own LLM backend.
Installation is flexible, respecting custom directories via environment variables like OPENCODE_INSTALL_DIR or following XDG Base Directory Specifications. This ensures that the binary is placed in the appropriate user path regardless of the operating system used. The desktop application is available in various formats, including .dmg for macOS, .exe for Windows, and .deb, .rpm, or .AppImage for Linux distributions.
OpenCode is a flexible, provider-agnostic coding assistant for developers across all major operating systems.
An agentic workspace for generating webHML prototypes, pitch decks, and motion graphics using local-first AI agentsL agents.
An AI coding agent for IDEs and terminals that manages multi-file edits and executes bash commands.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.