ScriptsJul 22, 2026·2 min read

Grok Build — xAI Coding Agent Harness with TUI

A fullscreen, mouse-interactive coding agent harness from xAI built in Rust. Provides extensible terminal UI for agentic coding workflows.

Agent ready

Ready-to-run agent install

This asset can be installed after the agent chooses its runtime, checks the plan, and runs the matching command.

Native · 98/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Established
Entrypoint
Grok Build
Direct install command
npx -y tokrepo@latest install 1fa0b22a-85a9-11f1-9bc6-00163e2b0d79 --target codex

Run after dry-run confirms the install plan.

Introduction

Grok Build is an open-source coding agent harness developed by xAI (SpaceXAI). It provides a fullscreen, mouse-interactive terminal UI for running AI-powered coding workflows, with an extensible plugin system for custom tooling and integrations.

What Grok Build Does

  • Provides a fullscreen TUI for interactive agentic coding sessions
  • Supports mouse interactions for navigating code, diffs, and file trees
  • Offers an extensible architecture for adding custom tools and plugins
  • Manages multi-file editing workflows with context-aware suggestions
  • Integrates with multiple LLM providers for code generation and review

Architecture Overview

Grok Build is written in Rust for performance and reliability. It uses a modular harness architecture where the core event loop manages terminal rendering, input handling, and agent orchestration. The plugin system allows extending capabilities without modifying the core binary.

Self-Hosting & Configuration

  • Install from source with cargo install grok-build or use prebuilt binaries
  • Configure via ~/.config/grok-build/config.toml
  • Set your preferred LLM provider and API key in the config
  • Customize keybindings and TUI themes
  • Supports project-level config files for team settings

Key Features

  • Fullscreen terminal UI with mouse support
  • Extensible plugin architecture for custom tools
  • Multi-file editing with inline diffs
  • Session persistence and replay
  • Built in Rust for fast startup and low memory usage

Comparison with Similar Tools

  • Claude Code — Anthropic's CLI agent with streaming output; Grok Build offers a more visual fullscreen approach
  • Codex CLI — OpenAI's terminal agent; Grok Build emphasizes mouse interactivity
  • OpenCode — Open-source agent harness; Grok Build has native TUI with extensible plugins
  • Aider — Git-aware pair programming; Grok Build provides a richer visual interface

FAQ

Q: What LLM providers does Grok Build support? A: It supports Grok models by default, with plugin support for other providers including OpenAI, Anthropic, and local models.

Q: Does it require a Grok API key? A: You can configure any compatible LLM provider. A Grok API key is optional.

Q: What platforms are supported? A: Linux, macOS, and Windows. The Rust binary is cross-platform with no runtime dependencies.

Q: Is it fully open source? A: Yes, Grok Build is released under an open-source license on GitHub.

Sources

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets