{
  "manifest_version": "1",
  "slug": "grok-build",
  "title": "Grok Build",
  "headline": "Run Grok Build on an always-on server, and pick it up from your phone",
  "description": "Run xAI's Grok Build coding agent on an exe.dev VM: no xAI key needed, tmux sessions you reattach from your phone, headless jobs, GitHub PRs.",
  "category": "ai-agents",
  "tags": [
    "grok build",
    "grok cli",
    "xai",
    "grok coding agent",
    "remote coding agent",
    "tmux",
    "headless",
    "background agent",
    "grok 4.6"
  ],
  "url": "https://exe.dev/deploy/grok-build",
  "markdown_url": "https://exe.dev/deploy/grok-build.md",
  "upstream": {
    "website": "https://x.ai/cli",
    "source": "https://github.com/xai-org/grok-build",
    "docs": "https://docs.x.ai/build/overview",
    "license": "Apache-2.0"
  },
  "example_vm_name": "my-grok-build",
  "time": "10 minutes",
  "stack": [
    {
      "name": "Grok Build",
      "detail": "`grok` 1.0.92, xAI's installer, pinned; in ~/.grok/bin",
      "data": "~/.grok"
    },
    {
      "name": "exe.dev LLM gateway",
      "detail": "Grok 4.6 at `https://llm.int.exe.xyz/v1`, no xAI key on the VM"
    },
    {
      "name": "tmux",
      "detail": "one `grok` session that outlives your SSH connection"
    },
    {
      "name": "Your project",
      "detail": "a Git repository",
      "data": "~/project"
    }
  ],
  "access": [
    {
      "url": "ssh my-grok-build.exe.xyz",
      "who": "private",
      "what": "your terminal, from a laptop or a phone SSH app"
    },
    {
      "url": "https://my-grok-build.exe.xyz/",
      "who": "private",
      "what": "whatever the agent serves on port 8000, behind your exe.dev login"
    }
  ],
  "delivers": [
    "Grok Build 1.0.92 (`grok`) on the PATH, with self-update turned off",
    "Grok 4.6 through exe.dev's LLM gateway as the default model, so `grok` works with no xAI account",
    "A Git repository at `~/project` on persistent disk",
    "A detached `grok` tmux session in `~/project` to attach to from any device"
  ],
  "deployable": true,
  "deploy": {
    "new_vm_url": "https://exe.dev/new?prompt=Set%20up%20Grok%20Build%20on%20this%20VM%20by%20following%20the%20exe.dev%20recipe%20at%20https%3A%2F%2Fexe.dev%2Fdeploy%2Fgrok-build.md%3Fvia%3Ddeploy%20from%20top%20to%20bottom.%0A%0AThe%20recipe%27s%20example%20VM%20name%20is%20my-grok-build.%20This%20VM%27s%20name%20is%20the%20output%20of%20%60hostname%60%3A%20use%20it%20wherever%20the%20recipe%20writes%20my-grok-build.%20Skip%20the%20step%20that%20creates%20the%20VM%3B%20you%20are%20on%20it.%0A%0AYou%20are%20done%20when%20all%20of%20these%20are%20true.%20Check%20each%20one%20yourself%3A%0A-%20Grok%20Build%201.0.92%20%28%60grok%60%29%20on%20the%20PATH%2C%20with%20self-update%20turned%20off%0A-%20Grok%204.6%20through%20exe.dev%27s%20LLM%20gateway%20as%20the%20default%20model%2C%20so%20%60grok%60%20works%20with%20no%20xAI%20account%0A-%20A%20Git%20repository%20at%20%60~%2Fproject%60%20on%20persistent%20disk%0A-%20A%20detached%20%60grok%60%20tmux%20session%20in%20%60~%2Fproject%60%20to%20attach%20to%20from%20any%20device%0A%0ARun%20the%20VM-side%20commands%20in%20%22Install%20Grok%20Build%22%20only%3B%20skip%20creating%20the%0AVM.%20Pin%20version%201.0.92%20as%20shown.%20Do%20not%20run%20%60grok%20login%60%2C%20and%20do%20not%20set%0AXAI_API_KEY.%20Create%20the%20tmux%20session%20detached%20%28%60tmux%20new%20-d%20-s%20grok%20-c%0A~%2Fproject%60%29%20and%20reuse%20it%20if%20it%20exists%3B%20don%27t%20start%20%60grok%60%20inside%20it.%0AVerify%20with%20%60~%2F.grok%2Fbin%2Fgrok%20--version%60%2C%20the%20%60grok%20-p%60%20test%20%28it%20must%0Aprint%20OK%29%2C%20%60git%20-C%20~%2Fproject%20status%60%20and%20%60tmux%20has-session%20-t%20grok%60.%0ASkip%20the%20later%20sections%20and%20the%20FAQ.%20Finish%20by%20telling%20the%20owner%20to%20run%0A%60ssh%20-t%20my-grok-build.exe.xyz%20tmux%20new%20-A%20-s%20grok%60%20with%20this%20VM%27s%20name%2C%0Astart%20%60grok%60%2C%20and%20give%20it%20a%20first%20task.%0A%0AFinish%20with%20the%20URLs%20I%20should%20open.%0A",
    "terminal": "curl -fsSL https://exe.dev/deploy/grok-build/prompt.txt | ssh exe.dev new --prompt=/dev/stdin",
    "prompt": "Set up Grok Build on this VM by following the exe.dev recipe at https://exe.dev/deploy/grok-build.md?via=deploy from top to bottom.\n\nThe recipe's example VM name is my-grok-build. This VM's name is the output of `hostname`: use it wherever the recipe writes my-grok-build. Skip the step that creates the VM; you are on it.\n\nYou are done when all of these are true. Check each one yourself:\n- Grok Build 1.0.92 (`grok`) on the PATH, with self-update turned off\n- Grok 4.6 through exe.dev's LLM gateway as the default model, so `grok` works with no xAI account\n- A Git repository at `~/project` on persistent disk\n- A detached `grok` tmux session in `~/project` to attach to from any device\n\nRun the VM-side commands in \"Install Grok Build\" only; skip creating the\nVM. Pin version 1.0.92 as shown. Do not run `grok login`, and do not set\nXAI_API_KEY. Create the tmux session detached (`tmux new -d -s grok -c\n~/project`) and reuse it if it exists; don't start `grok` inside it.\nVerify with `~/.grok/bin/grok --version`, the `grok -p` test (it must\nprint OK), `git -C ~/project status` and `tmux has-session -t grok`.\nSkip the later sections and the FAQ. Finish by telling the owner to run\n`ssh -t my-grok-build.exe.xyz tmux new -A -s grok` with this VM's name,\nstart `grok`, and give it a first task.\n\nFinish with the URLs I should open.\n",
    "prompt_url": "https://exe.dev/deploy/grok-build/prompt.txt"
  },
  "published": "2026-11-26",
  "updated": "2026-11-26",
  "verified": "2026-11-26",
  "related": [
    "codex-remote-control",
    "antigravity-cli",
    "claude-code",
    "herdr",
    "rex",
    "opencode"
  ]
}
