Who it is forA developer maintaining a Git repository who wants several agent tasks running at once without mixing their changes.
The problemParallel agent edits in one checkout are hard to separate and review before committing.
The outcomeSeparate sessions working in different worktrees, with each set of changes reviewed through the Git diff view before acceptance.
What you need first
- Grok Build CLI (grok) version 0.2.112 or newer, installed and signed in, or an API key or custom relay configured in the app
- A project folder you are willing to let the agent work in
- Git installed if you plan to use Git worktrees or Git diff review
Steps
- Create or confirm linked Git worktrees for the repository you want to work on (inferred:
git worktree add <path> <branch>). (inferred, check the README) - Open the repository as a project in Grok App so the linked worktrees are discovered.
- Start one session per worktree and give each agent a separate task.
- Use the Kanban board to track which sessions need input, are working, or are done.
- Open the visual Git Diff review and accept, reject, or revert changes for single files or in batches.
Prompt for your agent
Using the Grok App repo (https://github.com/RongleCat/grok-app), open <repo-path> as a project and start one agent session per linked Git worktree. Expected output: separate sessions with their own changes visible in the Git diff review. Verify that each session shows the worktree it was assigned to before accepting any edits.
Caveat. The worktree discovery depends on the repository already having linked worktrees, and the README does not describe how to create them inside the app.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for RongleCat/grok-app and "Run parallel agent tasks in Git worktrees and review diffs"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer