KYBER
Autonomous Pocket Supervisor & Tool Gatekeeper for Antigravity, Codex & Claude Code
What is KYBER?
When autonomous coding agents execute complex refactors, they inevitably hit tool boundaries requiring confirmation: shell execution confirmations (run_command), destructive file modifications (write_to_file), or interactive clarification prompts (ask_question).
Without a supervisor at the desk, the agent idles at the permission gate, blocking progress.
KYBER eliminates this bottleneck. It intercepts agent lifecycle hooks at the IDE process boundary and projects actionable decisions, real-time telemetry, and git diffs directly to your mobile device (Android APK or standalone PWA) over an encrypted local mesh.
Step away from your workstation with confidence — cook, commute, exercise, or rest while your agent works.
Features
- Tactile Approval Gate: High-stakes operations (
run_command, write_to_file, file deletions) trigger immediate lockscreen notifications with 1-tap [Allow] / [Deny] actions and haptic confirmation.
- Interactive Direction (
ask_question): Complex agent questions render as selectable chips with custom write-in input, resolving directly back into the IDE turn.
- Dual Supervision Modes:
- Desk Mode: Standard desktop IDE confirmation dialogs when you are seated at your workstation.
- Remote Mode: Suppresses PC popups; routes all approvals and notifications silently to your mobile companion with haptic vibration alerts.
- Headless Git Triage: Review working-tree status, examine line-by-line unified diffs with syntax highlighting, stage/unstage files, and author atomic commits directly from your phone.
- Live Agent Telemetry: Watch the agent's thought stream, live terminal output (
stdout/stderr), and real-time model quotas (Claude 3.5 Sonnet, Claude Opus, Gemini Flash) without touching your desk.
- Desktop Screen Snapshot Fallback: On-demand desktop framebuffer capture (
GET /api/host/screen.jpg) to check external OS dialogs, browser popups, or compiler error windows when away from your monitor.
- Local-First & Zero-Trust Mesh: 100% peer-to-peer over local Wi-Fi or encrypted Tailscale WireGuard. Prompts, diffs, and code never transit third-party relay servers.
- Hardware Power & Wake Connectors: Pluggable connector architecture with built-in hooks for Wake-on-LAN (WoL) and smart plug power cycling.
30-Second Quickstart
- Open the KYBER tab in the Activity Bar (
Ctrl+Shift+X → KYBER).
- Scan the displayed pairing QR code with your phone camera, or visit the local URL (
http://<lan-ip>:4040) on your mobile browser.
- Tap Add to Home Screen for the instant PWA, or download the companion Android APK directly from the pairing dashboard.
- Switch to Remote Mode on your phone whenever you step away from your workstation.
Extension Commands
| Command |
Title |
Description |
antigravityCompanion.startDaemon |
Start Companion Daemon |
Boots the local supervisor background daemon on port 4040. |
antigravityCompanion.stopDaemon |
Stop Companion Daemon |
Gracefully terminates the running background daemon. |
antigravityCompanion.restartDaemon |
Restart Companion Daemon |
Restarts daemon and re-attaches active workspace connections. |
antigravityCompanion.toggleMode |
Toggle Desk/Remote Mode |
Switches global approval routing between PC dialogs and mobile. |
antigravityCompanion.showPairing |
Show Pairing QR Code & Ticket |
Displays connection credentials, QR code, and mobile URLs. |
antigravityCompanion.enableInWorkspace |
Enable Companion in Current Workspace |
Injects .agents/hooks.json and connects the active folder. |
antigravityCompanion.disableInWorkspace |
Disable Companion in Current Workspace |
Removes workspace hook interception. |
antigravityCompanion.clearApprovals |
Clear All Pending Approvals |
Flushes any stale or blocked tool requests. |
Configuration Settings
Settings can be customized under Settings → Extensions → KYBER:
| Setting |
Default |
Description |
antigravityCompanion.autoStart |
"always" |
Launch daemon automatically ("always", "workspace", or "manual"). |
antigravityCompanion.defaultMode |
"remote" |
Priority connection mode ("remote", "desk", or "auto"). |
antigravityCompanion.gatewayPort |
4040 |
Port for the Web/PWA companion and WebSocket server. |
antigravityCompanion.ipcPort |
4041 |
Port for the PreToolUse Hook IPC TCP server. |
antigravityCompanion.tunnelProvider |
"none" |
Remote network provider ("none", "tailscale", or "cloudflare"). |
antigravityCompanion.failClosedTimeout |
120 |
Seconds to wait for mobile approval before desktop fallback. |
antigravityCompanion.soundAlerts |
true |
Play audible alert sound on incoming tool requests. |
antigravityCompanion.quickActions |
[...] |
Custom terminal buttons pushed to the mobile dock. |
Security Model
- Token-Based Handshake: Pairings require a cryptographically random hex token generated at daemon initialization. Unauthorized HTTP or WebSocket probes receive
401 Unauthorized.
- Zero Telemetry Collection: KYBER contains no analytic trackers, telemetry beacons, or external reporting endpoints.
- Loopback Boundary: Interceptor sockets bind exclusively to loopback addresses (
127.0.0.1), ensuring process-to-process isolation on multi-user hosts.
License
Apache-2.0. Copyright © 2026 Anshul.
| |