Capability Follow a long mission from a phone
Remote and phone access
AgentForge lets long missions be followed away from the computer. Remote access is off by default and, once on, listens on this computer only; for a phone you choose one network address of this computer, and the connection is then encrypted. Each device gets its own key and set of permissions. With the Web package, cloud sync carries a project to the web workspace, and the agents there can be watched read-only from the desktop app.
Remote access: a key and permissions per device #
Remote access is off by default and, when turned on, still listens on this computer only. For a phone you choose one network address of this computer (such as your home network or Tailscale address); the wildcard address (0.0.0.0) is rejected. On a network address the panel opens over HTTPS only, with a certificate this computer makes itself: the phone shows a certificate warning on the first connection, and the fingerprint should be compared with the one in Settings before continuing. The certificate is renewed 30 days before it expires.
A phone connects with a single-use pairing code valid for at most 10 minutes, and the code can be read from a QR code. The phone and the desktop show the same 6-digit confirmation code, no key is generated until the device is approved on the desktop, and the code stops working after 5 wrong attempts. The key is stored on disk only as a hash.
Each device's permissions are chosen at approval: read, stop, approve, command and message. With no selection the device gets read and stop only, and an unknown value grants nothing. The approve permission approves only low-risk and medium-risk requests; a request that is high-risk, critical-risk or whose risk cannot be verified can only be rejected from the phone. Settings, files, git and terminal input are closed to the phone in every case.
- Each device is revoked with one click; "Emergency shutdown" invalidates all keys and turns remote access off.
- The key is compared in constant time; after 10 failed attempts in a minute the client is temporarily refused with a 429 response.
- The live stream carries terminal output, so it opens only for a device with the read permission.
- Sending tasks, commands and photos needs the command permission; a phone can upload at most 200 MB of photos a day.
The access key in web mode #
The web mode server listens only on 127.0.0.1 by default, and every /api call requires the access key. If no key is defined, the server generates a random 48-character key at each start and prints it once to the server console. The browser opens with a single-use login ticket valid for two minutes instead of the master key, so the key does not reach the command line that opens the browser or the browser history.
If a key supplied by the user is weak (shorter than 32 characters, with few distinct characters or a repeating pattern), the server starts with a warning on 127.0.0.1 only and does not start at all on an address open to the local network. Failed authentication attempts are limited per source. If the port is in use the server does not close another program; it exits with an error.
Differences in web mode #
When AgentForge is used from a browser, the previewed page runs inside an iframe. In this mode there is no agent browser driver and the browser tools return desktop_only; the element picker and console entries are unavailable as well. Agent web testing is done in the desktop application.
Features #
The 12 features that make up this capability. Each is also listed in the overview of all features.
-
Remote panel and webhook #
Remote control is turned on in Settings › Remote access. By default the panel opens on this computer only; for a phone you choose one network address of this computer (such as your home network or Tailscale address), and on that address the panel opens over HTTPS only. Opening it to all networks at once is not supported. Every /api call requires a Bearer key, and the /api/webhook endpoint accepts a command and an optional project path.
-
Phone page #
The page that opens in the phone browser has four tabs: Office shows what the agents are doing, Tasks shows the board and creates a new task with up to 6 photos, Approvals lists pending requests, and Command sends a goal to the Main Brain. A command can also be spoken: you hold the button and speak for up to 30 seconds, the text is typed into the box and can be fixed before sending; the speech is turned into text on the computer. The "Stop all" button stops the running agents. A request sent twice because of a weak connection does not do the work twice.
-
Per-device keys and pairing #
A pairing code is single-use and valid for at most 10 minutes, and the phone can read it from a QR code. The phone and the desktop show the same confirmation code; if the codes match, the device is approved on the desktop, and no key is generated before that. On the first connection, the certificate fingerprint shown on the phone is compared with the one in Settings. The key is stored on disk only as a hash; each device is revoked with one click from the paired devices list, and "Emergency shutdown" invalidates all keys.
-
Device permissions #
Each device's permissions are chosen when the pairing is approved: read, stop, approve and command. With no selection the device gets read and stop only. The approve permission approves only low-risk and medium-risk requests; a high-risk or critical-risk request can only be rejected from the phone.
-
Web mode #
npm run web builds the interface and starts an HTTP server without an Electron window; agents, terminals and git operations still run on the same computer. By default the server listens only on 127.0.0.1:4765 and every /api call requires the access key.
-
Operating-system notifications and tray icon #
When the window is not focused, notifications are shown for a request awaiting approval, an agent asking a question, a parked card and a finished mission; the same notification is not repeated within 10 minutes. Clicking a notification opens the relevant view, and the tray tooltip shows the number of pending approvals.
-
Telegram, Discord and Slack channels #
The Telegram bot works by long polling without opening an inbound port, accepts commands only from whitelisted chats, and only low-risk and medium-risk approvals can be given from it; Discord and Slack notifications are sent to a webhook address. The channels run in the desktop application only, and a message is truncated to the channel's length limit and retried once when the provider answers with a rate limit.
-
Phone-width interface #
The interface rearranges itself at a width of 760 pixels and below: a navigation bar at the bottom of the screen with Office, Chat, Tasks and Full-screen console replaces the top navigation, and the remaining views open from the More panel. In this layout, added for phone use in web mode, touch targets are at least 40x40 pixels.
-
Cloud sync #
Cloud sync comes with the Web package and keeps a desktop project in step with the web workspace: project files, the task board, memory notes and, if you choose, non-secret settings move both ways, while open consoles stay where they are. Folders are added from one list with "Add folder", and each shows its own status. A conflict keeps both copies; files that look like credentials are skipped by their name and content, and agent tool folders never move in either direction.
-
Instant sync, history and undo #
With automatic sync on, changes reach the other side within a few seconds; if no instant connection to the web side can be made, web changes are checked every 5 minutes. Every round is written to the sync history and can be undone: the previous version of an overwritten or deleted file is kept on both sides for 7 days. A round that would delete most of the files or the board on one side first asks for one confirmation, and a file that cannot be read is not treated as deleted.
-
Pairing with "Allow in browser" #
The desktop app connects to a web account from "Accounts and devices" in Settings with "Allow in browser": on the page that opens you check the account it will join and the verification mark, allow, and paste the single-use code into the app. The code is valid for 5 minutes and works only in the app that started the request; a device unused for 90 days is unlinked automatically.
-
Watching the web workspace live #
While the desktop app is linked to a web account, Web workspace appears in the navigation and the agents’ terminals there can be watched read-only without opening a browser: you cannot type into a terminal, approve or start an agent. The viewer has tabs, side-by-side and focus layouts; terminals are drawn at their original size, and up to 4 terminals stream live at a time.
Related guides
- Remote and phone access Following AgentForge from a phone: HTTPS on one network address, QR pairing, a key and permissions per device, the phone page, webhook and notifications.
- Web mode and its safety options Using AgentForge from a browser: npm run web, the access key, opening to the local network, and the separate data folder and no-restore trial settings.




