Agent Approve for VS Code GitHub Copilot

Mobile approvals, guardrails, and activity monitoring for VS Code GitHub Copilot from your phone

VS Code logo
GUIHook integration

Agent Approve gives you centralized control over VS Code GitHub Copilot from your phone. Approve or deny agent actions from your iPhone or Apple Watch, with push notifications so you know when Copilot needs a decision.

You get one shared policy, one activity history, and one approval workflow that works the same way across VS Code GitHub Copilot, Cursor, Claude Code, Gemini CLI, Codex, OpenCode, OpenClaw, and Copilot CLI.

Download VS Code

Quick start

1

Download Agent Approve from the App Store and complete onboarding.

2

Run npx agentapprove on your machine and select VS Code GitHub Copilot.

3

The installer adds the hooks directory to your VS Code chat.hookFilesLocations setting automatically.

4

Scan the QR code to pair, then start using Copilot agent mode.

Install command

npx agentapprove

Agent Approve config: ~/.agentapprove/

VS Code Copilot hook config: ~/.agentapprove/hooks/vscode-hooks.json


Recommended configuration

  • The installer registers Agent Approve's hooks directory in chat.hookFilesLocations automatically.
  • In VS Code settings, enable "Chat > Autopilot" or check "Allow Dangerously Skip Permissions" under GitHub Copilot > Chat > Claude Agent to let Agent Approve handle all permission decisions.

Capabilities

Approval requests
Follow-up commands
Voice input
Activity monitoring
Push notifications
MCP tool tracking

Good to know

1

Hook location – Hooks are stored in ~/.agentapprove/hooks/vscode-hooks.json and use PascalCase event names (PreToolUse, PostToolUse, Stop, etc.).

2

Follow-up commands – When the agent stops, you can send instructions from your phone.

3

Subagent tracking – Subagent lifecycle events (SubagentStart, SubagentStop) are tracked for visibility into multi-agent workflows.

4

Bulk command parsing – Policy evaluation parses shell commands chained with && into individual sub-commands evaluated independently. A dangerous command like rm -rf hidden as the third step in a chain is caught even when the batch starts with safe commands.

5

Stay up to date – Run npx agentapprove again at any time to update hooks to the latest version.


Use cases

Step away from VS Code and approve Copilot agent actions from your phone instead of sitting at your desk for every prompt.

Get notified when the agent finishes and send a follow-up task via voice or text.

Apply centralized deny rules across Copilot and all your other coding agents.

Track subagent activity when Copilot spawns additional agents.


Questions about VS Code Copilot

A few common questions about how Agent Approve fits alongside VS Code Copilot.