Skip to content
O/THE OPEN ALTERNATIVE
↑↓to navigate↵to selectescto close
OpenCode

OpenCode

A privacy-first AI coding assistant that integrates with your terminal, IDE, or desktop. Supports multiple models and providers while keeping your code secure.

OpenCode preview

OpenCode is an open-source AI coding agent designed to help developers write, debug, and manage code efficiently. It integrates seamlessly with your terminal, IDE, or desktop app, providing real-time assistance powered by advanced AI models.

Key Features

  • Multi-Model Support: Connect to any AI model from providers like Claude, GPT, or Gemini, or use local models.
  • LSP Integration: Automatically loads the right Language Server Protocols (LSPs) for the LLM to enhance coding accuracy.
  • Multi-Session Workflows: Run multiple agents in parallel on the same project for complex tasks.
  • Shareable Sessions: Generate shareable links for debugging or reference, ideal for team collaboration.
  • Editor Agnostic: Available as a terminal interface, desktop app (macOS, Windows, Linux), and IDE extensions.
  • Privacy-First Design: Does not store your code or context data, ensuring compliance with sensitive environments.
  • GitHub Copilot Integration: Log in with GitHub to use your existing Copilot account.
  • OpenAI Integration: Use your ChatGPT Plus or Pro account directly within OpenCode.
  • Zen Models: Access handpicked, benchmarked models optimized specifically for coding agents.

Tech / Self-Hosting

OpenCode is open-source and can be self-hosted for full control over your data and infrastructure. It supports integration with 75+ LLM providers through Models.dev, including local model deployment. The desktop app is available for macOS, Windows, and Linux, while the terminal interface and IDE extensions provide flexibility across development environments.