SuperAPIAI Directory

acpantenna

github.com · AI coding

acpantenna is an open-source tool designed to let users remotely connect to and continue coding agent sessions on their desktop from a phone or browser. It supports Claude Code, Codex, OpenCode, and any agent compatible with ACP (Agent Client Protocol). With a single command, it generates a one-time link and QR code; opening it on a phone lets you resume the existing session, with end-to-end encrypted communication. The tool emphasizes security: browsers must pass a four-word verification to connect, and as a filtering proxy it only allows the methods needed for chat, rejecting file and terminal requests. Users can use their own accounts and subscriptions with no extra configuration; a built-in web client is included, and chat channels such as Matrix, Discord, and Telegram are also supported.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Windows · Linux · API

About this tool

acpantenna is a command-line tool for securely extending locally running coding agent sessions to a phone or any browser. Its core purpose is to let developers continue conversing with the agent after leaving the desktop, without having to restart the session.

Main capabilities include:

  • Supports Claude Code, Codex, OpenCode, and any agent that uses the ACP protocol over stdio.
  • A single command generates a one-time link and QR code; opening it on a phone resumes the current session, end-to-end encrypted.
  • Uses the user's own account and subscription (via the official ACP adapter or directly using an installed OpenCode).
  • The browser acts as an ACP client, but acpantenna acts as a filtering proxy, allowing only the methods needed for chat (such as initialize, session/prompt, etc.), rejecting file and terminal requests, and downgrading "always allow" to "allow once".
  • Before connecting, a four-word verification code must be confirmed in the terminal, ensuring only authorized browsers can connect.
  • Includes a built-in web client, latch.im, and can also be configured to connect to channels such as Matrix, Discord, Telegram, IRC, and Webhook.
  • Supports skills that let the agent initiate a connection (e.g., saying "continue this on my phone").

Usage: Requires Node 18+ (Linux, macOS, or Windows 10 1803+), and the target agent (e.g., claude, codex) must already be logged in. It can be run directly via npx or installed globally. Basic steps: run the connect command in the project directory to start a new session (or use --session-id to connect to an existing session, --fork to copy a session), then open the link or scan the QR code, and after confirming the four-word match in the terminal, you can continue the conversation in the browser. Use the setup command to add other chat channels.

Use cases: Developers need to continue a desktop coding session on a mobile device, remotely check agent progress, or interact with the agent through chat tools.

Limitations:

  • The relay server cannot hide connection times, frequency, and approximate data volume (frame padding can reduce information leakage).
  • The latch.im web client is not open source, and its controller could theoretically read session content within the scope allowed by the filtering proxy.
  • Sessions last at most one hour on the relay.
  • All permission requests are denied by default; toolCalls: "ask" must be configured for them to be asked in chat.
  • You must ensure the agent is logged in yourself, and acpantenna does not provide additional file or terminal access capabilities.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools