Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsJul 25, 2026·3 min de lecture

Grok Build — xAI Coding Agent with Fullscreen TUI

A Rust-based coding agent harness from xAI with a fullscreen terminal UI, mouse interaction, and extensible architecture for building and editing code.

Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 29/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
Grok Build
Commande de staging sûr
npx -y tokrepo@latest install 0fdf993c-8823-11f1-9bc6-00163e2b0d79 --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

Introduction

Grok Build is xAI's open-source coding agent that runs in a fullscreen terminal UI with mouse support. Built in Rust for speed, it provides an interactive environment for AI-assisted code generation, editing, and project management directly from the terminal.

What Grok Build Does

  • Provides a fullscreen TUI for interactive AI-assisted coding sessions
  • Supports mouse interaction for selecting files, navigating output, and managing context
  • Connects to xAI's Grok models for code generation, review, and refactoring
  • Offers an extensible architecture for adding custom tools and workflows
  • Handles multi-file edits with diff previews and approval workflows

Architecture Overview

Grok Build is a single Rust binary that renders a rich terminal interface using a custom TUI framework. It communicates with xAI's API for model inference while maintaining a local project context graph. The extensibility layer allows developers to register custom tools that the agent can invoke during coding sessions. All rendering happens locally with minimal latency.

Self-Hosting & Configuration

  • Install via the one-line shell script or download a prebuilt binary
  • Set your xAI API key via the GROK_API_KEY environment variable
  • Configure keybindings and theme in ~/.config/grok-build/config.toml
  • Add custom tool definitions in the tools directory for extensibility
  • Runs on macOS, Linux, and Windows with full terminal support

Key Features

  • Fullscreen TUI with mouse support for a native desktop-like experience
  • Built in Rust for sub-millisecond rendering and low memory usage
  • Extensible tool system for custom agent capabilities
  • Multi-file editing with inline diffs and approval gates
  • Session persistence for resuming work across terminal restarts

Comparison with Similar Tools

  • Claude Code — Anthropic's CLI agent; Grok Build adds a fullscreen graphical TUI with mouse support
  • Codex CLI — OpenAI's terminal agent; Grok Build offers richer visual interaction
  • Aider — terminal pair programming; Grok Build provides a GUI-like TUI rather than a conversational CLI
  • Cursor — IDE with AI; Grok Build is terminal-native with no editor dependency
  • Zed — fast editor with AI built in; Grok Build is a standalone agent, not an editor

FAQ

Q: Does Grok Build work with models other than Grok? A: The primary integration is with xAI's Grok models. Check the repository for any community provider extensions.

Q: Is mouse support required? A: No. Keyboard-only navigation is fully supported, but mouse interaction is available for terminals that support it.

Q: Can I use Grok Build on remote servers via SSH? A: Yes. The TUI renders over any terminal connection, though mouse support depends on your SSH client.

Q: Is it open source? A: Yes. Grok Build is released as open-source software by xAI.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires