OP

OpenCode

The open source AI coding agent

Self-Hosted AI ★ 194.8k stars Easy setup free

OpenCode is an open source AI coding agent designed to enhance your development workflow across terminal, IDE, and desktop environments. Use it to chat about code, generate changes, and execute sophisticated multi-session workflows across your projects. Key features include support for multiple AI model providers (including Claude, GPT-4, and local models), intelligent context-aware code suggestions via LSP integration, and the ability to perform complex refactoring tasks. OpenCode can help you write new features, debug issues, refactor code, and explain complex codebases in natural language. .

Strengths

  • Easy to set up — beginner-friendly
  • First-class Docker support for quick deployment
  • One-click install on common self-host platforms
  • Mature project with 194.8k GitHub stars

Compare OpenCode

138 head-to-head comparisons.

Similar self-hosted ai apps