what can I do with grok build?
**Grok Build** is xAI’s powerful new **terminal-native coding agent** (launched in beta in May 2026). It brings a specialized version of Grok directly into your terminal as an interactive AI coding assistant designed for real software engineering work.
### What Can You Do With Grok Build?
Here’s what it excels at:
**1\. Interactive Coding in Your Terminal (TUI)**
- Run grok in any project folder for a fullscreen, mouse-interactive coding session.
- Explain codebases, walk through specific files, or ask it to explore architecture.
- Generate, edit, refactor, or debug code across multiple files.
- Run builds/tests with live streaming output.
- Perform Git operations (stage, commit, push, branch management).
- Search code fast and navigate large repositories.
- Use real-time web search for documentation or package info.
**2\. Plan Mode (Great for Complex Tasks)**
- Start with a structured plan instead of jumping straight into edits.
- Review, approve, comment on, or rewrite plans step-by-step.
- See clean diffs before any changes are made.
- Perfect for bigger features, refactors, or new projects.
**3\. Subagents (Parallel Work)**
- Delegate tasks to specialized subagents that run in parallel.
- Each has its own context window and can work in isolated worktrees.
- Useful for research + implementation + review workflows.
**4\. Skills, Plugins & Customization**
- Automatically adapts to your project using AGENTS.md, hooks, and conventions.
- Create reusable **skills** from your sessions (/skillify).
- Install plugins from marketplaces or self-host them.
- Connect external tools via **MCP servers** (e.g., Linear, Sentry, Postgres, browsers).
- Add hooks that run scripts when files are edited or tools are called.
**5\. Headless / Scripting Mode**
- Run it non-interactively in scripts or CI/CD:
```markdown
grok -p "Explain this codebase"
grok -p "Refactor the auth module" --output-format streaming-json
```
- Great for automation and bots.
**6\. Build Your Own Agents (via API)**
- The underlying model (grok-build-0.1) is available on the xAI API.
- Optimized for **agentic** workflows (planning, tool use, multi-step tasks).
- Use it in your own tools, IDE integrations, or agent frameworks.
- Also available on OpenRouter and Vercel AI Gateway.
### Quick Start
**Install (one command):**
```markdown
curl -fsSL https://x.ai/cli/install.sh | bash
```
Then just run:
```markdown
cd your-project
grok
```
It works with **any language** and **any codebase**.
### Availability
- **CLI/TUI**: Early beta — available to **SuperGrok** and **X Premium+** subscribers.
- **Model via API** (grok-build-0.1): Public/early access.
### Official Resources
- Install & landing page: [https://x.ai/cli](https://x.ai/cli)
- Documentation: [https://docs.x.ai/build/overview](https://docs.x.ai/build/overview)
- Announcement: [x.ai/news/grok-build-cli](https://x.ai/news/grok-build-cli)
**In short**: Grok Build turns your terminal into a full-featured AI software engineer that can plan, code, review, and automate — while fitting into your existing workflow instead of forcing you into a new IDE or interface.
Would you like help installing it, examples of prompts to try, or details on using the API version?
### Grok Build
Beta
Early access for SuperGrok and X Premium+ subscribers