Dev & Engineering terminal-uiclirustagent-client-protocolheadless-modemcp

Grok Build (grok CLI)

SpaceXAI's terminal-based AI coding agent, running as a full-screen TUI to understand codebases, edit files, run commands, and manage long-running tasks.

FollowAgents review · FARS-2.1
Not recommended
40/ 100 5-point scale 2.0 / 5
1 2 3 4 5 6
1Trust10 / 29 · 1.7/5

Evidence shows sandbox, checkpoints, auth, telemetry mechanisms, but details on least privilege, user confirmation, data flow transparency, sensitive data handling, dependency security, external effects, rollback, and source attribution are not fully demonstrated in provided files; mostly assertions or partial implementations, hence 1 each.

2Reliability6 / 14 · 2.1/5

Self-consistency is good; README and Cargo.toml align, but dependency availability (e.g., git deps, vendored code) and failure messages are not fully verified, hence 1 each.

3Adaptability9 / 18 · 2.5/5

Audience and scenarios are clear (terminal users, CI, editors), environment fit (macOS/Linux/Windows) is documented, but capability boundaries and trigger precision are not detailed, hence 1 each.

4Convention8 / 18 · 2.2/5

Information architecture is clear, install notes are detailed, license is explicit, but naming stability, examples/FAQ, known limitations, versioning/changelog, and maintenance responsibility lack evidence, hence 1 each.

5Effectiveness4 / 13 · 1.5/5

Output usability, marginal value, and cost-benefit lack concrete evidence; only inferred from description, hence 1 each.

6Verifiability3 / 8 · 1.9/5

Claim traceability, cross-source corroboration, and fact-inference separation are not well demonstrated, hence 1 each.

Evidence confidence: Low Reviewed Aug 09, 2026 Reviewed revision 8a14c91d8887
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Publisher identity is unverified; treat source with caution.
  • Dependencies include git references and vendored code; supply chain risks need assessment.
  • Static review cannot verify runtime behavior; dynamic testing is recommended.
Review evidence [1][2][3][4][5][6][7]
See the full review method →

What does this agent do, and when should you use it?

Grok Build is SpaceXAI's terminal-based AI coding agent, operating as a full-screen TUI that understands your codebase, edits files, executes shell commands, searches the web, and manages long-running tasks. It supports interactive use, headless operation for scripting and CI, and embedding in editors via the Agent Client Protocol (ACP). The repository contains the Rust source for the grok CLI/TUI and its agent runtime, synced periodically from the SpaceXAI monorepo. The binary artifact is named xai-grok-pager, shipped as grok. On first launch, it opens a browser for authentication. Licensed under Apache-2.0, external contributions are not accepted.

Grok Build provides a full-screen TUI with scrollback, prompt, modals, and rendering. Its agent runtime (xai-grok-shell) offers leader, stdio, and headless entry points. The tools layer (xai-grok-tools) implements terminal, file edit, search, and other capabilities. The workspace layer (xai-grok-workspace) handles host filesystem, VCS, execution, and checkpoints. It can edit files, run commands, search the web, and embed in editors via ACP. Headless mode enables scripting and CI integration. It supports extension via MCP servers, and includes skills, plugins, and hooks. Sandboxing is also available.

  1. Developers wanting interactive AI-assisted coding within a terminal, leveraging a full-screen TUI for context-aware code editing and command execution.
  2. CI/CD engineers integrating an AI coding agent into automated pipelines via headless mode.
  3. Editor users embedding grok inside their IDE through the Agent Client Protocol for inline assistance.
  4. Users needing to manage long-running tasks, such as background builds or tests, while monitoring progress in the TUI.
  5. Users who want to extend the agent's capabilities with custom MCP servers, skills, or plugins.

What are this agent's strengths and limitations?

Pros
  • Full-screen TUI offers an immersive coding experience with mouse interaction and extensible layouts.
  • Multiple execution modes: interactive, headless for scripts, and ACP embedding.
  • Rich toolset including terminal, file edit, search, and web search.
  • Extension via MCP, plus skills, plugins, and hooks.
  • Rust-based for performance, with prebuilt binaries provided.
Limitations
  • Tied to SpaceXAI ecosystem, potentially requiring X AI account for authentication.
  • External contributions not accepted, limiting community involvement and custom modifications.
  • Source synced from monorepo, may lag behind internal versions.
  • Build dependencies include DotSlash and protoc, adding setup complexity.
  • Windows builds are best-effort and not fully tested.

How do you install or deploy this agent?

Install prebuilt binary: curl -fsSL https://x.ai/cli/install.sh | bash (macOS/Linux/Git Bash) or irm https://x.ai/cli/install.ps1 | iex (Windows PowerShell). For source build, require Rust (pinned by rust-toolchain.toml), DotSlash (cargo install dotslash), and protoc. Run cargo run -p xai-grok-pager-bin to launch TUI.

How do you use this agent?

After installation, run the grok command in your terminal. First launch opens a browser for authentication. The CLI supports an interactive TUI, and headless mode for scripting. Full documentation at docs.x.ai/build/overview and the user guide in-crate at crates/codegen/xai-grok-pager/docs/user-guide/.

How does this agent compare with similar options?

The repository does not explicitly mention other AI coding agents, so no comparison is provided.

FAQ

How do I get started after installation?
Run the grok command. On first launch, it will open your browser for authentication, then you can use the TUI interactively.
Is network access required?
Yes, initial authentication requires network, and the agent may need network for web search or external tool calls.
Is the agent compatible with OpenAI or Anthropic models?
The repository does not specify model providers; as a SpaceXAI product, it likely relies on their proprietary models.
Does it support headless mode?
Yes, headless mode is documented and can be used for scripting and CI.

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents