Topics ▾
Multi-bot setups ·

Make your Bot the manager of a T3 Code coding team

Advanced, 60 minutes

Connect T3 Code to Grok Bot over MCP so a labelled GitHub issue becomes a brief, a coding thread on your own Claude, Codex or Grok Build plan, and a pull request you review.

Published

How this helps you

Your Bot turns issues into briefs and follows up, while the coding runs on agents and subscriptions you already have, with you approving the start and the merge.

✦ Try it
You are my engineering lead. Save this role to memory.

Your job:
- Turn my requests, GitHub issues and Slack bug reports into clear coding briefs.
- Send the briefs to coding agents. Never write production code yourself.
- Read the results, check them against the brief, and report to me.

Rules:
- Every brief has: goal, files or area, done when, tests to run, what not to touch.
- One task = one brief. If a task is bigger than a day of work, split it and show me the split first.
- Report in max 5 lines: what was done, PR link, risks, what you need from me.
- Never merge. I merge.

Confirm with a one-line summary of your role.

Fill in: No placeholders in the role prompt. In the Bug intake routine, [repo] is the GitHub repository the Bot should watch.

What they did

In a long X article on 24 November, @0xRafy laid out an 11-step setup that turns Grok Bot into the engineering lead for coding agents running in T3 Code, the free, open-source app for running Claude Code, Codex, Cursor's agent and Grok Build side by side. His starting point: Grok Bot plans the work and hands a clean brief to a coding agent rather than writing the code itself. Out of the box that agent is a Cursor Cloud Agent, and he cites Cursor staff saying there is no setting to change it. T3 Code gives the Bot a second option: agents on your own machine, on the subscriptions you already pay for. He creates a dedicated Eng Lead Bot with written rules, has a GitHub issue labelled agent wake a Bug intake routine, connects T3 Code through its built-in MCP button using the T3 Connect address (the Bot runs in the cloud and can't reach localhost), and saves a routing rule telling the Bot to use T3 Code instead of Cloud Agents. Inside T3 Code, a delegate_task tool can split one task across models, for example Claude plans, Codex implements and Grok Build reviews. His closing advice is to start with three steps: the Eng Lead Bot, T3 Code with your agents switched on, and the MCP connection with new threads set to Supervised.

Who it's for: Developers and technical founders who already pay for Claude Code, Codex or Grok and want their Bot to run the loop from issue to pull request.

Before you start

How to try it

  1. Create a new Bot called Eng Lead and send it the role prompt below as its first message. Keep coding work out of the Bot that runs your inbox.
  2. Install T3 Code (on a Mac: brew install --cask t3-code; other builds at t3.codes/download). Sign in to each coding CLI once in a terminal, then switch each provider on in Settings, Providers. Grok Build is off by default.
  3. In T3 Code press Cmd/Ctrl+K and choose Use T3 Code in another app (MCP), then Grok Bot. Send your Bot the message it copies, using the T3 Connect address, approve the sign-in and pick the lowest permission level that lets it start threads.
  4. Save the routing rule: 'For coding in my repos, use T3 Code through MCP, not Cursor Cloud Agents, because it needs my local setup and subscriptions. If T3 Code isn't reachable, stop and tell me.'
  5. Ask for a Bug intake routine: trigger on a new GitHub issue in [repo] with the label agent; if unclear, comment one question and stop; if clear, send you the brief and wait for go.
  6. Before anything runs unattended, set T3 Code's Settings, Threads, New threads, Permissions to Supervised (the default is Full access), give each task its own worktree, and keep merging for yourself.

What to expect

Hypothetical: you label an issue 'Login button does nothing on Safari' with agent. Bug intake sends you a brief with the goal, files, done-when line and test command. You reply go, a T3 Code thread runs on your machine, and the Eng Lead reports back in five lines with a PR link. Success check: the tests pass and the bug no longer reproduces before you merge.

Common mistakes

Related tips

Worth knowingT3 Code and MCP details come from @0xRafy's article, not from Grok Bot's docs. Every Bot reply still counts against your Grok Bot usage, and the coding agents use your own subscriptions.
Next in Multi-bot setups →Write a five-field contract for every Bot before you connect it

Learn more: How to Use Grok Bot: A Beginner's Guide (2026) · All Grok Bot multi-bot setups tips

Related Grok Bot tips

More Multi-bot setups →
Multi-bot setups

Group chats are going read-only: move your Bot team

Grok Bot's team plans to make group chats read-only. Their migration advice: one main Bot hands work to the specialist who owns it, rules become skills, and project state lives in one shared file.

How this helps you Your Bot team keeps working when group chats go read-only, and fewer Bots wake up for each job, which saves usage.
Spotted by @ericzakariasson · 30 Nov 2026
Read more
Multi-bot setups

Keep each Bot's rulebook in a repo where changes need a second approver

SpaceXSI's finance team moved its Bots' rulebooks out of editable docs into a code repo: one person proposes a change, a different person approves it, and every rule has a dated changelog line.

How this helps you Every change to how your Bot behaves gets a second pair of eyes and a written reason, so a bad edit can't go live by accident and you can always answer "why does it do that?".
Spotted by Grok (YouTube) · 27 Nov 2026
Read more