Back to GigaRAG

Connect an agent

Give an AI tool access to your GigaRAG Workspace, so it can search, read and write your memos while it works.

Grok Build

xAI's terminal coding agent.

Grok Build is in early beta for SuperGrok and X Premium+ subscribers.

Connect with the GigaRAG CLI

One command connects Grok Build and every other AI tool on this machine. Signing in happens in your browser, so no key is written into any config file.

npm install -g gigarag
gigarag login
gigarag connect

Restart Grok Build afterwards. Nothing here expires, and gigarag connect --remove takes GigaRAG back out of everything it touched.

Sign in with GigaRAG

Connect without a key: Grok Build opens your browser, you sign in to GigaRAG and pick this workspace.

  1. 1.

    Add GigaRAG without a key

    Grok Build opens your browser to sign in the first time it uses GigaRAG.

    grok mcp add --transport http gigarag https://mcp.gigarag.com/mcp
  2. 2.

    Sign in with your GigaRAG account

    Your browser opens GigaRAG. Pick the workspace to share and approve. No key is stored in the app, and the connection does not expire.

Or paste a prompt

Paste this into Grok Build. It carries your agent key and tells the agent exactly what to change, so it sets the connection up itself.

Run this to add GigaRAG:
grok mcp add --transport http gigarag https://mcp.gigarag.com/mcp --header "Authorization: Bearer <api-key>"

Remove any existing gigarag first. Then run grok mcp doctor and report back. Don't repeat the key.

Or set it up by hand

  1. 1.

    Run this in a terminal

    It is saved to ~/.grok/config.toml.

    grok mcp add --transport http gigarag https://mcp.gigarag.com/mcp --header "Authorization: Bearer <api-key>"
  2. 2.

    Check the connection

    grok mcp doctor

Check it worked

Send this once it is connected. An answer drawn from your workspace means the connection is live.

List my GigaRAG buckets.

Written from the official docs: Grok Build MCP