Skip to content

Grok Learning Map

Grok Build is xAI's first-party terminal coding agent. The executable is named grok, and the source is open at xai-org/grok-build.

Official definition (docs.x.ai/build/overview): "Grok Build is a powerful and extensible coding agent. Use it via an interactive TUI, headlessly in scripts or bots, or through the Agent Client Protocol (ACP) in other apps."

Product landscape

Several xAI products share the word "Grok" or "Build". They are not one product with four skins. The core learning path in this directory is Grok Build (the terminal coding agent). The other official surfaces now have their own pages so you do not pick the wrong door.

xAI / Grok family
├── Grok (chat) — grok.com, iOS, Android, and X
│   ├── Chat / search / voice / file upload
│   ├── Imagine — images and video (also grok.com/imagine)
│   └── Build Mode — chat-native sites / apps / games, publish to grok.me
├── Grok Build — terminal coding agent (the `grok` command)
│   ├── Interactive TUI
│   ├── Headless (`grok -p`)
│   └── ACP (`grok agent stdio`)
├── Grok Bot — named teammates on a persistent cloud computer
└── xAI API — model HTTP API, including the Imagine API
ProductWhat it isEntry pointAnalog in the Claude family
Grok BuildTerminal coding agent for a real repothe grok commandClaude Code CLI
Grok (chat)General-purpose assistantgrok.com, Grok apps, XClaude.ai
ImagineImage and video generation / editinggrok.com/imagine, or the Imagine APIClaude Design (creative surface, not a coding agent)
VoiceHands-free talk in the app + Voice APIgrok.com / apps; Voice APIClaude voice / realtime API
ConnectorsEmail / files / calendar / custom MCP inside chatgrok.com/connectorsClaude Connectors
Build ModeChat-native builder; publish a live linkMode switcher Build on grok.com / Grok appsClaude.ai Artifacts-style creation, not Claude Code
Grok BotAlways-on teammates on a shared cloud VMx.ai/bot desktop + iOS appsCowork (task agent, not a repo CLI)
Grok BusinessTeam workspaces, licenses, org controlsdocs.x.ai/grok/user-guideClaude Team / Enterprise
xAI APIModel / Imagine / Voice HTTP APIdocs.x.ai/developers/quickstartAnthropic API

Names that collide:

  • Grok BuildBuild Mode. Grok Build is the terminal agent (docs.x.ai/build/*). Build Mode is a grok.com chat mode: "Tell Grok an idea, and it builds a working version live in your chat" and you "Publish to a grok.me link or a custom domain you own" (x.ai/news/grok-build-mode, x.ai/grok/build-mode). Early Beta for SuperGrok Heavy on web, iOS, and Android. Official density is still a marketing page + one news post, so it stays on this map instead of a standalone tutorial.
  • grok.me is the publish host for Build Mode. It is not a separate product and not the Grok Build CLI.
  • Grok Bot ≠ Grok Build headless "bots". Grok Bot is a desktop / iOS product with its own docs tree at docs.x.ai/grok-bot.
  • There is no official IDE plugin. Editor use of Grok Build is ACP (grok agent stdio). terminal-support only documents key-binding differences inside VS Code / Cursor / Windsurf / Zed terminals.

Accounts are not one pool. Grok Build accepts a SuperGrok / X Premium Plus login or XAI_API_KEY. Grok Bot authenticates with a Cursor account and is gated to SuperGrok Heavy, Cursor Ultra, and Cursor Teams Premium (get-started). Build Mode's Early Beta is SuperGrok Heavy only.

Quick decision: which surface?

What do I want to do?
├── Write / debug / refactor / open a PR in a real repository
│   └── → Grok Build (`grok`)
│       ├── In the terminal? → TUI (`grok`)
│       ├── In CI / scripts? → headless (`grok -p`)
│       └── Inside an editor? → ACP (`grok agent stdio`) — no official VS Code plugin
├── Chat / write / research / voice / upload files
│   └── → [Grok Chat](./grok-chat.md) on grok.com or the Grok iOS / Android apps
│       ├── Hands-free talk → [Voice](./grok-voice.md) (product; Voice API is separate)
│       └── Email / Drive / calendar in-thread → [Connectors](./grok-connectors.md)
├── Generate or edit images / video
│   └── → [Imagine](./grok-imagine.md)
│       ├── In the product? → grok.com/imagine (also inside grok.com chat)
│       └── From my own app? → Imagine API
├── Build a website / app / game in chat and share a link
│   └── → Build Mode (grok.com mode switcher → Build)
│       └── SuperGrok Heavy Early Beta; publish to grok.me or a custom domain
├── Hand real work to a teammate that keeps going when the laptop is closed
│   └── → [Grok Bot](./grok-bot.md) (desktop + iOS)
│       └── SuperGrok Heavy / Cursor Ultra / Cursor Teams Premium
├── Team workspaces / licenses / org sharing
│   └── → [Grok Business](./grok-business.md)
└── Call models from my own software
    └── → xAI API

Sources: docs.x.ai/grok/overview, docs.x.ai/build/overview, docs.x.ai/grok-bot/overview, x.ai/grok, x.ai/grok/build-mode, x.ai/news/grok-build-mode, docs.x.ai/developers/model-capabilities/imagine, x.ai/bot.

Three Grok Build surfaces

SurfaceEntry pointWhere it fits
Interactive TUIgrokDay-to-day development, full-screen terminal UI
Headlessgrok -p "<prompt>"Scripts, CI, batch jobs
ACPgrok agent stdioEmbedded by editors or your own orchestrator (JSON-RPC over stdin/stdout)

Sources: docs.x.ai/build/overview, docs.x.ai/build/cli/reference

When Grok Build is worth trying

Try it when

  • You already use Claude Code and want a cheap side-by-side comparison. xAI explicitly claims zero-configuration compatibility (it reads CLAUDE.md and .claude/settings.json, accepts Claude Code flag aliases, and grok import pulls in Claude Code sessions), so migration cost is close to zero.
  • You need long-running orchestration in the terminal: background tasks, scheduled loops, parallel subagents, and worktree isolation are all built in.
  • You already subscribe to SuperGrok or X Premium Plus (the launch announcement says: Available now to all SuperGrok and X Premium Plus subscribers), or you have an XAI_API_KEY.

Hold off when

  • You want inline IDE completion — Grok Build is a terminal agent with no completion feature and no official IDE plugin.
  • You need a teammate that keeps working after you close the laptop — that is Grok Bot, not Grok Build.
  • You want a no-install chat builder that publishes a *.grok.me link — that is Build Mode on grok.com, SuperGrok Heavy Early Beta.
  • You need a stable long-term surface — Grok Build is still beta. npm @xai-official/grok moved latest from 1.0.3 (2026-08-12) to 1.0.5 (2026-08-16); commands and config keys are still moving. Check grok version and the changelog before pinning anything.

Learning path

StageReadGoal
1. Get it runningInstall and auth in the Grok Build tutorialFirst conversation within 15 minutes
2. Learn the coreTUI / plan mode / permissions in the tutorialConfident enough to let it edit code
3. Wire it into your workflowCookbookheadless, CI, hooks, MCP, subagents
4. Look up parametersCheatsheetCommands, flags, config keys, env vars, pricing
5. Understand the conceptsGlossaryPermission mode vs. sandbox, skill vs. plugin, memory vs. session

Feature index

Only capabilities that have an official documentation page are listed. Each row links to the primary source.

CapabilityIn one lineOfficial docs
Plan modeDraft a plan, get approval, then actplan-mode
Permission rulesallow / ask / deny rules matched against tool callspermissions
SandboxOS-level isolation via Landlock / Seatbelt, five profilessandbox
Project rulesReads AGENTS.md, and also CLAUDE.md / .cursor/rulesproject-rules
SkillsSKILL.md defines reusable capability, callable as /<name>skills-plugins-marketplaces
Plugins / MarketplacePackage skills + commands + agents + hooks + MCP for distributionskills-plugins-marketplaces
HooksLifecycle events trigger external commands; can block tool callshooks
MCPgrok mcp add; tools are namespaced as <server>__<tool>mcp-servers
Subagents / PersonasBuilt-in general-purpose / explore / plan, plus custom typessubagents
SessionsIndexed by working directory; resume / fork / rewind / compactsessions
WorktreesWork in an isolated checkout under ~/.grok/worktrees/worktrees
Background tasksTask panel plus /loop scheduled repeatsbackground-tasks
DashboardMulti-session status overviewdashboard
Headless-p for one-shot prompts, --output-format for JSONheadless-scripting
ACPgrok agent stdio runs as an ACP agent for a host appheadless-scripting
Enterprise policyFive config layers, OIDC, MDM-managed policyenterprise
ThemingBuilt-in GrokNight / GrokDay and others, can follow the systemtheming

Model reference

Model slugPositioning (official wording)Context
grok-4.6"For everything else, including code, use Grok 4.6. It is the most intelligent and fastest model we've built."500k
grok-build-0.1"xAI's coding model, trained specifically for agentic coding workflows."256k

The current banner on x.ai/build reads "Meet Grok 4.6 • Now powering Grok Build", so the default driving model is grok-4.6. Pricing and limits are in the cheatsheet.

Sources: developers/models, developers/release-notes

Resources

Built for frontend engineers · Powered by VitePress