Free · macOS, Windows & Linux

A desktop GUI for Grok Build, in parallel

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.

The Maestro app with several coding agents working in parallel workspaces, each on its own branch.

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.

What you get on top of the CLI

An agent chat in Maestro: your requests on the right, the agent's work and replies on the left.
Each Grok Build workspace gets its own chat, worktree, and branch.

How it works

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.

Set it up

1
Install Grok Build Per xAI's getting-started guide: 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.
2
Sign in Run 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.
3
Add a repo in Maestro Download Maestro and add a git repository, a folder, or an SSH remote as a project.
4
Pick Grok Build in the new-workspace dialog Describe the task, choose Grok Build and a model, and start. Each extra workspace is another Grok Build session running in parallel on its own branch.

Running Grok Build on Windows and Linux

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.

Is there an official Grok Build app?

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.

FAQ

Is Maestro made by xAI?

No. Maestro is independent and not affiliated with or endorsed by xAI. It runs the official Grok Build CLI, which you install from xAI.

Can I run several Grok Build sessions at once?

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.

Do I need an API key?

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.

Which platforms does it run on?

macOS (Apple Silicon), Windows 10/11 (64-bit), and Linux (x86_64 AppImage). See Windows and Linux for install notes.

Is it free?

Yes, Maestro and Maestro Web are free. Grok Build usage counts against your own xAI account, as it does in the terminal.

Can I run Grok Build and Claude Code at the same time?

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.