Google’s Chrome team has built a controlled, isolated web environment called the “Mirror Dimension” to test AI browsing agents powered by the company’s Gemini models. Google is detailing the system in a blog post for the first time.

The environment recreates a broad range of websites and platforms, including social media, shopping sites and bank dashboards. Agents use Chrome to navigate the simulated sites and complete tasks, while facing tests such as hidden prompt-injection attacks.

The team says limited test environments may not prepare agents for the open internet, while releasing unrefined agents online would be risky. Agents may also develop “eval awareness,” changing their behavior when they recognize they are being tested.

“Agents are not programmed, so you can’t predict every possible thing an agent might see; the exploration space that we have to address is huge, and the web is hostile,” says Charles Qian, a software engineer on the Chrome AI security team. He says the team has seen agents develop judgment about what information is needed for a task and when to ask users for confirmation.

To build the environment quickly, the Chrome team used website and web app development agents, guided by a purpose-built AI harness, to create realistic services and data flows. These included details such as promo codes on shopping sites and populated social media pages.

Researchers also had to modify how Chrome operated in the controlled environment so agents could use the real browser, including creating forged web certificates for validity checks. The team says those attacks would not be possible against regular Chrome users on the open internet, because they relied on the researchers’ privileged access to the environment and network.

Google says the browsing agents tested in the Mirror Dimension are benign and do not have cyber capabilities. The company aims to make the environment available to teams across Google for testing.

“We’re sharing this approach so other teams both internally and externally think about doing it this way,” says Doug Turner, Google’s director of engineering. He says the company plans to continue investing in the approach and make the environment more realistic as models become more sophisticated.