Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AgentPingNew to Visual Studio Code? Get it now.
AgentPing

AgentPing

A2C Studios India

| (0) | Free
Never leave your AI agent waiting. Local desktop notifications and custom sounds when AI coding agents need approval, input, complete tasks, or stall.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AgentPing

Never leave your AI agent waiting.

AgentPing is a lightweight, 100% local IDE extension by A2C Studios India for Antigravity IDE, Visual Studio Code, and compatible VS Code–based editors. It monitors autonomous AI coding agents and delivers native background desktop notifications and customizable notification sounds (.wav and .mp3) whenever an agent needs approval, requires input, completes a task, encounters an error, or appears stalled — even when the IDE is minimized or you are working in another application.

Philosophy: Install -> Enable -> Forget.
Zero accounts. Zero cloud relays. Zero telemetry. Zero runtime dependencies.


Key Features

  • Hybrid Detection Engine: Combines official non-interfering hooks, IDE/extension lifecycle tracking, and defensive local log monitoring with confidence classification (Confirmed Approval, Input Required, Task Completed, Agent Error, Possible Stall).
  • False-Positive Stall Protection: Cross-checks active terminal shell executions and Antigravity background task states so legitimate multi-minute builds, installs, and test suites are classified as normal long-running operations rather than false approval alerts.
  • Native Background Desktop Notifications: Delivers OS notifications on macOS, Windows, and Linux while the IDE is minimized or unfocused, with exact multi-window click-to-focus routing (windowId).
  • Custom Local Audio: Ships a self-authored bundled default chime (default-ping.wav) and supports selecting any local .mp3 or .wav file with magic-byte validation, persistent storage, volume control, preview, reset, overlap cancellation, and automatic fallback if a custom file becomes unreadable.
  • Focus-Aware & Non-Intrusive: Suppresses redundant popups when the emitting IDE window is already focused (configurable), deduplicates multi-method detections, enforces cooldowns, and supports quick snoozing (15m, 30m, 1h).
  • Safe, Reversible Hook Hygiene: Requires explicit modal consent before modifying any agent config, creates .agentping.bak backups first, preserves 100% of existing user-defined hooks, refuses to overwrite malformed JSON, and provides one-click Repair Integration and Remove Integration.

Supported Agents

Agent Detection Methods Mid-Turn Approval / Input Completion & Errors Notes
Google Antigravity (IDE / 2.0 / CLI) Safe Hooks + Transcript Monitor + Lifecycle Probable approvals & confirmed ask_question Confirmed (Stop) Never hooks fail-closed PreToolUse; monitors transcript.jsonl read-only alongside safe SessionStart, PostToolUse, PostInvocation, and Stop hooks.
Claude Code Official Async Hooks + Lifecycle Confirmed (PermissionRequest, Notification) Confirmed (Stop, StopFailure) Full native async hook support in ~/.claude/settings.json.
OpenAI Codex Official Async Hooks + Lifecycle Confirmed (PermissionRequest) Confirmed (Stop) Uses modern ~/.codex/hooks.json with "async": true.
Gemini CLI Official Hooks + Lifecycle Confirmed (Notification:ToolPermission) Confirmed (AfterAgent) Fast fail-open emitter in ~/.gemini/settings.json.
Cline File Hooks + ui_messages.json Monitor Confirmed (command, tool, followup) Confirmed (TaskComplete, completion_result) Preserves any existing user scripts in ~/Documents/Cline/Hooks/.
Roo Code Extension API + ui_messages.json Fallback Confirmed (Message ask) Confirmed (TaskCompleted) Zero external hook files required. Note: upstream Roo Code was archived in May 2026.
VS Code / GitHub Copilot Official Hooks + Terminal Shell Lifecycle Completion & stall monitoring only Confirmed (Stop) Official Copilot hooks do not expose a PermissionRequest event yet.
Cursor Official Hooks + Lifecycle Completion & stall monitoring only Confirmed (stop) Cursor's official hooks.json does not expose PermissionRequest or Notification.

Installation

Antigravity IDE (Open VSX / VSIX)

  1. Install AgentPing from the Open VSX Registry inside Antigravity IDE's Extensions sidebar, or install a local .vsix:
    "/Applications/Antigravity IDE.app/Contents/Resources/app/bin/antigravity-ide" --install-extension agent-ping-0.1.0.vsix
    
  2. Reload Antigravity IDE (Cmd + Shift + P -> Developer: Reload Window).

Visual Studio Code (VS Code Marketplace / VSIX)

  1. Install AgentPing from the Visual Studio Code Marketplace, or:
    code --install-extension agent-ping-0.1.0.vsix
    
  2. Reload VS Code.

Quick Start

  1. Click AgentPing: Setup in the bottom-right status bar (or open Command Palette -> AgentPing: Configure Agents).
  2. Select the detected AI agents you want to monitor and confirm the configuration summary.
  3. Run AgentPing: Test Notification to verify desktop banners and audio playback.
  4. Switch away from the IDE while your agent works — AgentPing alerts you whenever attention is needed.

Commands

Access all commands via the status bar menu or Command Palette (Cmd + Shift + P / Ctrl + Shift + P):

  • AgentPing: Open Menu — Quick status bar action menu
  • AgentPing: Enable / AgentPing: Pause — Toggle monitoring
  • AgentPing: Snooze Notifications — Mute alerts for 15m, 30m, or 1h
  • AgentPing: Clear Pending Alerts — Clear active attention badges and repeat timers
  • AgentPing: Test Notification — Verify desktop notification and sound playback
  • AgentPing: Change Notification Sound — Select and validate a local .mp3 or .wav file
  • AgentPing: Preview Sound / AgentPing: Reset Sound to Default — Test or restore bundled chime
  • AgentPing: Configure Agents — Detect and configure local observational hooks
  • AgentPing: View Diagnostics — Open structured diagnostics in the AgentPing Output panel
  • AgentPing: Repair Integration — Re-sync the hook emitter and configured hook entries
  • AgentPing: Remove Integration — Cleanly remove AgentPing entries while preserving user hooks

Key Settings (agentPing.*)

Setting Default Description
agentPing.enabled true Master toggle for notifications and audio.
agentPing.notifications.enabled true Enable native OS desktop notifications.
agentPing.notifications.whenFocused "unfocused" "unfocused" suppresses popups while the emitting window is focused; "always" always notifies.
agentPing.audio.enabled true Enable local audio chimes.
agentPing.audio.volume 80 Audio volume (0 to 100).
agentPing.events.approvalRequired true Notify when an AI agent requests approval or authorization.
agentPing.events.inputRequired true Notify when an AI agent asks a question or requires user input.
agentPing.events.agentError true Notify when an AI agent stops due to an error.
agentPing.events.taskCompleted false Optional: notify when an AI agent finishes a task.
agentPing.events.possibleStall false Optional: notify when an active AI agent appears unexpectedly inactive or stalled.
agentPing.stall.inactivityThresholdSeconds 90 Mid-turn silence threshold (seconds) before flagging a possible stall.
agentPing.notifications.cooldownSeconds 5 Minimum seconds between non-distinct notifications per session.
agentPing.notifications.repeatIntervalSeconds 0 Optional reminder interval (0 disables repeats; auto-cancels on resolution).
agentPing.antigravity.monitorDesktopApp false Optional: also monitor separate Antigravity 2.0 desktop sessions in addition to Antigravity IDE.

Privacy & Security

  • All monitoring, validation, notification delivery, and audio playback run strictly locally.
  • Hook payloads are capped at 64 KB; prompts, source code, command secrets, and conversation transcripts are never persisted or transmitted.
  • AgentPing hooks are strictly observational and never auto-approve, deny, or weaken agent security policies.
  • Full security details: docs/SECURITY_AND_PRIVACY.md.

Troubleshooting

  • macOS banner not appearing: Open System Settings -> Notifications -> Script Editor and enable banners; ensure Focus / Do Not Disturb is off. For clickable banners that raise the exact IDE window on macOS, optionally install brew install terminal-notifier (auto-detected by AgentPing).
  • Linux custom .mp3 silent: Built-in .wav chimes work via pw-play / paplay / aplay. For custom .mp3 playback on Linux, ensure ffplay or mpg123 is installed.
  • No alerts while looking at the IDE: By default agentPing.notifications.whenFocused is "unfocused". Switch to another window or set it to "always" while testing.
  • Run AgentPing: View Diagnostics: Inspect detected agents, active adapters, OS backends, remote environment status, and recent errors in the AgentPing Output panel.

Clean Uninstall

  1. Before uninstalling the extension, run AgentPing: Remove Integration from the Command Palette.
  2. Uninstall AgentPing from the Extensions sidebar.
  3. Optional manual cleanup: delete ~/.agentping/ if present. Even without manual cleanup, ~/.agentping/bin/agentping-hook.cjs fails open in <30 ms and will never block an agent.

Local Development

npm install
npm run typecheck
npm run build
npm run lint
npm test
npm run package

See docs/TECHNICAL_ARCHITECTURE.md, docs/TESTING_REPORT.md, and docs/KNOWN_LIMITATIONS.md for architecture details and how to add a new agent adapter.

License

MIT License — Copyright (c) 2026 A2C Studios India. See LICENSE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft