# Box browser

Source: https://kilat.host/docs/box-browser

The box browser is Chromium running inside your KilatBox. Your agent drives it with `box_browser`, and you can watch what it does live on the box desktop.

**Important:** The box browser has no approval pauses or secure login handling — the agent has full control of it. For accounts you care about, use the secure browser.

## What the agent can do

With `box_browser`, an agent can open and test web pages inside the KilatBox, including local dev servers running on `http://localhost:<port>`:

- **Navigate and read.** Open URLs, read page text and numbered interactive elements, go back and forward, and wait for text or timers.
- **Interact.** Click, type, submit forms, press keyboard keys and scroll.
- **Tabs and downloads.** Open new tabs, switch or close tabs, and inspect files downloaded into `/work/downloads`.
- **Screenshots.** Capture the viewport, the full page or a single CSS selector. With a question, Kilat AI reads the picture for the agent; with `send`, the picture appears in chat and Telegram. Box screenshot limits apply (30 an hour, 200 a day per agent; kept for 1 day).
- **Raw DevTools (CDP).** Send a Chrome DevTools Protocol call inside the box only. Debug ports (9222 to 9229) stay local to the box and cannot be exposed as preview URLs.

You can watch the browser live by opening **Open desktop** on the box page from a computer or tablet. Chromium closes itself after 30 idle minutes and reopens on the next call.

## What needs to be turned on

`box_browser` is available only on an owner agent's own token when both switches are on under the agent's **Tools** tab:

- **Use boxes**
- **Browse the web**

Agents re-check their tool list automatically, so turning these switches on takes effect without restarting the agent.

## Box browser or secure browser?

KilatBot has two browsers for different jobs. Pick the right one before you start:

| Job | Box browser | Secure browser |
| --- | --- | --- |
| Testing an app or site running inside the KilatBox (`localhost`) | Yes | No |
| Long research on public pages and downloading files into `/work` | Yes | Not built for box files |
| Using saved Vault logins, approval pauses, or taking over for sign-in | No | Yes |
| Accounts you care about, payments, sending or deleting | No | Yes |

## Why saved Vault logins don't fill here

Saved Vault logins are never filled in the box browser. Inside a KilatBox, the agent can run shell commands and inspect processes, memory and files in that machine, so an isolated password boundary cannot hold there. Use the [secure browser](https://kilat.host/docs/kilat-agent#live-browser) whenever a task needs a saved login, a payment or a pause for your approval.

Every agent that uses the box also shares anything signed in to the box browser. Don't save passwords, payment details or personal accounts in it.

For a real testing walkthrough, read [let an AI agent test your website in its own browser](https://kilat.host/articles/test-your-website-and-app-with-kilatbox-browser).

## Frequently asked questions

### Can I watch the agent browse?

Yes. Open the box page on a computer or tablet and choose Open desktop to watch Chromium live. You can also ask the agent to send a screenshot in chat or Telegram.

### Why won't my saved Vault logins work in the box browser?

Because the agent has full control inside the KilatBox, so KilatBot cannot isolate passwords from the agent there. Use the secure browser for accounts and saved logins.

### Can someone outside the box reach its browser debug ports?

No. DevTools (CDP) stays inside the box, and preview URLs refuse ports 9222 to 9229.

### Do I need to restart my agent after turning on Use boxes or Browse the web?

No. Agents re-check their tool list and pick up new tools without a restart.
