Grok CLI
Install Grok, complete device authentication, and use ACP sessions and goals in Zuse.
Grok runs through its local CLI and ACP transport. Zuse translates the provider's session updates into the same durable messages, tools, edits, questions, permissions, and subagent activity used by the rest of the app.
Install and sign in
curl -fsSL https://x.ai/cli/install.sh | bash
grok loginZuse requires Grok CLI 0.2.101 or newer. The provider card can launch Grok's device-auth flow; the CLI opens its supported browser authorization and Zuse waits for completion.
Agent access requires an eligible Grok subscription. Zuse checks login status through grok models. It does not infer subscription eligibility from cached token tier numbers; the CLI enforces access when a session starts.
Workflows in Zuse
- Start and resume ACP-backed sessions in the active checkout.
- Render streaming responses, thinking, filesystem and shell tools, diffs, approvals, and errors.
- Apply Zuse's runtime permission policy to ACP file, shell, network, and delegated actions.
- Use Plan mode and switch back to normal execution without changing the runtime permission preset.
- Send and manage goals through the composer.
- Display Grok collaboration and child-agent activity in the parent timeline.
- Use Zuse's browser and orchestration tools when the session exposes the applicable MCP transport.
Requirements and recovery
Grok sessions require both the grok CLI and Bun on the desktop service path. Bun hosts the MCP compatibility transport used by the integration.
If startup fails:
- Run
grok --versionand confirm it meets the required minimum. - Run
grok loginagain if the account or plan changed. - Confirm
bun --versionsucceeds from the same user environment. - Refresh Settings → Providers and create a new session.
Zuse attempts to resume a stored Grok session. If that provider cursor is no longer available, the driver adopts a replacement session while retaining the existing Zuse timeline. Provider-specific slash commands beyond Zuse's goal control are not added to the shared command catalog.