coding

OpenCode

The open-source coding agent for your terminal.

codingfor developersdeveloper setupopen sourcefree tierautonomous

opencode.ai ↗CLI · macOS · Windows · Linux

what it is

OpenCode is an open-source AI coding agent that runs in your terminal. It works with many model providers and can read, edit and run code in your project.

who it's for

Developers who want an open-source, model-agnostic terminal agent.

how to start

  1. 1Install it: curl -fsSL opencode.ai/install | bash (or npm install -g opencode-ai, or brew install opencode).
  2. 2Run opencode in your project folder.
  3. 3Connect a model provider.
  4. 4Describe the task you want done.

what you need

  • macOS, Linux or Windows with a terminal
  • An account or API key with a model provider

pricing

Open source

checked Oct 10, 2026

key features

  • Terminal-first coding agent
  • Works with many model providers
  • Open source
  • Installs via script, npm, Homebrew or Docker

similar agents

alternatives

links

sources