OpenCode

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

OpenCode screenshot 1

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.

Key features

  • Support for over 75 different LLM providers
  • Build agent with full access for active development work
  • Plan agent for read-only analysis and code exploration
  • General subagent for complex searches and multistep tasks
  • Permission-based execution for bash commands in plan mode
  • Cross-platform availability via CLI and desktop app
  • Local installation options via XDG compliant paths
  • Multi-language support including English, Chinese, and Spanish

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.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity14 days ago
Repository Age1 year
LicenseMIT
Open Source Alternative to
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.