Skip to main content
Watchfire
AgentsFirst-class

opencode

Open-source coding agent — bring your own provider.

opencode.ai

What is opencode?

opencode is an open-source CLI coding agent. You configure it against the model provider you want, sign in once, and it stores config and data under `~/.config/opencode/`.

opencode + Watchfire

Watchfire gives each opencode session its own `OPENCODE_CONFIG_DIR` and `OPENCODE_DATA_DIR` under `~/.watchfire/opencode-home/<session>/`. Your existing auth and provider setup are linked in from `~/.config/opencode/`, so the login you already have keeps working — but per-session prompts, transcripts, and permission config stay isolated.

  • Each session gets its own config and data directories
  • Reuses auth and provider setup from `~/.config/opencode/`
  • Watchfire writes its own per-session `AGENTS.md` and permission config

Setup

Install Watchfire and initialise a project that defaults to opencode. Make sure the agent CLI itself is installed and signed in first.

watchfire init --agent opencode
Ready to go

Get started with Watchfire

Install in seconds. Define tasks. Let agents ship code for you.

Download for macOS

Available for macOS, Linux, and Windows

install
# Install via Homebrew (macOS)
$brew tap watchfire-io/tap
$brew install --cask watchfire-io/tap/watchfire
# Set up your project and go
$watchfire init
$watchfire task add "Build the login page"
$watchfire start --all

Includes GUI, CLI, and daemon. Also available via Homebrew.