AI Briefing
KO

Using Grok in OpenCode

·2026.05.21 09:00

Key point

SuperGrok and X Premium subscribers can now use the Grok Build model in the open-source coding agent OpenCode.

Details

SuperGrok or X Premium subscribers can now link their subscription account to use the Grok Build model in the open-source coding agent OpenCode. OpenCode runs as a terminal or desktop app.

Grok Build is the same model powering xAI's terminal-based coding agent.

Installation is done via the command curl -fsSL https://opencode.ai/install | bash, and when running opencode, you can select xAI Grok OAuth on the model provider selection screen, log in, and start coding right away. xAI plans to offer more open-source agents and integrations in the future.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.