Open-source pack of 24 engineering skills and eight slash commands that guide AI coding agents through the whole software lifecycle.

Grok Build
Open-source terminal coding agent from SpaceXAI, run with the grok command, that edits files and runs shell commands.
What is Grok Build?
Grok Build is a terminal coding agent from SpaceXAI, started with the grok command. It opens a full-screen text interface that reads your codebase, edits files, runs shell commands, searches the web and keeps track of long-running tasks. You can work with it interactively, run it headlessly inside scripts and CI, or connect it to an editor through the Agent Client Protocol. The GitHub repository holds the Rust source for the CLI, the interface and the agent runtime, and it is synced periodically from SpaceXAI's internal monorepo. Prebuilt binaries install with a one-line script on macOS, Linux and Windows, or you can build from source with Rust and DotSlash. The code is Apache-2.0 licensed, no paid plans are listed in the repository, and the first launch opens a browser window to sign in. Documentation covers MCP servers, skills, plugins, hooks and sandboxing.
Use cases
- Code with an AI agent in the terminal
- Run a coding agent headlessly in CI
- Manage long-running coding tasks
- Search the web while working on code
- Use an agent inside an ACP editor
- Extend the agent with MCP servers and skills
Who it's for
Why use Grok Build
- One tool covers interactive work in the terminal and unattended runs in scripts or CI.
- ACP support lets compatible editors drive the same agent.
- A one-line install script gets the released binary running on the three desktop platforms.
- Open Rust source under Apache-2.0 lets you read how the agent executes commands and edits files.
- MCP, skills, plugins and hooks give you ways to adapt the agent to your workflow.
Grok Build features
- Full-screen terminal interface
- File editing and shell command execution
- Web search from within the agent
- Headless mode for scripts and CI
- Agent Client Protocol editor integration
- MCP servers, skills, plugins and hooks
- Sandboxing and checkpoints
- Slash commands, keyboard shortcuts and theming
- Prebuilt binaries for macOS, Linux and Windows
Grok Build integrations
How to get started with Grok Build
- Install the released binary with the curl script on macOS or Linux, or the PowerShell script on Windows, and check it with grok --version.
- Run grok in a project folder; the first launch opens your browser so you can authenticate.
- Describe a task in the full-screen interface and review the file edits and shell commands the agent performs.
- For automation, run it headlessly, or connect an ACP-capable editor to the same agent.
- Alternatively build from source with cargo after installing Rust and DotSlash.
Grok Build limitations
- Source is synced periodically from an internal monorepo
- External contributions are not accepted
- Windows source builds are best-effort and untested from the repository
- Building from source needs Rust and DotSlash
Grok Build pricing
Grok Build is open source, so you can use and self-host it for free.
Prices can change and may vary by country or exclude tax. Check the official pricing page.
Grok Build alternatives
The main Grok Build alternatives listed on Debuly are Claude Code, Gemini CLI, OpenCode, Aider, Cline and goose. The table compares pricing and platforms; order is A–Z.
| Tool | Pricing | Starting price | Platforms |
|---|---|---|---|
| Grok Build | Open source | — | CLI, macOS, Linux, Windows |
| Aider | Open source | — | CLI, Self-hosted, Web |
| Claude Code | Paid | — | macOS, Linux, Windows, Web |
| Cline | Open source | $9.99/mo | VS Code, JetBrains, CLI, macOS |
| Gemini CLI | Open source | — | CLI, macOS, Linux, Windows |
| goose | Open source | — | macOS, Linux, Windows, CLI |
| OpenCode | Freemium | $10/mo | CLI, Web |
Aider
Open-source AI pair programming tool that runs in your terminal and edits code in your local git repository using the LLM you choose.
Open sourceVisit Aider (official site)
Claude Code
Anthropic's coding agent that fixes bugs, writes tests and runs migrations from your terminal, IDE, desktop app, web or Slack.

Cline
Open-source AI coding agent for VS Code, JetBrains, the terminal and desktop that edits files and runs commands with your approval.
Open sourceVisit Cline (official site)
Gemini CLI
Open-source command-line agent from Google that runs Gemini models in your terminal to read, edit and automate work in local projects.
Open sourceVisit Gemini CLI (official site)
goose
Open source AI agent that runs on your machine as a desktop app, CLI or API and connects to tools through MCP extensions.
Open sourceVisit goose (official site)
OpenCode
Open-source AI coding agent for terminal, desktop and IDE, with optional low-cost Go model subscriptions and a team Console
FreemiumVisit OpenCode (official site)
Grok Build FAQ
Is Grok Build open source?
The repository publishes the Rust source for the CLI and agent runtime under the Apache License 2.0. Third-party and vendored code keeps its own licenses, and external contributions are not accepted.
How much does Grok Build cost?
The repository lists no prices or plans. The software is free to install and build, and the first launch asks you to sign in through your browser. See x.ai/cli for current account and usage details.
How do I install Grok Build?
On macOS, Linux or Git Bash run the curl install script from x.ai/cli, and on Windows PowerShell use the irm install script. Then run grok --version. You can also build from source with Rust and DotSlash.
Can Grok Build run in CI or scripts?
Yes. Besides the interactive interface it can run headlessly for scripting and CI, and it can be embedded in editors through the Agent Client Protocol.
Does Grok Build support MCP servers?
Yes. The bundled user guide covers MCP servers along with skills, plugins, hooks, headless mode and sandboxing.
What are alternatives to Grok Build?
Other terminal coding agents include Claude Code, OpenAI Codex CLI, Gemini CLI, OpenCode and Aider. They differ in model access, licensing and extension options.
Sources & verification
Facts on this page come from the official sources below, each with the date we read it. Written by Debuly; the vendor did not review this page.
| Source | Type | Accessed |
|---|---|---|
| github.com/xai-org/grok-build | official |
Image credits
- Logo: from avatars.githubusercontent.com · fetched · Vendor trademark, used only to identify the product; removed on request
- Cover: none collected yet, so a generated tile is shown.
Spot an error? Report an issue with this listing. We also remove a logo or image on the owner's request.


