# Let an AI agent test your website in its own browser

Source: https://kilat.host/articles/test-your-website-and-app-with-kilatbox-browser

With the box browser, your KilatBot agent drives Chromium inside its own KilatBox to test a website or local dev server, click through flows and send you screenshots — while you keep accounts you care about in the secure browser.

## Why test in the box browser?

When an agent builds a landing page or web app inside a KilatBox, reading HTML is not enough. Layout breaks, missing images and broken buttons only show up in a real browser. With `box_browser`, your agent opens `http://localhost:<port>` or a public staging URL in Chromium inside the box, reads what rendered, clicks buttons, fills test forms, checks downloads in `/work/downloads` and captures screenshots.

On a computer or tablet, you can choose **Open desktop** on the box page to watch Chromium live as the agent works. On a phone, the desktop page tells you to open it on a bigger screen and does not start a desktop session — ask the agent to send screenshots to chat or Telegram instead.

## Turn on two switches.

In the agent's **Tools** tab, turn on both:

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

Your agent re-checks its tool list automatically, so `box_browser` and `box_screenshot` appear without restarting the agent. Full reference: [Box browser](https://kilat.host/docs/box-browser).

## A real test prompt to try.

Ask for specific checks and visual proof instead of "test the site":

> Start the app on port 3000 in the KilatBox, open http://localhost:3000 in the box browser, test the navigation links and the contact modal, check for broken elements, and send me a screenshot of the home page and the open modal.

When the agent sends a screenshot, the picture appears inline in your dashboard chat and in your private Telegram chat with the agent. Box screenshots are kept for 1 day, with limits of 30 an hour and 200 a day per agent.

For deeper debugging, the agent can also send raw Chrome DevTools Protocol (CDP) calls inside the box only. Debug ports stay inside the box and are never exposed on preview URLs.

## When to use the secure browser instead.

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.

Saved Vault logins are never filled in the box browser. Inside a KilatBox, the agent has shell access to the machine's processes and files, so KilatBot cannot isolate saved passwords from the agent there. Everything signed in to the box browser is also shared by every agent that uses that box.

| Task | Use |
| --- | --- |
| Testing your app on `localhost`, checking layout, public-page research, downloading files into `/work` | Box browser |
| Signing in to business accounts, using saved Vault logins, payments, sending messages or deleting records | [Secure browser](https://kilat.host/docs/kilat-agent#live-browser) |

Read [AI agent approvals and their limits](https://kilat.host/articles/ai-agent-approvals-and-their-limits) to see how approval pauses and browser takeover work in the secure browser.

## Pair testing with GitHub in the KilatBox.

If your site lives in a GitHub repository, you can turn on **GitHub in this box** on the box page, pick just that repository, and let the agent test its branch in the box browser before opening a pull request. Tokens last 1 hour, cannot edit workflows, settings or secrets, and are revoked when the box sleeps. See [GitHub in the KilatBox](https://kilat.host/docs/box-github).

## Test one staging page first.

Start with a local preview or a public page that needs no login. Check the screenshots and review any fixes before shipping. See [the agent overview](https://kilat.host/agent) and [Pricing](https://kilat.host/pricing), or [Get started](https://kilat.host/users/sign_up).

Read next: [AI agent approvals: control and limits](https://kilat.host/articles/ai-agent-approvals-and-their-limits) · [How to build and publish a landing page with AI](https://kilat.host/articles/ask-your-agent-for-a-landing-page-and-publish-it)
