opencode

Active
GitHub TypeScript MIT

Description

OpenCode is an open-source terminal-based coding agent, cross-platform and compatible with Claude, OpenAI, and many other LLMs, offering an interactive TUI and extensible AI coding experience.

Key Features

  • Terminal-first AI coding agent with interactive TUI and multi-task parallel code editing
  • Multi-LLM provider support including Claude, OpenAI, Google, Azure, and dozens more
  • Cross-platform installation via Homebrew, apt, scoop, nix, AUR and other package managers
  • Desktop applications for macOS, Windows, and Linux (Beta)
  • Local-first design with config and session state stored under `~/.opencode`
  • Multi-language localization with 22 officially supported languages

Use Cases

💡 Developers invoke AI directly in the terminal for code completion, refactoring, and bug fixes
💡 Run AI coding sessions in an isolated local environment to avoid polluting the workspace
💡 Integrate AI coding into CI pipelines to automate PR review and script generation
💡 Use the desktop client to provide non-terminal users a friendly AI coding experience

Quick Start

# Install OpenCode (recommended for macOS / Linux)
brew install anomalyco/tap/opencode

# Launch interactive terminal
opencode

# Run inside a project so the AI auto-analyzes context
cd my-project
opencode "Add unit tests for this module"

Related Projects