About Grok Build
Grok Build is xAI's coding agent, run with the grok command. It works as a full-screen, mouse-aware terminal UI, as a headless tool through grok -p with streaming JSON output, or inside editors over the Agent Client Protocol. Its first-party code is Apache-2.0.
Headless mode is where a server shines: run the agent from cron, CI or a bot on a CloudSat VPS that stays online, with your repositories on NVMe. High Frequency plans keep the builds and tests it triggers short.
After deploy, the grok CLI is installed; sign in or set an API key to start.
What you get with Grok Build
- Full-screen terminal UI with mouse support
- Headless prompts with
grok -pand streaming JSON output - Agent Client Protocol for editor integration
- Skills, plugins and MCP servers
- Custom models in
~/.grok/config.toml
Grok Build use cases
- Automated code changes from CI jobs or chat bots
- Remote coding sessions over SSH
- Batch refactors run unattended overnight
After you deploy Grok Build
- With an SSH session open on the Running server, change into a project directory and run
grok. - On a machine without a browser, export
XAI_API_KEYinstead of using the browser sign-in. - Try headless mode with
grok -p 'summarize the open TODOs' --output-format streaming-json. - Keep the API key in a root-only file or a secret store, not in shell history.
Grok Build ports
Open these in your firewall if you use one: 22/tcp SSH.
Grok Build FAQ
Is Grok Build open source?
Its first-party code is public under Apache-2.0, but the project does not accept outside contributions. Using it still requires an xAI sign-in or an xAI API key.
Does it work with my editor?
Through the Agent Client Protocol, editors that support ACP can drive Grok Build as their agent, while the terminal UI stays available over SSH.
Disclaimer. The Grok Build project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.