Skip to content

Grok Build TUI: Working in the Full-Screen Terminal Interface

AINewss Editorial

The Grok Build TUI is the full-screen interface of xAI's terminal coding agent. This guide explains how to launch it, what the panes and prompt actually do, how it differs from headless and ACP modes, where configuration and hooks live, and how the open-source Rust crates map to the interface you see.

View 3 references
0 views 0 likes

Allow the functional cookie to save your likes. Privacy details

Editorial illustration of a full-screen terminal coding interface with plan approval and diff panels.

What Is the Grok Build TUI?

The Grok Build TUI is the full-screen, mouse-interactive terminal interface of the Grok Build coding agent. It runs inside your project directory, reads the codebase, edits files, executes shell commands, searches the web, and manages long-running tasks in one session.

It is one of three ways to drive the same agent runtime. The repository README describes the TUI, headless scripting, and ACP embedding as separate entry points, so the interface is a front end rather than a distinct product.

How Do You Launch the Grok Build TUI?

Install the binary, change into your project root, and run grok. First launch opens a browser for authentication; alternatively you can supply an XAI_API_KEY in headless environments. Starting from the repository root matters because the agent reads AGENTS.md, skills, and MCP configuration from that directory.

curl -fsSL https://x.ai/cli/install.sh | bash
cd /path/to/your/project
grok
grok --version

Launching from the repository root matters. The agent picks up AGENTS.md, plugins, hooks, skills, and MCP servers from that context, which is why the same prompt behaves differently depending on where you start it.

What Can You Do Inside the Grok Build TUI?

Inside the TUI you ask questions about the codebase in natural language, review a plan before execution, watch each change appear as a diff, and approve or rewrite steps. The interface supports scrollback, a prompt input, modal dialogs, and mouse interaction.

The launch announcement shows plan mode, plugin installation from a marketplace, and parallel explore subagents running in separate worktrees. It also documents /feedback as the in-app channel for bugs and requests.

How Does the Grok Build TUI Compare With Headless Mode?

The TUI is for interactive work where you want to see scrollback, diffs, and modal approvals. Headless mode, invoked with the -p flag, is the non-interactive path for scripts, CI jobs, and automations where nobody is watching. ACP is the third path, aimed at editor hosts and custom orchestration apps.

Mode Best for Human in the loop
Interactive TUI Refactors, reviews, exploration Yes, with plan approval
Headless -p CI checks, scheduled jobs No
ACP embedding Editor integrations, custom bots Depends on host

Choosing the wrong mode is a common source of confusion. If a job needs approval gates, keep it in the TUI; if it must finish unattended, use -p and make the task deterministic.

How Do You Embed the Grok Build TUI in an Editor With ACP?

Grok Build provides full Agent Client Protocol support, which lets compatible editors host the agent and lets you build your own orchestration apps around it. ACP is the integration surface; the TUI is only one client of the runtime. An ACP host can reuse the same tools without reproducing the full-screen interface.

This means an ACP host can expose the same tools — terminal, file editing, workspace, search — without reproducing the full-screen interface. It is the right path if your workflow lives in an editor rather than a terminal window.

Where Do TUI Settings, Skills, and Hooks Live?

Configuration, theming, MCP servers, skills, plugins, hooks, headless mode, and sandboxing are all documented in the repository's user guide. The README points to crates/codegen/xai-grok-pager/docs/user-guide/ for keyboard shortcuts and slash commands. Check that guide against your installed version because bindings can move between releases.

The agent runtime itself lives in xai-grok-shell, tool implementations in xai-grok-tools, and host filesystem, version control, execution, and checkpoints in xai-grok-workspace. Knowing that split helps when you are debugging whether a problem is in rendering, tool execution, or workspace state.

Can You Build the Grok Build TUI From Source?

Yes, though it needs more setup than the installer. You need Rust with the version pinned in rust-toolchain.toml, DotSlash for hermetic tools such as bin/protoc, and a fallback protoc on PATH. The compiled binary is named xai-grok-pager before the installer renames it to grok.

cargo install dotslash
cargo run -p xai-grok-pager-bin
cargo build -p xai-grok-pager-bin --release
cargo check -p xai-grok-pager-bin

The compiled binary is named xai-grok-pager; the official installer renames it to grok. macOS and Linux are supported build hosts, while Windows builds are best-effort. Root Cargo.toml is generated and should be treated as read-only.

Frequently Asked Questions About the Grok Build TUI

These questions focus on the interface rather than on Grok Build as a whole. They are answered from the public repository README and the launch post, and anything the README leaves unspecified is marked as such instead of guessed here.

Does the TUI support mouse control?

Yes. The README describes a full-screen TUI with mouse interaction, along with scrollback and modal dialogs, so you can click through diffs and panels as well as use the keyboard.

Are keyboard shortcuts documented?

The repository's user guide includes a keyboard-shortcuts section, but the top-level README does not list the bindings. Check that guide in the version matching your installed binary rather than copying shortcuts from older posts.

Is the TUI open source?

The first-party code is Apache 2.0 and the repository is public. Vendored code keeps its own licenses, and the project does not accept external contributions.

Bottom Line and Limitations

The Grok Build TUI is worth learning if you want a reviewable, interactive agent inside the repository, with headless and ACP alternatives for automation. The published README omits exact keybindings, and the product is still described as early beta, so verify interface details against the documentation shipped with your installed version.

References

  1. xai-org/grok-build READMEgithub.com
  2. Introducing Grok Buildgrok.com
  3. Release notesdocs.grok.com