← All setup guides

Coding activity

Connect OpenCode

Stat installs a local OpenCode plugin bridge for you. No API key is needed.

Set it up

  1. 1

    Install OpenCode

    Install OpenCode and launch it once on this Mac.

  2. 2

    Enable tracking in Stat

    Choose OpenCode in Stat and select Enable tracking. Stat installs a small local plugin in your OpenCode configuration.

  3. 3

    Restart OpenCode

    Quit and reopen OpenCode so it loads the plugin. Existing project conversations continue to work as before.

  4. 4

    Send a new prompt

    Start or open an OpenCode session and send a prompt. Stat begins counting from the first activity after setup.

What you’ll need

  • · OpenCode installed on this Mac
  • · No key or token

Provider instructions

Ready to connect?

Open Stat on your Mac and paste your details into the OpenCode connection.

Your credentials are saved in your Mac’s Keychain. Stat uses them to read the metrics shown in your screen saver.