Grok Build by xAI
Grok Build answers questions about your code
People ask about your library on X. Grok Build has the repo open: with ViceVox it finds the questions, answers each one from the code, and replies after your yes.
- Connects through
- Remote MCP, OAuth sign-in
- Add it with
grok mcp add- Config
~/.grok/config.toml- Also reads
.mcp.jsonand.cursor/mcp.json
What Grok Build can do in your social accounts
Grok Build is xAI's coding agent in the terminal. With ViceVox it can search X for your project's name, read each post and its replies, and answer with the line of code or the doc that settles it.
It reads .mcp.json, .cursor/mcp.json and ~/.claude.json as well as its own ~/.grok/config.toml. If ViceVox is set up for Claude Code or Cursor on the machine, Grok Build sees it with no new step.
/loop repeats a prompt at an interval, from 60 seconds, for up to 7 days. On launch day, a loop that checks for new questions every 30 minutes keeps you ahead of them.
It works on X, Reddit, Bluesky and Mastodon, and on every other platform ViceVox connects. Each action is one tool, named as in the actions reference.
Jobs for Grok Build
Say it in plain words. These are prompts that work, and the calls they make.
Answer today's questions on X
Grok Build searches X for the project, answers each question from the code and replies to the ones you approve.
Search X for acme-sdk posts from today. Answer each question from this repo, and reply to the ones I approve.
1 × search, 3 × replyRelease notes from the terminal
After a tag, it posts a summary of the changes to X and Bluesky.
Post a summary of the changes since the last tag to X and Bluesky.
2 × postWatch launch day with /loop
A loop searches for new questions every 30 minutes for eight hours and drafts answers for you.
/loop 30m Search X for acme-sdk with ViceVox and draft answers to new questions.
16 × searchAnswer a Reddit thread
It reads a Reddit thread about your library and replies to the comments that misread how it works.
Read this r/programming thread about acme-sdk and reply to the two comments that misread the retry logic.
1 × read_post, 2 × reply
Set up Grok Build
Grok Build runs on your computer and reaches ViceVox over the internet.
Install Grok Build
Skip this when it is installed.
Terminal curl -fsSL https://x.ai/cli/install.sh | bashAdd the server
Add
--scope projectto write it to.grok/config.tomlfor the team.Terminal grok mcp add --transport http vicevox https://mcp.vicevox.com/mcpSign in
The first call opens ViceVox in your browser. In the TUI,
/mcpsopens the MCP tab, whereisigns in.Check it
The doctor checks the connection and the sign-in.
Terminal grok mcp doctor vicevox
Ways to connect Grok Build
The routes that reach ViceVox from Grok Build, and how well each one fits.
- Remote MCP, OAuth sign-inBest fit
OAuth in the browser on first use. The token is kept in
~/.grok/mcp_credentials.json.- Remote MCP, API keyWorks
For CI: keep the key in an environment variable and let Grok Build read it, so it never lands in the config file.
~/.grok/config.toml [mcp_servers.vicevox] url = "https://mcp.vicevox.com/mcp" bearer_token_env_var = "VICEVOX_API_KEY"- REST APIWorks
The bash tool can run curl and read the answer.
POST /v1/accounts/{id}/actions curl https://api.vicevox.com/v1/accounts/$ACCOUNT_ID/actions \ -H "Authorization: Bearer $VICEVOX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"type": "post", "text": "Version 2.4 is out.", "wait": 60}'
What it costs
ViceVox plans start at USD 29 a month, with a 7-day trial.
Every plan has every platform and action, the API and the MCP server. Each action uses some of the plan's monthly usage, and a planned post uses it when it goes out. Team at USD 49 has 2x the usage of Standard, Pro at USD 99 has 4x and Ultimate at USD 499 has 20x.
Grok Build's model use is billed by xAI, not by ViceVox. The plans and their limits are on the pricing page.
Approvals and safety
A person can approve before anything goes out, and every action is recorded.
Grok Build asks before tool calls by default. Auto mode lets a classifier approve safe calls when the feature is on, and Always-approve skips the questions. Deny rules always win, so deny the tools it must never call, such as delete_post.
Keep reply and post on ask. A headless grok -p run with --always-approve posts without asking, so give such runs a key without content_publish unless they must post.
- Ask for drafts when a person must check first.
create_contentputs the post on the calendar,submit_for_reviewsends it to a reviewer, and it goes out only after the approval. - Give the agent an API key without the
content_publishpermission. It can then plan drafts and send them for review, and it cannot post by itself. - ViceVox records every action: who asked, through which key, on which account and what the page returned.
- A sign-in step that ViceVox cannot finish, such as a 2FA code, becomes a challenge. The agent asks you for the code, or gives you a link to a live browser where you answer it.
- Only an owner or an administrator can allow an OAuth client. Disconnect it under Developers in the app, and its token stops working.
More in Approvals and Reports and audit.
Limits
- xAI launched Grok Build on 25 May 2026 as an early beta for SuperGrok and X Premium+ subscribers.
/loopruns from every 60 seconds, ends after 7 days, and allows up to 50 loops at a time.- An action tool waits up to 120 seconds for its result. A longer action comes back with its id, and
get_actionfollows it to the end. - The MCP server runs up to 8 requests at a time for one key or sign-in. Above that it answers 429 with
Retry-After, and the client tries again. - The plan sets how many accounts the organization can connect, from 5 on Standard to 300 on Ultimate.
- The platforms set their own pace. When one asks an account to slow down, the action ends with
rate_limited, and the usage it took is given back.
Troubleshooting
Every error code and its fix is in Errors and challenges.
grok mcp doctorshows no sign-in- Open
/mcpsin the TUI and pression vicevox. - A headless run cannot sign in
- Use the key route with
bearer_token_env_var. Where no browser is available, Grok Build itself signs in withXAI_API_KEY. - The client says the server refused the token (401)
- The sign-in expired or was revoked, or the API key is wrong. Sign in again from the client, or make a new key under Developers.
- An action stops at
needs_input - The platform asked for a code. Give the code to the agent so it calls
answer_challenge, or open the challenge'ssign_in_urland answer in the live browser. - The answer is
usage_limit - The plan's usage for this billing period is used up, and nothing was queued. It starts again at
resets_at. A larger plan has more usage, andupgradeis the link to change the plan. - The answer is
subscription_required - The organization never subscribed, or its subscription ended. Its accounts and data stay. Choose a plan at the
upgradelink, then ask again. - The answer is
key_usage_limit - The API key's
dailyUsagePercentis used up for today. It starts again at 00:00 UTC. - The answer is
unsupported - The platform has no such action. The error lists the actions it has, and the generic
browseraction can do the rest step by step. - An account shows
signed_out - Its session ended and no stored password could sign it in again. Ask the agent for a sign-in link with
get_sign_in_linkand open it, or reconnect the account in the app.
Grok Build questions
- Can Grok Build reply on X for me?
- Yes. With ViceVox, Grok Build searches X, reads posts and replies through your own account, and asks before each call unless you changed its permission mode.
- I set up ViceVox for Claude Code. Do I add it again?
- No. Grok Build reads ~/.claude.json, .mcp.json and .cursor/mcp.json, so an existing vicevox entry works.
- What does launch-day watching cost?
- ViceVox plans start at USD 29 a month, with a 7-day trial. A search every 30 minutes for eight hours is 16 searches, plus one reply for each answer sent. Each uses some of the plan's monthly usage.
Related agents
All AI agents, the MCP server docs, the quickstart, and the platforms: X Reddit Bluesky Mastodon
Give Grok Build your social accounts.
Add an account with a password, cookies or a sign-in link, then connect the MCP server and ask.