Maestro is a free desktop GUI for xAI's Grok Build CLI on macOS, Windows, and Linux. It runs several Grok Build sessions in parallel, each in its own git worktree, and lets you review, edit, and ship their work from one window.
Grok Build lives in the terminal: an interactive TUI for working with it live, and a headless mode for scripts. One task at a time, that's all you need. Running several tasks at once in the same checkout is where it breaks down, because the runs edit the same files. Maestro gives each Grok Build task its own worktree and branch, keeps every session's chat in one window, and handles the review and PR steps around them.
Maestro runs the official grok binary in headless mode, one process per message,
inside the workspace's worktree. Each turn is
grok -p <prompt> --output-format streaming-json, which xAI documents in its
headless and scripting guide.
Grok Build's -s flag creates or resumes a named session, so Maestro picks a session id
for each chat and passes the same -s <id> on every message. Each follow-up continues
the same Grok Build conversation.
-m.--always-approve, which auto-approves tool runs. Each workspace is its own worktree, so a run only touches its own branch. Maestro also passes --no-auto-update so a background update check can't get in the way of the run.~/.grok. Settings → Harnesses shows whether it is connected. You can also save an xAI API key in Settings; Maestro passes it to Grok Build as XAI_API_KEY. Maestro does not proxy or bill your usage.grok runs on the remote host. If it isn't installed or signed in there, Maestro says so and offers the install command. On a server without a browser, xAI's docs recommend an API key (XAI_API_KEY).curl -fsSL https://x.ai/cli/install.sh | bash on macOS and Linux, or irm https://x.ai/cli/install.ps1 | iex in Windows PowerShell. Check it with grok --version.
grok in a project folder; on first launch it opens a browser to sign in. Without a browser, set XAI_API_KEY instead. If Grok Build is missing, Maestro's Settings → Harnesses can run the right installer for your OS and start the sign-in in an in-app terminal.
Grok Build ships installers for macOS, Linux, and Windows, and Maestro runs on all three, so the workflow is the same everywhere. On Windows, Maestro's one-click install uses xAI's PowerShell installer; on macOS, Linux, and SSH hosts it uses the shell script. Install notes for Maestro are on the Windows and Linux pages.
As of October 2026, xAI's Grok Build docs describe a terminal UI, a headless mode for scripts, and the Agent Client Protocol (ACP) for connecting Grok Build to other tools. They don't list a first-party desktop app (xAI's docs). Community-built desktop wrappers exist; they aren't made by xAI.
Maestro makes sense when:
The worktree pattern Maestro uses is the same one you'd set up by hand. For the plain-git version, read how to run Claude Code in parallel with git worktrees; the git side is the same for any agent, Grok Build included.
No. Maestro is independent and not affiliated with or endorsed by xAI. It runs the official Grok Build CLI, which you install from xAI.
Yes. Every workspace is its own Grok Build session in its own git worktree, and there is no cap on workspaces. They run side by side and never share a checkout.
No, if the Grok Build CLI is signed in through the browser. An xAI API key works too, and is the easier route on a remote server. Maestro uses whichever the CLI has.
macOS (Apple Silicon), Windows 10/11 (64-bit), and Linux (x86_64 AppImage). See Windows and Linux for install notes.
Yes, Maestro and Maestro Web are free. Grok Build usage counts against your own xAI account, as it does in the terminal.
Yes. The agent is chosen per workspace, so Grok Build can work in one worktree while Claude Code, Codex, or Kimi Code work in others.