Skip to main content

Grok Bot gathers context and Cursor Cloud Agent builds the PR after human approval

XXAIer2026-11-17

Code and reposGetting startedSource read in fullRead first

Overview

For developers deciding where to hand off work between agents, the author summarizes official docs that give Grok Bot context and briefs and Cursor Cloud Agent implementation and PRs.

Workflow

Trigger: The author asks whether Grok bot and Cursor are enough. The intro says that after thinking it through, the author prefers the pair. Claude Opus 5.5 in Cursor is currently the author’s favorite, but the author wants Grok to do more within the AI budget. Grok Bot collects context and writes a brief, and Cursor Cloud Agent implements and opens a PR. The guide follows official sources for people using AI at work who are deciding where to hand off between agents. The source has no results from the author's own run.

Eight items follow source sections 0–7, with original section numbers in brackets and list positions 1–8.

  1. Trigger: Both Grok Bot and Cursor are agents (source section 0). Both can read files and use tools, so one might assign research through implementation to either. xAI’s guide describes Grok Bot writing a brief and sending it to Cursor to code, using outer loop and inner loop for the roles.
  2. Bot: Define outer loop and inner loop (source section 1). Matt Palmer uses these labels for a personal workflow, outside a glossary, in Writing code with Grok Bot in the official Grok Bot 101 dated Sep 11, 2026. Outer loop means research and writing the brief using Slack, Notion, GitHub and documents. Grok Bot does this in the guide. Inner loop implements software from the brief, as Cursor’s cloud agent does. Grok Bot writes the request as a person would and sends it to Cursor’s coding mechanism. The author compares it to one person collecting requirements and producing a brief and another acting on it.
  3. By hand: Separate work to limit dirty context (source section 2). Grok Bot 101 says an agent that reads files, discusses the change and delegates edits carries unnecessary context. Moving it to the outer loop keeps that out of the implementation loop. The author describes abandoned plans, exploratory material and tangents burying needed implementation context. The guide presents separation as one approach and gives no accuracy improvement figures. Treat it as separating research from production and handing over a curated brief.
  4. Bot: Define Grok Bot, Cursor Cloud Agent and Cursor Projects roles (source section 3).
    • Grok Bot: xAI docs say it delegates coding to Cursor Cloud Agents and can attach results to replies. Lingxi Li’s official Grok Bot for Engineering says the bot creates cloud agents, views transcripts and artifacts, adds instructions and stops runs. Sign in with a Cursor account per FAQ and Get started. Team docs say delegated jobs run on a separate computer under existing Cloud Agent administration settings. Admins can disable delegation.
    • Cursor Cloud Agent: Cursor docs describe a cloud isolated VM that clones a repo, branches, implements, pushes and opens a PR. Its own VM lets it build, test, operate a changed app and use desktop and browser. It keeps evidence such as screenshots, video and logs. Agents run concurrently and continue with your PC offline. Cursor says they were formerly Background Agents.
    • Cursor Projects: Larger work like features and migrations exceeds one chat. Give instructions to a coordinator in the Project, which plans, delegates coding and brings results back for review without writing code itself. Projects run on Cloud Agents.
    • Relationship to Grok Bot: Docs focus on Cloud Agent delegation. Official changelog v0.57.0, Sep 18, 2026, says the bot can also open a Project on request, described as a Cloud Agent that plans and drives agents itself.
  5. Bot: Follow three stages from the official docs (source section 4).
    • Stage 1, let Grok Bot collect context and draft the brief. Grok Bot 101 gathers Slack, Notion, GitHub and documents. Another example drafts it for a person to approve or return. Launch Cloud Agent through Cursor only after human edits and approval. The author gives a personal example, separate from the official template:

      Meaning: A Cloud Agent brief includes purpose and reason in 1–2 lines, repo, files or pages, decisions from Slack or an Issue, excluded scope, required tests and checks, and a PR and screenshots or video. Keep background to agreed conclusions to avoid dirty context.

      (例)Cloud Agent への依頼文の型

      • 目的:何を、なぜ直すか(1〜2行)
      • 対象:リポジトリ名、関係するファイルや画面
      • 背景:Slack や Issue で決まったこと(結論だけ)
      • やらないこと:今回は触らない範囲
      • 完了条件:どのテストが通れば完了か、何を確認するか
      • 返してほしいもの:PR と、動作確認のスクリーンショットや動画
    • Stage 2, have Cloud Agent implement. Clone the repo in an isolated VM, branch, implement and test. Grok Bot can see transcripts and artifacts, notify on completion, add instructions and stop the run.
    • Stage 3, have a person review results and PR and decide what follows. In Grok Bot 101, a bot returns screenshots or video and opens the PR. Artifacts are attached there. Inspect the diff and artifacts and decide to merge or ask for changes. The next decision returns to the outer loop.
  6. By hand: Check three things before starting (source section 5). First, check plans separately. xAI says Grok Bot is in Premium, Super and Ultra under The X Subscription, excluding Plus and Free. Cursor says Cloud Agents need Premium or higher, Teams, Enterprise or legacy Start, Pro, Pro+ or Ultra, excluding Free and Plus. Projects need Cloud Agents, covering Premium or higher, Teams, Enterprise and legacy paid, excluding Free, Plus and legacy Hobby. See official pages for changing prices and terms. Second, the cloud computer is shared. The FAQ Do my Bots share one computer? says each account’s bots share one persistent machine, files, browser sessions and sign-ins. It is provisioned per user. The FAQ warns against using bot separation for security. Delegated Cloud Agents run in separate isolated VMs. Third, keep merge human. Cloud Agent works through opening a PR. The author identifies three stopping points: approval of the brief, PR review and merge.
  7. By hand: Read developer explanations (source section 6, summarized by the author). In Chat is all you need on X, Aug 19, 2026, Matt Palmer quotes Lauren (@poteto) on Grok Bot gathering, organizing and passing context in the outer loop. Palmer suggests passing only what Cloud Agent needs and leaving exploratory work out to avoid context poisoning. Getting Started with Grok Bot from Aug 26, 2026 is linked as an X walkthrough in Grok Bot 101 and also published on YouTube. Its description includes a bot preparing briefs for Cursor cloud agents. On Nov 11, 2026, Lauren quoted the Cursor Projects collaboration announcement and said Grok Bot could create and manage Projects on request. The author notes that manage is the poster’s claim and absent from official specifications.
  8. By hand: Choose where to split your own work (source section 7). Official guidance gives research and briefs to Grok Bot in the outer loop and implementation and PRs to Cursor Cloud Agent in the inner loop. This avoids bringing dirty context into implementation. No impact figures are given. Cursor integration centers on delegation and the changelog says the bot can open a Project on request. Check plans separately and let people decide merges. The author suggests the research and production split might also work outside coding and asks where readers would switch tools.

Check: The source has no results from the author's own run. This tutorial cites each example from official guides, docs or changelogs. Check current official plans and prices before starting. Keep merge decisions human.

Key points and results

  • Grok Bot researches and Cursor Cloud Agent implements. In Matt Palmer’s Grok Bot 101 from Sep 11, 2026, Grok Bot is the outer loop for context and briefs, and Cursor cloud agent is the inner loop returning implementation and PRs. The terms describe Palmer’s usage.
  • Dirty context motivates the split, without official figures. Grok Bot 101 warns that one agent doing research and implementation carries extra context. Separate the venues and pass a curated brief. The guide gives no accuracy improvement figures.
  • Bots on one account share a cloud computer. The FAQ Do my Bots share one computer? says files, browser sessions and logins are shared on the one persistent computer per user. It warns against treating individual bots as separate security boundaries. Delegated Cloud Agents run in another isolated VM.
  • Keep three checkpoints human. Approve the brief, review the PR and decide on merge. Cloud Agent stops at opening the PR.
  • Check plans separately. Grok Bot is in The X Subscription Premium, Super and Ultra, excluding Plus and Free. Cursor Cloud Agents need Premium or above, Teams, Enterprise or legacy Start, Pro, Pro+ or Ultra, excluding Free and Plus. Projects require Cloud Agents and exclude Free, Plus and legacy Hobby. Check official pages for current terms.
  • The author suggests applying the split beyond coding. Separate researchers and makers, and decide where to switch from one AI to another.
  • This is a tutorial. The author gives no firsthand tests or comparison figures. All described behavior is attributed to official guides, docs and changelog examples.

Contributions from others

Added by others (not the author)

Source

Platform
X
Author
AIer
Published
Categories
Code and repos, Getting started

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.