Skip to content

Browser ​

Real web pages in tabs beside the chats, so a dev server's page can sit next to the chat working on it. Agents can drive the same browser.

Open a page ​

Open a browser tab with the globe button at the right of the tab strip, Ctrl Shift B, or New browser tab in the command palette. From there you can split it to the right, reload, go back and forward, open the page in your system browser, or open its developer tools.

Addresses:

  • localhost:3000, 127.0.0.1:8080 or [::1]:3000 get http://.
  • An address with a dot gets https://.
  • Anything else is not searched for.

Links to local dev servers (localhost, 127.0.0.1, 0.0.0.0, [::1], *.localhost) in chats and in the terminal open in a browser tab beside the chat. Other links still open in your system browser.

Agents in the browser ​

Claude Code and Codex get browser tools for each chat: they open a page, read it (a snapshot of the page), click, type, press keys, scroll, run JavaScript, read the console and take screenshots.

The first time an agent uses them in a chat, a browser tab opens beside that chat; its tooltip says which chat opened it. With Claude Code, reading the page, its console and screenshots runs without asking; everything else follows the chat's permission mode.

Safety ​

  • Pages load only over http(s), and never get access to Mango itself.
  • The tools reach agents through a server that listens on 127.0.0.1 only, with a secret address per chat.
  • Pages close with their tab and are not restored after a restart.

Remote projects ​

In a remote project, localhost addresses are the environment's own, tunnelled over SSH (on the same port number here when it is free). Agents running in the environment reach the browser tools through a reverse SSH forward: an Incus proxy device mango-browser on the instance while Mango runs. Joined environments use the SSH forward alone.

Limits ​

  • Screenshots work on Linux only for now.
  • Local https addresses in a remote project are not supported yet.
  • The page is a native view drawn over the app, so it hides while a menu, a dialog, the command palette or Settings is open, and while you drag a divider.

Mango 0.21.0