Skip to main content
  1. Posts/

OpenCode: The Open Source AI Coding Agent

··208 words·1 min·

🤖 100,000 GitHub stars, 700 contributors, 2.5M developers/month. OpenCode is the AI coding agent that doesn’t lock you into a single provider.

OpenCode is an open-source agent that works in the terminal, IDE, and desktop (macOS, Windows, and Linux), with support for 75+ LLM providers.

✨ Key features:

  • Multi-model: Claude, GPT, Gemini, local models, and 75+ providers via Models.dev
  • LSP-enabled: automatically loads the right language servers for LLM context
  • Multi-session: launch multiple agents in parallel on the same project
  • GitHub Copilot: sign in with your GitHub account and use your existing subscription
  • ChatGPT Plus/Pro: also compatible with your OpenAI account
  • Privacy first: doesn’t store your code or context
# Installation
npm install -g opencode-ai

# Basic usage
opencode

🔓 No vendor lock-in: if Anthropic raises prices, switch to Gemini in seconds.

💡 Explanation in a nutshell
#

OpenCode is essentially an open-source alternative to GitHub Copilot, Cursor, and Claude Code — but one you control. Being open source and supporting any LLM provider, you can use it with local models (Ollama), your own API key, or accounts you already have. The LSP integration gives the LLM real context about your code, not just plain text.

More information at the link 👇

Also published on LinkedIn.
Juan Pedro Bretti Mandarano
Author
Juan Pedro Bretti Mandarano