← 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
Install OpenCode
Install OpenCode and launch it once on this Mac.
- 2
Enable tracking in Stat
Choose OpenCode in Stat and select Enable tracking. Stat installs a small local plugin in your OpenCode configuration.
- 3
Restart OpenCode
Quit and reopen OpenCode so it loads the plugin. Existing project conversations continue to work as before.
- 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
Your credentials are saved in your Mac’s Keychain. Stat uses them to read the metrics shown in your screen saver.