Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Pi Agent CompanionNew to Visual Studio Code? Get it now.
Pi Agent Companion

Pi Agent Companion

Sergey Romanov

| (0) | Free
Review and approve file changes proposed by Pi agent
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pi Companion — VS Code Extension

Code review companion for the Pi Coding Agent. When Pi proposes a file change, this extension opens a diff editor with ✓ Accept and ✗ Reject buttons so you can review and approve every modification before it touches your files.

How it works

  1. Pi agent wants to write or edit a file
  2. The pi-vscode-sr npm package intercepts the tool call and writes a review request to .pi/review-requests/{uuid}.json
  3. This VS Code extension watches for new requests, opens a diff editor, and adds Accept/Reject buttons to the editor title bar
  4. Your decision is written to .pi/review-results/{uuid}.json — Pi reads it and either applies or discards the change

Prerequisites

Install the Pi extension first:

pi install pi-vscode-sr

Or install locally:

pi install pi-vscode-sr -l
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft