Skip to main content

Use Grok Build in Open WebUI

Set up Grok Build in the terminal​

Install Grok Build inside the terminal environment and run grok to sign in. If the workspace is remote, start device login from that workspace.

grok login --device-auth

Complete the browser step, then return to the terminal and verify a prompt in grok. If you use an API key instead, make XAI_API_KEY available to the process running Open Terminal. Grok Build installation and authentication

Select Grok in Open WebUI​

In a new saved chat, select your Terminal, then use Choose working directory to pick your project. Open the model picker and choose a model beginning with grok/. If you still need to connect the workspace, follow the Open Terminal quick start.

Open Terminal starts Grok in its agent stdio mode. Ask it to inspect a project file and expand its steps in chat. On versions that support automatic tool review, Grok can handle routine requests and forward escalated actions to Open WebUI. Tool approval modes

This content is for informational purposes only and does not constitute a warranty, guarantee, or contractual commitment. Open WebUI is provided "as is." See your license for applicable terms.