Grok Build harness — guide

The Grok Build package lets you run your MeshWeaver chat threads on grok (the Grok Build CLI), under your own Grok account. Your threads, your mesh content and the mesh tools stay as they are; what changes is the engine that executes each round of the conversation.

It is for people who already use Grok Build and want MeshWeaver's threads to run on their Grok account rather than on the models the mesh provides.

Key concepts

Typical workflow

  1. Get the package from the Store. The Grok Build CLI itself must be installed beside the portal.
  2. Open a thread and pick Grok Build as the harness.
  3. Run /login and sign in with your Grok account through a device code you confirm in the browser, or paste an xAI API key. The browser OAuth login of the CLI works only on the machine that runs MeshWeaver.
  4. Chat as usual. The answer and the agent's reasoning stream into the thread, and every tool the agent runs shows up as a tool call with its result.

Uninstalling removes only a legacy home copy ({you}/Harness/…) where your installation made one; it does not revoke your access to the package, so the picker keeps offering the harness and threads that selected it keep using it. To stop using it, switch each thread to another harness — or to the standard MeshWeaver agent path — in the picker; nothing breaks and no history is lost.

Permissions

Nobody is watching each step of a round, so the harness answers the agent's permission requests by policy instead of leaving it waiting. A request is allowed when the deployment has turned on auto-approval, or when the tool's kind is on the allowed list — by default read, search, fetch, think and other. Everything else, including a request that names no kind, is rejected.

The harness then picks from the options the agent offers: for an allowed request it chooses "allow once" when offered, and otherwise the agent's other allow option — which can be "allow always" — even with auto-approval off. A rejected request likewise takes "reject once", else any other reject option. If the agent offers no matching option, the request is cancelled.

Your login stays yours

Each user runs the agent under a home directory of their own, so logins and sessions never mix between people on the same server. A pasted key is stored as your harness credential and passed to the agent on each round.

What you get