AIToday

PocketVeto: Bluetooth AI agent control from your phone

Hacker News6h ago
PocketVeto: Bluetooth AI agent control from your phone

Key takeaway

PocketVeto is a free, Bluetooth-only approval system that lets you control AI coding agents (like those in Cursor or Claude Code) from your phone when you are away from your desk. It sends approval requests as notifications and shows a live dashboard of what agents are doing — all without internet or local network routing, so it stays secure and private even in restricted WiFi environments.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  • What happened

    A developer released PocketVeto, a v1 tool that lets you approve or deny risky actions (shell commands, file writes) from AI coding agents running on your PC, directly from your phone via Bluetooth, with a live dashboard showing agent activity. It works on Windows and Linux, hooks into Cursor and Claude Code, and requires no internet or WiFi routing.

  • Why it matters

    If you rely on AI coding agents to write code unsupervised, you now have a way to stay in control from away from your desk — approving or blocking dangerous operations in real time without watching a terminal. The Bluetooth-only design means it works even when WiFi access points block local network communication.

  • What to watch

    The tool is open source (MIT license) and available now via GitHub; macOS Bluetooth support is deferred post-v1. Installation is a one-line shell command, plus Android app sideload and Bluetooth pairing. Full setup details are in docs/setup.md.

In Depth

PocketVeto is a Bluetooth-mediated approval gate and live progress dashboard for AI coding agents, released at v1 status under an MIT license and available via GitHub.

The problem it solves is straightforward: when you are away from your PC or your screen is off, your AI coding agents may want to run risky tools — shell commands, file writes, or MCP (Model Context Protocol) calls — and you want to approve or deny them without interrupting your workflow. PocketVeto enables that by letting you send approval or denial decisions from your phone over Bluetooth Classic, with no internet connection and no LAN routing required. This design also means the system continues to work in WiFi environments with access point isolation, where local network communication may be blocked or restricted.

The tool consists of three components. On the host machine, a hook (installed into Cursor's .cursor/hooks.json or Claude Code's .claude/settings.json) intercepts every tool call and lifecycle event from the agents, reads the stdin JSON, auto-detects the host, and communicates with a local server over HTTP on 127.0.0.1:38475. The server itself is a single Rust binary running an axum HTTP API, a SQLite audit log for persisting every event and approval, and a Bluetooth bridge task that forwards frames to the phone. On the phone, an Android app holds an RFCOMM socket open via a foreground service, surfaces approval requests as action-button notifications, and renders a live dashboard showing cards for each running agent.

Platform support at v1 includes Windows, native Linux, and Linux devcontainers (using a host-sidecar pattern). macOS Bluetooth support is deferred to post-v1, though the non-Bluetooth portions of the binary compile and run on macOS, allowing a Mac to host agents that gate against a Linux or Windows server. Installation is a single shell command to download the binary; setup then requires running pocket-veto init (which pairs Bluetooth, writes ~/.pocket-veto/config.toml, installs hooks into the agent configuration files, and registers the server as a system service), installing the Android app by sideloading the APK from the latest GitHub release, and granting runtime permissions. Full setup instructions are available in docs/setup.md, with variants for Windows, build-from-source, and devcontainer deployments.

Context & Analysis

PocketVeto addresses a specific pain point for developers who use AI coding agents: the need to authorize potentially dangerous operations (like running shell commands or writing files) without being tethered to their workstation. By moving approval decisions to a phone via Bluetooth, the tool removes friction from remote supervision while preserving security — the Bluetooth-only design ensures that approval requests work even in corporate or isolated WiFi environments where local network traffic is blocked or unreliable.

The architecture is straightforward: a Rust server binary on the host machine runs an HTTP API, SQLite audit log, and Bluetooth bridge; the Android app holds an open socket and displays notifications and a live dashboard. Integration is direct — the tool hooks into Cursor and Claude Code's native extension points (hook.json configuration files) so agents automatically send approval requests before executing risky operations. This means no modification to the agents themselves is needed.

FAQ

What platforms does PocketVeto support?
v1 supports Windows, native Linux, and Linux devcontainers (via a host-sidecar pattern). macOS Bluetooth support is deferred to post-v1, though the non-Bluetooth parts of the binary compile and run on macOS so a Mac can host agents that gate against a Linux or Windows server.
Which AI coding agents does it work with?
PocketVeto integrates with Cursor and Claude Code by installing hooks into .cursor/hooks.json and .claude/settings.json during initialization.
How do I install and set up PocketVeto?
Install the binary with a one-line shell command (curl -fsSL https://github.com/pocket-veto/pocket-veto/releases/latest/download/install.sh | sh), run pocket-veto init to pair Bluetooth and configure hooks, then sideload the Android APK and pair your phone. See docs/setup.md for full details.

Get the latest Large Language Models news every morning

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytime

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

1 minute a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →