VS Code + GitHub Copilot
This guide walks you through setting up Mobb Tracy with Visual Studio Code and GitHub Copilot to track AI-generated code in your pull requests.
Prerequisites
Before you begin, make sure you have:
Visual Studio Code installed on your machine
GitHub Copilot extension installed and configured
A GitHub repository where you'll be making pull requests
A Mobb account (sign up at https://app.mobb.ai)
Installation
Step 1: Install the VS Code Extension
Open Visual Studio Code
Navigate to the Extensions marketplace (Ctrl+Shift+X)
Search for "Mobb AI Tracer"
Click Install
Alternatively, you can install directly from the marketplace using this link: https://marketplace.visualstudio.com/items?itemName=Mobb-inc.mobb-ai-tracer

A browser window will automatically open, prompting you to sign up or sign in to the Mobb platform using GitHub, Google, or email/password.
After signing in, you'll be asked to grant VS Code access to your Mobb account. Once approved, Tracy will begin securely collecting AI interaction data from GitHub Copilot.
Step 2: Set Up GitHub App Integration
Visit the Mobb platform: https://app.mobb.ai
Click the robot icon on the left sidebar:
Select Configure GitHub App in the top-right corner.
Choose the repositories where you want to enable Tracy (or select All repositories).
That’s it! Tracy will now annotate your pull requests automatically.
Step 3: Seeing Tracy in Action
Open VS Code in a repository where Tracy is enabled.
Make changes to the code - using GitHub Copilot suggestions, manual edits, or both.
Commit the changes and create a pull request.
If any part of the code was AI-generated, Tracy will post a PR comment letting you know that AI code analysis is ready with some more insights:

Click the link in the comment to open Tracy's detailed view:

Select any AI-generated line to see:
The prompts used to generate that line
The full conversation context behind it
This gives you complete transparency into how AI contributed to your code.
Step 4: Tracy Time Machine
Tracy Time Machine allows you to travel back and review the AI conversation history for specific lines of code.
To use Tracy Time Machine:
Select a particular line in the code.
Click on the Tracy icon on the bottom right of the IDE where it says "Tracy" with a robot icon.
Tracy will act as a "time machine," going back in time to show you all the conversation you had with the AI coding agent that led to the current code. This includes your prompt, the AI's responses, and your subsequent prompts.

From there, you can click on "Continue Conversation," which will bring the history and the context of the previous conversation into the current chatbox with the AI to further the conversation.

Last updated