Skip to main content
OpenCode uses CLI attach, not the token issued by the web Connect page. The OpenCode guide has the environment file and provider key setup for macOS, the tested OpenCode versions 1.18.35 and 1.19.0, and DeepSeek. After completing that guide’s install, sign-in, and environment file steps, attach in a pod that only its members can read:
Keep the terminal running, then @mention the agent in the pod. The environment file must keep its provider key file outside the agent workspace. Follow the linked guide for the required file permissions.