Scripts2026年7月16日·1 分钟阅读

Grok Build — xAI Coding Agent Harness with Fullscreen TUI

The official open-source coding agent harness from xAI (SpaceXAI) featuring a fullscreen mouse-interactive terminal UI and extensible architecture, written in Rust.

Agent 就绪

先审查再安装

这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。

Needs Confirmation · 66/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Grok Build
先审查命令
npx -y tokrepo@latest install d5391737-8132-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run,确认写入项后再运行此命令。

Introduction

Grok Build is xAI's (SpaceXAI) official open-source coding agent harness, released in July 2026. Written in Rust, it provides a fullscreen, mouse-interactive terminal UI for driving LLM-powered coding workflows. The harness is designed to be extensible, letting developers plug in custom tools, providers, and UI panels while retaining a polished out-of-the-box experience.

What Grok Build Does

  • Provides a fullscreen TUI for interactive coding agent sessions in the terminal
  • Supports mouse interaction for navigating files, selecting suggestions, and managing context
  • Connects to xAI's Grok models and supports other LLM providers through an adapter layer
  • Manages multi-file editing workflows with inline diffs and approval controls
  • Offers an extensible plugin system for adding custom tools and integrations

Architecture Overview

Grok Build is structured as a Rust binary with a modular architecture separating the TUI renderer, agent loop, tool execution engine, and provider adapters. The TUI layer uses a reactive rendering model that redraws only changed regions for low-latency interaction. The agent loop orchestrates tool calls and model responses, while the provider adapter layer abstracts LLM communication so new backends can be added without modifying core logic. Plugins register as tool providers that the agent can invoke during a session.

Self-Hosting & Configuration

  • Install from crates.io via cargo or build from source
  • Configure LLM provider credentials in ~/.config/grok-build/config.toml
  • Customize keybindings, theme colors, and panel layout in the config file
  • Add plugins by placing compiled dynamic libraries in the plugins directory
  • Runs entirely locally with no telemetry or cloud dependency beyond LLM API calls

Key Features

  • High-performance Rust implementation with sub-millisecond TUI rendering
  • Mouse-interactive terminal interface with clickable elements and scroll support
  • Multi-provider support including Grok, OpenAI-compatible, and local model endpoints
  • Built-in file tree, diff viewer, and conversation history panels
  • Extensible plugin architecture for custom tool integrations

Comparison with Similar Tools

  • Claude Code — polished CLI agent; Grok Build adds a fullscreen mouse-interactive TUI layer
  • Cursor — IDE-based agent; Grok Build is terminal-native with no editor dependency
  • Aider — Python CLI for coding with LLMs; Grok Build is Rust-native with a richer TUI
  • Warp — AI-enhanced terminal; Grok Build is a dedicated coding agent harness, not a shell

FAQ

Q: Which LLM providers does Grok Build support? A: It supports xAI's Grok models natively and any OpenAI-compatible API through the adapter layer, including local model servers.

Q: Does the TUI require a specific terminal emulator? A: It works with any modern terminal that supports 256 colors and mouse reporting, including iTerm2, Alacritty, and Kitty.

Q: Can I use Grok Build without a mouse? A: Yes. Full keyboard navigation is supported; mouse interaction is optional.

Q: Is it production-ready? A: It is newly released (July 2026) and under active development. Expect rapid iteration on features and stability.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产