OpenCode

AI coding agent operating across terminal and IDEs.

Open source coding agent for writing code in terminal, IDE, or desktop app with integration for 75+ LLM providers.1 save · opencode.ai
OpenCode | The open source AI coding agent

OpenCode operates as an AI coding agent across terminal interfaces, IDEs, and desktop applications. It runs on macOS, Windows, and Linux platforms.

  • Open source model: the agent is fully open source with no proprietary components.
  • Multi-session capability: supports running multiple agents in parallel on the same project.
  • Privacy-focused design: does not store any code or context data, suitable for sensitive environments.
  • Extensive model support: connects to 75+ LLM providers, including local models.
  • Configurable agent interface: users can switch between built-in agents for different tasks.

Free and open source. 160K GitHub stars; trusted by 7.5M developers monthly.

OpenCode is ideal for developers seeking a privacy-first AI coding assistant that integrates seamlessly with their existing tools. Best for environments requiring high customization and model flexibility.