xAI Corp.

05/21/2026 | News release | Distributed by Public on 05/21/2026 11:19

Use Grok in OpenCode

You can now use your SuperGrok or X Premium subscription inside OpenCode. OpenCode is an open-source coding agent available in your terminal or as a standalone desktop app.

After connecting your Grok account, start coding with Grok Build, the same model that powers xAI's terminal-based coding agent.

Install OpenCode:

Run the guided onboarding:

When prompted for a model provider, select xAI Grok OAuth, sign in, and start coding. For more, see the OpenCode docs.

More open-source agents and integrations are coming soon.

xAI Corp. published this content on May 21, 2026, and is solely responsible for the information contained herein. Distributed via Public Technologies (PUBT), unedited and unaltered, on May 21, 2026 at 17:20 UTC. If you believe the information included in the content is inaccurate or outdated and requires editing or removal, please contact us at [email protected]