Give your agent a console and a browser
In the VM, the agent runs shell commands and edits files. Outside it, Ailoy's browser tools drive a Chromium-based browser over the Chrome DevTools Protocol.
the agent's microVM
$ pip install cadquery
$ python part.py
wrote /artifacts/part.step
shell, read, write, editits tools
Let the agent use a computer the way you would
agent = await (
AgentBuilder("anthropic/claude-sonnet-5-5")
.system_tools()
.console(console)
.build()
)- Modelshell("pip install cadquery")
- Modelshell("python3 part.py")
- RunsIn the agent's VM, not on your machine
agent = await (
AgentBuilder("anthropic/claude-sonnet-5-5")
.browser()
.build()
)- NeedsRemote debugging on
- First useChrome asks you once
- Signed inWherever you are
agent = await (
AgentBuilder("anthropic/claude-sonnet-5-5")
.browser()
.build()
)
agent.run("Find a flight to Busan next Friday")- Modelbrowser_navigate("airline.example")
- PageA robot check
- AgentStops and tells you what to do
- 01
A console inside the VM
system_tools gives the agent a shell and file tools that run in its console. It installs packages, runs programs and edits files without touching your machine. The game player example runs a full desktop inside the VM and streams it to you over VNC.
- Tools
- Shell, file read and edit, image read
- Runs in
- The agent's VM
- 02
Your own browser or a fresh one
Your own Chrome is signed in wherever you are, and Ailoy asks your permission once for the agent's whole life. The isolated browser starts on a fresh profile, signed in nowhere, and deletes the profile at the end. The profile option keeps a data directory between runs.
- Reaches it over
- The Chrome DevTools Protocol
- Its tabs
- Only the ones the agent opened
- 03
Robot checks and screenshots
By default the agent acts like a person. At a robot check it stops and tells you, and it never asks for your password. browser_screenshot returns a picture of the tab up to 1280 pixels wide. Saving screenshots or PDFs needs a console.
- Turn it off
- careful=False
- Before paying or sending
- It asks you first
Requirements and limits
- Your own browser
- Remote debugging on. On Chrome 144 or later, turn it on at chrome://inspect/#remote-debugging
- Trust
- Your own browser gives the agent your signed-in sessions, so use it for tasks you trust
- Console
- Browser tools need none. Saving screenshots, PDFs and downloads does
- VNC desktop
- Shown in the OpenTTD example. The browser guide does not cover it
- Version
- Ailoy 0.3
Keep reading
FAQs
Will the agent use my signed-in Chrome?
Only if you choose your own browser and allow the prompt.
What happens at a robot check?
The agent stops and tells you what to do.
Which browsers work?
Chrome by default. Chrome Beta, Dev, Canary, Chromium, Edge and Brave also work.
Run your first agent
with a console and a browser
Install the package, name a model and run it