---
title: "Grok Build coding agent CLI on a VPS · CloudSat"
description: "Run Grok Build on a CloudSat VPS: xAI's terminal coding agent with a full-screen TUI, headless prompts for CI and bots, and ACP support for your editor."
url: https://cloudsat.io/apps/deploy-grok-build
updated: 2026-11-18T15:52:35Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Automation](https://cloudsat.io/apps/category/workflow-automation)

# Grok Build on a VPS

Grok Build is xAI's coding agent for the terminal: a full-screen interactive UI, a headless mode for scripts, and ACP support for editors. Sign in with xAI or an API key.

[Deploy Grok Build](https://dash.cloudsat.io/console/deploy?image=app%3Agrok-build&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## 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 -p` and 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

1. With an SSH session open on the **Running** server, change into a project directory and run `grok`.
2. On a machine without a browser, export `XAI_API_KEY` instead of using the browser sign-in.
3. Try headless mode with `grok -p 'summarize the open TODOs' --output-format streaming-json`.
4. 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.

## Apps like Grok Build

[All apps in Automation](https://cloudsat.io/apps/category/workflow-automation)

- [GitHub Copilot CLI](https://cloudsat.io/apps/deploy-github-copilot-cli): Automation GitHub Copilot CLI brings the Copilot coding agent to the terminal: it reads your repository, edits files and runs commands after you approve. A Copilot subscription is required.
- [goose CLI](https://cloudsat.io/apps/deploy-goose-cli): Automation goose is an AI agent you run in a terminal: open source, compatible with many model providers, and able to use tools through MCP extensions. Run it next to your code.
- [Claude Code](https://cloudsat.io/apps/deploy-claude-code): Self-hosted Claude Code is Anthropic's agentic coding tool for the terminal. On a CloudSat server, long sessions keep going after you close your laptop.
- [Qwen Code](https://cloudsat.io/apps/deploy-qwen-code): Automation Qwen Code is an Apache-2.0 AI coding agent for the terminal. It edits your project and runs commands with Qwen, OpenAI, Anthropic, Gemini or local models.
- [Activepieces](https://cloudsat.io/apps/deploy-activepieces): Automation Activepieces is an open-source Zapier alternative: a visual flow builder, 280+ integrations, code steps and AI agents, running on a server you control.
- [AdClaw](https://cloudsat.io/apps/deploy-adclaw): Automation AdClaw runs a team of AI marketing agents on your server, each with its own persona, model, skills and schedule, managed from a web dashboard or Telegram.
