OP

OpenCode

The open source AI coding agent

Self-Hosted AI ★ 209.5k 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. .

Key features

  • Terminal-first coding agent
  • Provider-agnostic model support
  • LSP-aware code context
  • Multi-session parallel agents

Pros & cons

Strengths

  • Works with many providers
  • LSP-aware code context
  • Terminal and IDE support

Trade-offs

  • API costs add up
  • Fast-moving young project

OpenCode replaces

Compare OpenCode

3 head-to-head comparisons.

Similar self-hosted ai apps