GitHubGet started

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.

example.comyour Chrome
browser_click(ref)
agent.py overCDP

the agent's microVM

$ pip install cadquery

$ python part.py

wrote /artifacts/part.step

shell, read, write, editits tools

desktop :5900vnc://localhost:5901

Let the agent use a computer the way you would

agent.py
agent = await (
    AgentBuilder("anthropic/claude-sonnet-5-5")
    .system_tools()
    .console(console)
    .build()
)
  1. Modelshell("pip install cadquery")
  2. Modelshell("python3 part.py")
  3. RunsIn the agent's VM, not on your machine
agent.py
agent = await (
    AgentBuilder("anthropic/claude-sonnet-5-5")
    .browser()
    .build()
)
  1. NeedsRemote debugging on
  2. First useChrome asks you once
  3. Signed inWherever you are
agent.py
agent = await (
    AgentBuilder("anthropic/claude-sonnet-5-5")
    .browser()
    .build()
)

agent.run("Find a flight to Busan next Friday")
  1. Modelbrowser_navigate("airline.example")
  2. PageA robot check
  3. AgentStops and tells you what to do
  1. 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
    Tools →
  2. 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
    Using a browser →
  3. 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
    Sites that check for bots →

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