Agent browser

A browser for your agent, next to the chat

An agent building a website can’t see what it builds. With its own browser in doki, it opens your app, tests it and lets you watch while it does.

How it works

Each agent has its own browser, created the first time it’s used. You can open it before the agent does: type an address at the top or ask it to open your app.

The agent reads the page as text, with every element numbered, and clicks or types by that number. That’s faster than working from screenshots, though it can take those too.

  • ⌘1 Chat, ⌘2 Browser, ⌘3 Changes.
  • Next to the chat puts the browser beside the conversation.
  • Full screen shows only the browser; esc exits.
  • Open in your browser sends the page to your usual browser.

The localhost of the agent’s machine

For an agent on your Mac, localhost is your Mac. For one running on another machine over SSH, localhost is that machine: doki opens an SSH tunnel to its port and the page shows up on your Mac.

If the page leads to another port on that machine, doki opens another tunnel. The address you see is the remote machine’s, not the tunnel’s.

The agent browser from the web

In doki in the browser the Browser tab also sits next to the chat. Your Mac sends a live picture of what it shows, and from the web you navigate, click, type, press keys and scroll.

Passwords aren’t typed from the web: you type them on the Mac, in the browser panel.

What the agent can’t open

The agent can’t open file:// addresses: with them it could read any file of yours, like keys or a .env, without asking. If it needs a file, it reads it with its own tools.

It can’t open doki’s port on your Mac either, because from that browser it would count as someone on the same Mac. You can still open both from the panel.

The agent is told to treat everything on a page as data, not instructions, and never to type passwords, payment details or real credentials. See Security.

How to start

  1. Start a Claude Code agent from doki

    Claude Code sessions that doki runs come with the browser tools, nothing to set up.

  2. Ask it to test your app

    For example: “open localhost:3000 and try the sign-up”. The agent browses and tells you what it found.

  3. Watch it in the Browser tab

    Press ⌘2 to watch it live. If needed, take over or type the password yourself.

Frequently asked questions

Which agents use the browser?

Claude Code sessions that doki runs get the browser tools. The Browser tab is on every agent, and you can use it yourself even if the agent doesn’t.

Is it a real browser?

Yes. On the Mac it’s a WKWebView, the same engine as Safari. On a Linux server with doki-hub it’s headless Chromium.

Can the agent read files on my disk through the browser?

No. doki blocks file:// addresses and doki’s own port for the agent. You can still open them from the panel.

Can it type my passwords?

No. If the agent tries to type into a password field, doki refuses and tells it to ask you to do it in the Mac’s browser panel.

Can I watch it from my phone or another computer?

Yes, from doki in the browser. You see a live picture of the page and can navigate, click and type, except passwords.

Does it work with an agent on another machine?

Yes. For that agent, localhost is its own machine: doki reaches its ports through an SSH tunnel. See Ports.

Updated November 18, 2026

Never leave an agent waiting.

Claude Code, Codex, Cursor and the rest in one Inbox: on your Mac, the browser, your phone and your servers.

See pricing →