Grok Build in Mira: xAI's coding agent, next to your other agents
Grok Build is xAI's coding agent for the terminal. How to install it and sign in, and how to run it in Mira next to Claude Code and Codex.


The short answer
Grok Build is xAI's coding agent. You use it in the terminal through its own full-screen interface, headlessly in scripts, or from other apps through the Agent Client Protocol (ACP). Mira is a desktop app that runs that same Grok Build as one of its eleven agents. Mira is not an official xAI application.
- Next to Claude Code and Codex
- Grok Build in one pane, other agents in the next
- Hand over mid-task
- Switch a session to Grok Build and keep the conversation
- On your phone
- Read and reply away from your desk
- With your team
- Several people in one session
Use Mira when you want Grok Build in a desktop window, alongside other agents, on your phone, or in a session your team shares.
Install and sign in
- Install
curl -fsSL https://x.ai/cli/install.sh | bashon macOS and Linux, orirm https://x.ai/cli/install.ps1 | iexin Windows PowerShell. In Mira, Agent Config runs the same installer for you.- Sign in
- Run
grokin a project. The first launch opens a browser to sign in; where there's no browser, setXAI_API_KEY. Mira uses the login you made and doesn't change it. - No xAI account
- In Mira you can run Grok Build on Mira credit with the Grok models the platform offers. For prices, see mira.pro/pricing.
What Grok Build brings
- MCP servers, hooks, skills and plugins.
- Plan mode, permissions and a sandbox.
- Subagents and background tasks.
- Worktree sessions, each an isolated copy of the repository, so parallel agents don't overwrite each other's files.
- Any custom model, added to Grok Build's
config.toml.
Article · Claude Code alternatives: ten coding agents, and why you might not have to choose → Grok Build and the other agents you can run next to Claude Code.
Questions
- Is Grok Build the same as Grok Bot?
- No. Grok Build is xAI's coding agent for the terminal. Grok Bot gives each person named Bots that work across apps on a cloud computer. Mira runs Grok Build; for Grok Bot, see our comparison page.
- Is Mira an official Grok Build app?
- No. Grok Build is xAI's. Mira is a separate desktop app that runs it alongside other coding agents.
- Does it work on Windows?
- Yes. xAI ships a PowerShell installer, and Mira runs on Windows, macOS and Linux.
- Can I use other models in Grok Build?
- Yes. xAI's docs show adding any model, with its base URL and key, to Grok Build's
config.tomland switching to it with/model.
Article · Mira vs Grok Bot: How to choose → Mira and Grok Bot compared.
Sources
The details about Grok Build were checked against xAI's documentation on November 8, 2026: docs.x.ai/build/overview and the Features and CLI pages under docs.x.ai/build. Grok Build changes quickly, so check those pages for the latest.
Keep reading

Fixing OpenAI and Codex 403 “unsupported_country_region_territory”
Why OpenAI and Codex return 403 unsupported_country_region_territory, how to fix false positives on VPNs or cloud IPs, and compliant alternatives.

Running Claude Code and Codex on Amazon Bedrock, Vertex AI, and Microsoft Foundry
Connect Claude Code and Codex to Amazon Bedrock, Vertex AI, and Microsoft Foundry: env vars, config.toml, auth, model pinning, and limits.

Using Claude Code with Chrome and Codex Browser: live debugging, Playwright, and previews
How to connect Claude Code to Chrome (extension, console logs, login limits) and use Codex Browser or Playwright, plus live dev-server previews in Mira.