Happier Docs
Providers

OpenCode

Configure OpenCode in Happier (ACP), including resume and permissions behavior.

Happier runs OpenCode through the local OpenCode CLI using ACP-backed integration.

Requirements

  • OpenCode CLI installed on your machine.
  • Binary available on PATH (or set HAPPIER_OPENCODE_PATH).

Install OpenCode

If you use hstack, you can install OpenCode with the providers installer (macOS / Linux only):

hstack providers install opencode
opencode --version

Or install manually:

curl -fsSL https://opencode.ai/install | bash
opencode --version

Start OpenCode with Happier

happier opencode

Notes

  • Session capabilities (resume/model/mode/permissions) are capability-driven.
  • Tool events are normalized into Happier's canonical tool timeline.

Troubleshooting

If OpenCode is not detected:

  1. Verify opencode --version works.
  2. Restart Happier.
  3. Set HAPPIER_OPENCODE_PATH if your binary is not in PATH.

On this page