Skip to content

The Deska blog

Approve Agent Permission Prompts From Your Phone

Learn how to manage secure relays to approve agent permission prompts from your phone, keeping your local development workflow running while you are away.

10 min read

Modern software development is shifting toward more autonomous workflows where AI agents handle repetitive tasks such as refactoring, test generation, and dependency updates. However, the rise of autonomous tools introduces a critical bottleneck: the need for human verification. To maintain security, you must often approve agent permission prompts from your phone or another secondary device to ensure the agent does not perform destructive actions on your filesystem. This guide explores the architecture of remote approval systems and how to maintain a seamless flow without being tethered to your primary workstation.

The Challenge of Human in the Loop Security

AI coding agents are designed to execute commands, modify files, and interact with web services. While these capabilities boost productivity, they present risks if left completely unsupervised. Security best practices dictate a human in the loop model, where the agent pauses and requests permission before executing sensitive operations like deleting directories or pushing to a production branch.

The problem arises when these long running tasks require your attention while you are away from your desk. Traditional remote access tools like VNC or RDP can be cumbersome on a mobile screen, often requiring complex network configurations like port forwarding or VPNs. A more efficient approach involves a secure relay that sends specific permission requests to a mobile interface, allowing you to review the proposed action and either grant or deny it with a single tap.

Architecture of a Secure Relay for Agent Approvals

A secure relay differs from traditional remote desktop software by focusing on specific data packets rather than streaming the entire display. This architecture is typically composed of three main components.

  1. The Local Host: This is your primary machine running the development environment and the AI agent. It holds your source code and executes the logic.
  2. The Relay Server: A middleware that facilitates communication between the host and the mobile device. In a privacy focused setup, this server should not store data but merely act as a conduit for encrypted traffic.
  3. The Mobile Client: A dedicated application that receives pushes, displays the context of the permission request, and sends the encrypted response back to the host.

By using this model, you avoid exposing your machine to the public internet. The connection is outbound from both the host and the mobile device to the relay, which circumvents the need for complex firewall rules.

Setting Up Remote Approvals with Deska

Deska provides a streamlined way to manage this workflow through its integrated environment. Because it is a local-first application, your code and sessions stay on your machine, but you can bridge the gap to your mobile device using its built-in relay features.

To begin, you need the desktop application installed on your Mac, Windows, or Linux machine. You can find the installer at /download. Once installed, you can run various coding agents such as Claude Code or Codex CLI inside dedicated panels.

To enable remote approvals, follow these steps:

  • Open the settings in your Deska desktop app.
  • Navigate to the remote access section to generate a pairing code.
  • Install the Deska mobile app on your phone and enter the pairing code to establish a direct, secure link.
  • Enable notifications so your phone alerts you whenever an agent reaches a checkpoint.

When an agent like OpenCode needs to run a terminal command that requires your oversight, the prompt will appear both on your desktop canvas and as a notification on your mobile device. You can then review the command details and approve the execution from anywhere.

Managing Complex Workspaces Remotely

Approving a prompt is often only the first step. Sometimes you need to see the context of why an agent is asking for a specific permission. Deska allows you to monitor your entire workspace from your phone. Since the desktop app uses an infinite canvas, you can zoom out to see all your active terminals, the Monaco powered code editor, and even browser widgets simultaneously.

If you are away from your desk and an agent finishes a task, you can use Ask Deska, the voice and chat assistant, to drive the workspace. You can ask it to check the status of a specific session or to open new notes to record your thoughts on the agent's progress. This level of control ensures that you are not just a passive observer but an active manager of your automated workflows.

Safety Considerations for Remote Agent Interaction

While remote approval is convenient, it requires a disciplined approach to security. You should always ensure that the connection between your mobile device and your host is encrypted end to end. If you are using your own API keys via a BYOK model, ensure those keys are stored securely in your local environment and never sent in plain text over the relay.

It is also wise to configure the level of autonomy for your agents. For example, you might allow an agent to read files without permission but require manual approval for any write operations or network requests. You can find more details on configuring these boundaries in the coding agents documentation.

Comparison of Remote Developer Tools

Different tools handle remote access in various ways. Traditional IDEs often rely on extensions that require a stable, high bandwidth connection to a remote server. Tools like GitHub Codespaces or Gitpod provide entire environments in the cloud, which differs in approach from a local-first setup. In cloud environments, the security perimeter is managed by the provider, whereas in a local-first setup like Deska, you maintain control over the physical data.

Other specialized tools focus exclusively on terminal sharing. These are excellent for pair programming but may lack the specialized UI needed to conveniently approve agent permission prompts from your phone. Deska sits in the middle, offering a full canvas for development while providing the specific relay hooks needed for mobile interaction.

Frequently Asked Questions

How do I approve agent permission prompts from my phone securely?

You can use a secure relay service that pairs your desktop and mobile device directly. This allows you to receive encrypted notifications for agent actions, enabling you to review and approve them without exposing your local ports to the internet.

Can I run Claude Code or OpenCode on my mobile device?

While the heavy lifting of the agents runs on your desktop, you can monitor and interact with these agent threads via a mobile app that connects to your local host. This allows you to manage the agents' lifecycle while you are on the move.

What happens if the mobile connection drops during an approval?

Most agent systems will pause and wait for a response. Once your mobile device reconnects via the relay, the prompt will be synchronized, and you can resume the workflow. You can check the troubleshooting guide for more details on connection stability.

Get Started with Mobile Remote Management

Transitioning to a mobile augmented workflow allows you to reclaim your time without sacrificing the progress of your AI coding agents. By setting up a secure relay, you ensure that security remains a priority while gaining the flexibility to work from anywhere.

If you are ready to start managing your agents remotely, you can download the desktop workspace for free and pair it with your mobile device today. Visit /download to get the latest version for your operating system.