> For AI agents: the complete documentation index is available at https://docs.heys.ai/workstation/en/llms.txt, the full documentation bundle is available at https://docs.heys.ai/workstation/en/llms-full.txt.

# Built-in Browser and Sites

A lot of enterprise work happens inside in-house web systems: OA, ERP, CRM, ticketing, asset management, HR… These systems usually have no open API, let alone one rebuilt for AI. HeyS has a built-in browser so the agent can use these systems directly: **it keeps using the sites you are signed in to, and you can see every page it goes to.**

Give it a **site manual** that explains "how to use this system", and as soon as the agent arrives at that site it knows what it can do there, which path to take, and which actions to ask you about first. This page first covers how to use the browser and how to keep the agent's actions under control, then how to "teach" a site to the agent.

:::note Local desktop only
The built-in browser is only available in the desktop app on this computer. The web app, remote windows opened through CoWork, a desktop with a collaboration node turned on, and Docker and server deployments **have no browser and no switch for it**: letting someone remotely drive a browser on your machine that holds your sign-ins is too risky. In these setups, Settings has no **Sites** or **Browser & site resources**, and the input box has no **Browser**. Everything else works as usual.
:::

## The browser panel \{#the-browser-panel}

At the right end of the session title bar (top right on the New Task page) there is a row of panel icons. The browser icon opens the **browser panel**; click it again to collapse it.

<figure>

![The agent checking pending equipment requests in an asset system: the browser panel on the right has a blue glow around its edges, and the panel header reads "Looking at the page"; at the top of the panel, the rounded tab "资产系统：列表" (asset system: list) and "+"; the toolbar has, in order, Back, Forward, Reload, Annotate, the domain-only address bar "127.0.0.1:8802" (with the bookmark star at its right end), Send to chat, Downloads and "⋯"; in the user message on the left the password is shown as ••••••; above the input box are Continue, Write this site down and Open a page](/screenshots/b01-浏览器-执行中.webp)

<figcaption>The agent checking pending equipment requests in an asset system: the browser panel on the right has a blue glow around its edges, and the panel header reads "Looking at the page"; at the top of the panel, the rounded tab "资产系统：列表" (asset system: list) and "+"; the toolbar has, in order, Back, Forward, Reload, Annotate, the domain-only address bar "127.0.0.1:8802" (with the bookmark star at its right end), Send to chat, Downloads and "⋯"; in the user message on the left the password is shown as ••••••; above the input box are Continue, Write this site down and Open a page</figcaption>
</figure>

From top to bottom, the panel has:

| Part                       | Description                                                                                                                                                                                                                                                                                                                                                                                                                      |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Tabs**                   | Rounded tabs with the page icon and title. "+" right after them opens a new tab, "×" closes one. Right-click a tab and choose **Send to chat**. When there are many tabs they first all get narrower; when they no longer fit, scroll left and right with the mouse wheel, and the fading at both ends shows there are more. The **All tabs** button on the right lists every tab, where you can switch to or close one directly |
| **Browser mode, Collapse** | At the far right of the tab row. For **Browser mode**, see [Browser mode](#browser-mode)                                                                                                                                                                                                                                                                                                                                         |
| **Back, Forward, Reload**  | Same as in any browser                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Annotate**               | Enters web page annotation; see [Web page annotation](#web-page-annotation)                                                                                                                                                                                                                                                                                                                                                      |
| **Address bar**            | In the center. By default it shows only the domain; click into it to see the full URL, and type an address and press Enter to open it. To always show the full URL, turn on **Show full URLs** in Settings                                                                                                                                                                                                                       |
| **Bookmark star**          | At the right end of the address bar; bookmarks the current page; see [The More menu: downloads, history, passwords and browsing data](#the-more-menu-downloads-history-passwords-and-browsing-data)                                                                                                                                                                                                                              |
| **Send to chat**           | Puts the current tab into the input box as a reference; see [Getting the agent to use the browser](#getting-the-agent-to-use-the-browser)                                                                                                                                                                                                                                                                                        |
| **Downloads**              | Opens the downloads list; see [The More menu: downloads, history, passwords and browsing data](#the-more-menu-downloads-history-passwords-and-browsing-data)                                                                                                                                                                                                                                                                     |
| **"⋯"**                    | The **More** menu; see [The More menu: downloads, history, passwords and browsing data](#the-more-menu-downloads-history-passwords-and-browsing-data)                                                                                                                                                                                                                                                                            |

**You and the agent use the same browser.** Sign in in the panel and the agent keeps using that sign-in; you see every page the agent goes to as it happens; if you click or change something in the panel along the way, the agent looks at the page again before its next step instead of clicking from memory. Sign-ins, browsing history and extensions are stored separately for each space, and survive restarts.

### When the panel opens by itself

- **It pops open when the agent opens a web page**: at most once per round. Once you collapse it, later clicks and screenshots in that round do not pop it open again; opening an old session does not pop it open either.
- **Clicking a link in the conversation**: click a web link in an answer and it opens in the built-in browser; hold ⌘ / Ctrl while clicking to open it in your system browser instead. Which browser opens local addresses such as `localhost` in a conversation is set by **Open local dev sites in** in Settings.
- **Previewing HTML files**: HTML files the agent makes have **Preview** next to them, which shows them running in the built-in browser; local addresses detected in a code project's background processes can also be opened in the built-in browser with one click ([Code Projects and Remote Workspaces](https://docs.heys.ai/workstation/en/code-projects-and-remote-workspaces.md)).

### The agent cursor and breathing glow

While the agent is working, a **breathing glow** lights up around the edge of the panel, and a status line below the panel header shows what is going on ("Looking at the page", "Waiting for your reply", or the action it is performing). An **agent cursor** moves around the page with it: a ripple when it clicks, an outline on the input box while it types, the start and end points when it drags, and the direction when it scrolls. This cursor **does not move your real mouse** and is hidden automatically in screenshots. If you do not want it, turn off **Show the agent's cursor and action feedback** in Settings.

While the agent is using the browser, the page is scaled to a width of 1280 to fit the panel; when it stops, the page goes back to its normal layout, and any zoom or device emulation you set is restored automatically.

## Several tasks using the browser at once \{#several-tasks-using-the-browser-at-once}

Several sessions can have the agent use the browser at the same time without getting in each other's way:

- **Each session uses its own tabs**. Follow-ups and continued runs in a session keep using that session's tabs;
- The panel shows only the tabs of **the session you are looking at**, and does not jump back and forth between two tasks; tabs that are not shown keep running, and screenshots and clicks by background tasks do not stall;
- When tabs from other sessions are hidden, a button such as "Other sessions 2" appears at the end of the tab row. Click it to list all tabs, and the button turns into **This session only**; when all tabs of other sessions are closed, the button disappears by itself;
- A tab another session is using can only be read by the agent, not operated; if it needs to act, it opens a new tab of its own. Tabs you opened yourself, and tabs you `@`-referenced for it, are not subject to this limit.

## Getting the agent to use the browser \{#getting-the-agent-to-use-the-browser}

Any of these works the same way:

- **Just say it**: "check the asset system for equipment requests", "open https\://… and fill in this form". When the agent decides it needs the browser, it uses it.
- **`@browser`**: type `@` in the input box and choose **Browser** in the menu, or click **+** at the bottom left of the input box → **Browser**. This tells the agent "do this in the built-in browser", so in its first round it looks at the pages already open instead of guessing.
- **Hand it a particular tab**: the browser group of the `@` menu lists the tabs that are currently open; right-clicking a tab and choosing **Send to chat**, or **Send to chat** on the toolbar, does the same, and a reference to the tab appears in the input box.

Above the input box there are also some browser-related **quick buttons**. Clicking one only fills a sentence into the input box; it does not send it for you:

| Quick button             | When it appears                              | What it fills in                                                                                                          |
| ------------------------ | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| **Open a page**          | When the browser is available                | "open ", and you go on to write the URL and what to do                                                                    |
| **Teach it a site**      | On the New Task page                         | A teaching opener; see [Teaching it a site](#teaching-it-a-site)                                                          |
| **Write this site down** | In a session after the browser has been used | Asks the agent to turn the sites it worked on this time into a site manual; see [Teaching it a site](#teaching-it-a-site) |

:::tip Tip
With the built-in browser, the agent does not operate Chrome or any other browser on your computer, and does not start a separate browser to take screenshots or fetch data. "The current browser" or "this page" always means the one in the panel.
:::

## Sign-in and passwords \{#sign-in-and-passwords}

### Passwords you give are masked

Account names and passwords you write in a task (such as "账号 admin，密码：xxxxxx", account admin, password: xxxxxx) are shown as `••••••` in the run and in the event records; in the chat bubble, the original text appears only when you hover (see the user message in the screenshot in [The browser panel](#the-browser-panel)).

### When password filling is off (default)

- **You gave a password in the task**: the agent fills a password box only when both conditions are met: the password to fill is **exactly** the one you gave, and the site of the login page **belongs to the same organization** as the URL you mentioned in the task (such as `kb.example.com` and `sso.example.com`). On a login page of any other site it never fills anything and asks you instead;
- **You gave no password**: the agent stops at the login page and uses a question card to ask you to sign in yourself in the panel. Once you have signed in, reply (or click the option on the card) and it carries on;
- **CAPTCHAs and two-factor authentication** are always left to you.

### Turning on password filling

**Fill in passwords** under **Settings → Browser & site resources** is off by default. Turning it on asks you to confirm once. Once it is on:

- When the agent meets a login page it fills in the password itself and no longer stops to ask you to sign in; CAPTCHAs and two-factor authentication still need you;
- **We recommend putting passwords in Settings → Environment and marking them as secret**, and writing only the variable name (such as `ERP_PASSWORD`) in the task or site manual. The agent fills in the password by variable name without seeing it; HeyS's own credentials (model keys and so on) cannot be filled into web pages this way;
- Passwords it fills in are shown as dots in the conversation;
- This switch applies to every space on this computer. If your organization sets this centrally, the switch is read-only.

### Signing in to Google

The built-in browser can sign in to a Google account, and Gmail, Google Drive and YouTube share the same sign-in. On Google's pages the built-in browser honestly reports itself as the built-in browser (other sites are not affected), so it is not turned away as an "insecure browser".

If Google still rejects it, a bar at the top of the browser panel says "Google rejected this sign-in. You can sign in from your system browser."; click **Open in system browser** to hand it to the browser on your computer. When this happens, the agent tells you directly instead of retrying over and over.

### Passwords saved by the browser

When you sign in to a site in the built-in browser, a bar appears at the top of the panel, "Save the password for XX?", and you can choose **Save**, **Not now** or **Never for this site**; it only disappears after you click. Passwords are stored encrypted on this computer. Later, clicking a login box offers the saved accounts, and one is filled in only when you choose it. **The AI cannot read these passwords, and cannot trigger the filling either.**

## Confirming before submitting, and site permissions \{#confirming-before-submitting-and-site-permissions}

How far the agent can go on a site is governed by two layers of settings: first **site permissions** (whether it may go there, whether it may download), then the **risk level** (which actions need to be asked about first). Both layers only govern the agent's actions; nothing you click in the browser yourself is restricted.

### Risk level and confirming before submitting

Under the default **Confirm risky actions**, before actions such as **submitting, approving, deleting or paying**, the agent stops and uses a **question card** to ask you: what it is about to do, on which object, and what the consequences are. It submits only after you pick the option that confirms; if you pick "先不要提交" (don't submit yet) or click **Skip**, it does not do that step.

<figure>

![Before submitting, the agent explains that a "笔记本" (laptop) request can be created in the asset system but E1002 was not found in the account system, and asks with a question card "提交前确认这张领用申请怎么处理？" (how should this equipment request be handled before submitting?), with the options "按你提供的信息提交" (submit with the information you gave), "先不要提交" (don't submit yet) and Other, and Skip and Submit below; the panel header shows "Waiting for your reply", and the browser shows the request form](/screenshots/b03-浏览器-提交前确认.webp)

<figcaption>Before submitting, the agent explains that a "笔记本" (laptop) request can be created in the asset system but E1002 was not found in the account system, and asks with a question card "提交前确认这张领用申请怎么处理？" (how should this equipment request be handled before submitting?), with the options "按你提供的信息提交" (submit with the information you gave), "先不要提交" (don't submit yet) and Other, and Skip and Submit below; the panel header shows "Waiting for your reply", and the browser shows the request form</figcaption>
</figure>

If the system blocks the submission, the agent explains why and asks you what to do next:

<figure>

![The submission blocked by the asset system: the agent explains "工号必须来自账号系统，E1002 当前不存在或已停用" (the employee ID must come from the account system; E1002 does not exist or is disabled), then asks about the next step with a question card, with the options "先新建李四账号再申请" (create the account for 李四 first, then apply), "停止本次操作" (stop this operation) and Other](/screenshots/b04a-浏览器-再次提问.webp)

<figcaption>The submission blocked by the asset system: the agent explains "工号必须来自账号系统，E1002 当前不存在或已停用" (the employee ID must come from the account system; E1002 does not exist or is disabled), then asks about the next step with a question card, with the options "先新建李四账号再申请" (create the account for 李四 first, then apply), "停止本次操作" (stop this operation) and Other</figcaption>
</figure>

Which actions count as "high risk" comes from the label on each operation in the site manual ([Sites: site mappings and site manuals](#sites-site-mappings-and-site-manuals)); for anything the manual does not cover, the **Default risk** of the site entry applies, and failing that it is treated as an ordinary write.

| Risk level                          | What is allowed                                                                                                     | Suited to                                                      |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| **Read-only**                       | Look but never change: clicks, typing and submits are all refused; anything that needs changing is left to a person | Trial periods, audit periods                                   |
| **Confirm risky actions** (default) | All actions; asks you before submitting, approving, deleting or paying                                              | Everyday use (recommended)                                     |
| **Automatic**                       | No forced confirmation; still follows the manuals' risk levels and procedures, and keeps a record                   | Unattended cron jobs, explicitly turned on by an administrator |

**Read-only** is enforced at the tool level; it does not rely on the model behaving. Every page opened, click and API call is recorded in the run, so you can check it afterwards.

### The site permissions table

**Site permissions** under **Settings → Browser & site resources** is a table: each row is a site, and you set separately whether the agent's **Browse** and **Download** are **Allow**, **Needs approval** or **Block**. The first row, **Default**, covers sites not listed in the table. Click **Add** to add a row:

- `inner.com` matches only itself, `*.inner.com` matches all its subdomains; browsing of a newly added site defaults to **Needs approval**;
- **Needs approval**: when the agent wants to go to this site or download from it, an approval card asks you first, where you can choose **Allow for this task** or **Deny**;
- **Block**: the agent cannot go there, and will not try another way around it; if a link leads to a blocked site, it goes back to the previous page;
- Where nobody can be asked, such as cron jobs, **Needs approval** is treated as a refusal.

The same group has two more items: **History** (whether the agent may look up your browsing history; **Always ask** by default) and **Use site tools by default** (lets the agent call tools that the site itself provides; off by default).

## How the agent works in the browser \{#how-the-agent-works-in-the-browser}

The agent has three ways of getting information and taking actions, and chooses them in this order:

1. **API first**: it first looks at which APIs the page itself calls, then calls them directly in the page with your sign-in. This is the most stable, the fastest, and the easiest to verify;
2. **Page structure**: it reads the elements on the page, and clicks, types and selects by element;
3. **Looking at the picture**: it gives a screenshot to the model and clicks by position. This suits pages where the first two do not work, such as reports drawn on a canvas or custom-drawn controls.

The last two correspond to the **Operating mode**: **DOM** (reads the page structure and acts on elements), **Vision** (looks at screenshots and acts at coordinates), **Hybrid** (both are available; it uses coordinates only when it cannot act on elements). With nothing set, DOM is used; Vision and Hybrid need a main model that can look at images, and fall back to DOM automatically when it cannot. The default mode is set under **Settings → Browser & site resources → Operating mode** (read-only when your organization sets it centrally); if a site needs a different mode, give it its own on the **Sites** page, and the site's setting takes precedence.

Some other habits:

- **Steps it can foresee are done in one go**: filling in a form is a single action, not several back-and-forth rounds;
- **Key facts are read from the page**: employee IDs, order numbers and amounts are always read from the page or the API response, never pieced together or guessed;
- **After writing, it always reads back**: after submitting, it checks again to confirm the change really took effect.

<figure>

![Both systems done: the answer is organized as conclusion, progress, verification and suggestions, stating that 李四 (employee ID E1002) was created in the account system and request R5001 was submitted in the asset system, with the table read back from the list page; the browser on the right has two tabs, and the current one is the asset system's request list](/screenshots/en/b04-浏览器-完成.webp)

<figcaption>Both systems done: the answer is organized as conclusion, progress, verification and suggestions, stating that 李四 (employee ID E1002) was created in the account system and request R5001 was submitted in the asset system, with the table read back from the list page; the browser on the right has two tabs, and the current one is the asset system's request list</figcaption>
</figure>

**Show the current view every step** (in Settings, on by default): on pages whose operating mode is Vision or Hybrid, the agent first looks at how the page currently looks before deciding each step, and you can see what it saw at the time in the run as well. Each step uses a bit more model quota; when it is off, screenshots are sent back only after some actions.

**A site rejects the built-in browser**: a few sites treat the built-in browser as a script and turn it away, leaving the page blank. In that case a bar at the top of the page says "This site rejected the built-in browser, so the page may not load."; click **Open in default browser** to hand it to the browser on your computer. The agent also tells you directly to open it in the default browser, instead of retrying over and over.

## Sites that want the camera, microphone or location \{#sites-that-want-the-camera-microphone-or-location}

The first time a web page asks for the camera, microphone or location, you are asked first, and your choice is remembered per site. To change it, go to **Settings → Browser & site resources → Site settings** and click **Manage**: each site has a row, with camera, microphone and location each set to **Ask**, **Allow** or **Block**; a site that wants to send notifications needs to be allowed here.

## Browser mode \{#browser-mode}

Click **Browser mode** at the right of the tab row: the browser is on the left and the current conversation on the right (works on both the session page and the New Task page), the project and session lists collapse automatically, and you can read the page, write annotations and talk to the agent all on one screen.

<figure>

![Browser mode: the tabs move to the top of the window; on the left, the asset system's request list and the annotation list (note 1, "设备型号要写具体，比如 MacBook Pro 14" (write the exact device model, such as MacBook Pro 14), with a screenshot, and Send to HeyS below); the Annotate button is to the right of the address bar in the toolbar, and the exit button at the far right; on the right, this session's answers and input box](/screenshots/en/b07-浏览器模式.webp)

<figcaption>Browser mode: the tabs move to the top of the window; on the left, the asset system's request list and the annotation list (note 1, "设备型号要写具体，比如 MacBook Pro 14" (write the exact device model, such as MacBook Pro 14), with a screenshot, and Send to HeyS below); the Annotate button is to the right of the address bar in the toolbar, and the exit button at the far right; on the right, this session's answers and input box</figcaption>
</figure>

- The conversation column can be dragged wider, and the width is remembered; switching sessions in it, or sending a task from the New Task page, stays in browser mode;
- The **Annotate** button is to the right of the address bar, in front of **Send to chat**;
- Click the button at the top right again to exit and return to the layout you had before. Esc is left to the web page and does not exit browser mode.

## Web page annotation \{#web-page-annotation}

To point out what is wrong on a web page or what should change, annotating is far more precise than describing it in words:

1. Click **Annotate** on the toolbar to enter annotation mode. The panel header says "Annotation mode: the page ignores clicks for now", and the page shows the hint "Click an element or drag out an area to add a note, Esc to exit".
2. Click an element on the page, or hold and drag out an area, write your note, and click **Add**. You can write several in a row; numbered markers appear on the page.
3. The annotation list is on the right (or below, when the panel is narrow). Each note can be edited or deleted; **Clear** deletes them all.
4. Click **Send to HeyS**, and the notes are sent into the current conversation, collapsed in the bubble as "N web page notes". Expand it to see each note and the screenshot taken at the time.
5. Press Esc, or click **Annotate** again, to exit annotation mode.

<figure>

![Annotation mode: the "laptop" cell in the request list has been clicked, and the number 1 appears on the page; the annotation list below has "设备型号要写具体，比如 MacBook Pro 14" (write the exact device model, such as MacBook Pro 14), quoting the original text "laptop" with a screenshot, and Send to HeyS at the bottom](/screenshots/en/b06-浏览器-批注模式.webp)

<figcaption>Annotation mode: the "laptop" cell in the request list has been clicked, and the number 1 appears on the page; the annotation list below has "设备型号要写具体，比如 MacBook Pro 14" (write the exact device model, such as MacBook Pro 14), quoting the original text "laptop" with a screenshot, and Send to HeyS at the bottom</figcaption>
</figure>

- By default a screenshot of the annotated spot is attached. Screenshots help the AI understand the note, but use some extra model quota. Under **Annotation screenshots** in Settings you can change this to **Ask each time** or **Never**;
- While in annotation mode, the AI cannot operate this tab for the moment. When it wants to, a notice appears at the bottom of the browser; click **Exit annotation mode** and it carries on;
- If the page navigates away, notes not yet sent stay in the list, and you are prompted to send them as usual or **Discard** them.

## The More menu: downloads, history, passwords and browsing data \{#the-more-menu-downloads-history-passwords-and-browsing-data}

Click "⋯" at the far right of the toolbar:

<figure>

![The browser's "⋯" menu: Find in page (⌘F), Print (⌘P), Zoom (− 100% +), Device toolbar, Take screenshot, Open HTML file…; Import cookies and passwords…, Passwords and autofill, Downloads, History, Clear browsing data; Open in system browser, Browser settings](/screenshots/en/b05-浏览器-更多菜单.webp)

<figcaption>The browser's "⋯" menu: Find in page (⌘F), Print (⌘P), Zoom (− 100% +), Device toolbar, Take screenshot, Open HTML file…; Import cookies and passwords…, Passwords and autofill, Downloads, History, Clear browsing data; Open in system browser, Browser settings</figcaption>
</figure>

| Menu item                         | What it does                                                                                         |
| --------------------------------- | ---------------------------------------------------------------------------------------------------- |
| **Find in page**                  | ⌘F; also works when the focus is inside the web page                                                 |
| **Print**                         | ⌘P                                                                                                   |
| **Zoom**                          | − 100% + and reset; you can also use ⌘+ / ⌘- / ⌘0. Remembered per site                               |
| **Device toolbar**                | Emulates an iPhone, iPad or Android phone, with the page laid out at the device's size in the middle |
| **Take screenshot**               | Saves a screenshot of the current page                                                               |
| **Open HTML file…**               | Pick a local HTML file to open in the built-in browser                                               |
| **Import cookies and passwords…** | See below                                                                                            |
| **Passwords and autofill**        | Manage saved passwords and contact info                                                              |
| **Downloads**, **History**        | See below                                                                                            |
| **Clear browsing data**           | See below                                                                                            |
| **Open in system browser**        | Hands the current page to the default browser on your computer                                       |
| **Browser settings**              | Jumps to **Settings → Browser & site resources**                                                     |

Zoom and device emulation step aside temporarily while the AI is using the browser, and are restored automatically when it is done.

**Downloads**: downloads from web pages are saved to the system Downloads folder by default (you can change the location in Settings, or be asked each time). In the downloads list you can see progress and pause, resume or cancel; when a download finishes you can **Open** it or **Show in folder**. The list survives restarts, and files that have been deleted are marked. Downloads started by the AI do not show a save dialog; they go straight to the location set in Settings.

**History**: recorded per space and grouped by date. You can search it, delete single entries or **Clear all**, and click an entry to open it in a new tab. Pages opened by the AI are marked "opened by AI"; tick **Only pages I opened** to filter them out.

**Passwords and autofill**: the **Passwords** tab lists saved accounts, which you can search, view, edit and delete, and you can also **Import CSV** and **Export CSV**; the **Contact info** tab stores addresses, phone numbers and emails, and when you click the matching field in a web form you can pick one to fill in. They cannot be saved when system encryption is not available.

**Import cookies and passwords**:

- **Cookies**: cookies.txt (Netscape format) and JSON (exported by extensions such as Cookie-Editor) are supported. After choosing the file, tick the sites to import (expired ones are not imported); afterwards, opening those sites in the built-in browser finds you already signed in;
- **Passwords**: password CSV files exported from Chrome, Edge, Safari and Firefox are supported.

**Clear browsing data**: tick what to clear: **Cookies and site data** (you will need to sign in to every site again), **Cache**, **History**, **Download list** (only the list; downloaded files are kept), **Saved passwords**. Only the first two are ticked by default. If a site misbehaves at sign-in (it keeps saying the session expired, or the QR code does not load), clear the cookies first and then sign in again.

**Bookmarks**: click the star at the right end of the address bar to bookmark the current page; bookmarked sites line up on the bookmarks bar below the address bar. Right-click a site on the bookmarks bar for **Open in new tab**, **Edit…** and **Delete**; bookmarks set centrally by your organization are marked **Organization** and can only be opened. **The agent can see the bookmarks too**, so if you say "open the ticketing system I bookmarked", it knows where to go.

## Settings → Browser & site resources \{#settings-browser-and-site-resources}

The browser's settings are under **Settings → Browser & site resources**. Most items are saved per space, and the top right says "Applies to the current space XX"; items pushed down by your organization's administrator are read-only.

<figure>

![Settings → Browser & site resources (top part): Built-in browser "available (electron)" and Fingerprint check; the General group ("Applies to the current space default" at its top right): Open local dev sites in, Show full URLs, Skip certificate checks, Browsing data (Clear browsing data), Browsing history, Annotation screenshots, User agent (with the user agent websites will see shown below), Website language, Homepage, Bookmarks](/screenshots/en/L-设置-浏览器-1-9533d5.webp)

<figcaption>Settings → Browser & site resources (top part): Built-in browser "available (electron)" and Fingerprint check; the General group ("Applies to the current space default" at its top right): Open local dev sites in, Show full URLs, Skip certificate checks, Browsing data (Clear browsing data), Browsing history, Annotation screenshots, User agent (with the user agent websites will see shown below), Website language, Homepage, Bookmarks</figcaption>
</figure>

| Item                                    | Description                                                                                                                                                                                                                                                                         |
| --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Built-in browser**                    | Whether it is available. **Fingerprint check** actually launches the browser once and checks whether it looks like an ordinary Chrome (with no automation markers)                                                                                                                  |
| **Open local dev sites in**             | Whether localhost addresses in conversations open in the built-in browser or the system default browser                                                                                                                                                                             |
| **Show full URLs**                      | When off, the address bar shows only the domain                                                                                                                                                                                                                                     |
| **Skip certificate checks**             | Turn it on when intranet systems use self-signed certificates; see below                                                                                                                                                                                                            |
| **Browsing data**, **Browsing history** | Clear browsing data; manage the history                                                                                                                                                                                                                                             |
| **Annotation screenshots**              | **Always include**, **Ask each time**, **Never**                                                                                                                                                                                                                                    |
| **User agent**                          | The browser and system that websites see: **Default** (standard Chrome matching the built-in engine), several common desktop and mobile browsers, or **Custom**. You are warned when it contains HeyS, Electron or Headless; it applies to new tabs, and to open tabs once reloaded |
| **Website language**                    | **Follow system**, 中文 (Chinese), English or **Custom**. Set separately from HeyS's interface language; reload the page for the change to take effect                                                                                                                                |
| **Homepage**                            | The page opened in a new tab; leave it empty for a blank page                                                                                                                                                                                                                       |
| **Bookmarks**                           | **Manage**: add, rename, change the URL, put into folders, reorder                                                                                                                                                                                                                  |

### Skip certificate checks

Company intranet systems often use self-signed certificates, and by default the built-in browser blocks such pages. With **Skip certificate checks** on, pages open as usual even when there is a certificate error.

<figure>

![The Skip certificate checks switch in the General group, described as "Turn on for intranet systems with self-signed certificates. The built-in browser then opens pages even when the certificate is not trusted. Only affects the built-in browser in this space."](/screenshots/en/s04-设置-浏览器-不校验证书-0c4b98.webp)

<figcaption>The Skip certificate checks switch in the General group, described as "Turn on for intranet systems with self-signed certificates. The built-in browser then opens pages even when the certificate is not trusted. Only affects the built-in browser in this space."</figcaption>
</figure>

- Off by default;
- Only affects the built-in browser of the current space; other spaces still check certificates;
- After you turn it off, checking resumes within a few seconds.

:::warning Warning
With certificate checks skipped, you can no longer tell whether a page is an impostor. Only turn it on when you really need to reach an intranet system with a self-signed certificate, and you can turn it off again when you are done.
:::

### Passwords, extensions, downloads and permissions

<figure>

![Settings → Browser & site resources (middle part): Autofill and passwords (Offer to save passwords, Password manager, Contact info); Extensions (Extension manager); Downloads (Location, Ask where to save each file, Download history); Browser permissions (Site settings, History, Use site tools by default)](/screenshots/en/L-设置-浏览器-2-9533d5.webp)

<figcaption>Settings → Browser & site resources (middle part): Autofill and passwords (Offer to save passwords, Password manager, Contact info); Extensions (Extension manager); Downloads (Location, Ask where to save each file, Download history); Browser permissions (Site settings, History, Use site tools by default)</figcaption>
</figure>

| Item                                                                | Description                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Offer to save passwords**, **Password manager**, **Contact info** | See [Sign-in and passwords](#sign-in-and-passwords) and [The More menu: downloads, history, passwords and browsing data](#the-more-menu-downloads-history-passwords-and-browsing-data)                                                                                                                                                                                       |
| **Extension manager**                                               | Install, remove, enable or disable Chrome extensions, separately for each space. You can install from an unpacked folder, a .crx or a .zip. The built-in browser has no toolbar buttons or popups, so extensions that work through page scripts (page enhancements, select-to-translate and so on) can be used; before installing, you are told which features will not work |
| **Downloads**                                                       | **Location** (**Change**), **Ask where to save each file** (downloads started by the AI are not asked about), **Download history**                                                                                                                                                                                                                                           |
| **Site settings**, **History**, **Use site tools by default**       | See [Confirming before submitting, and site permissions](#confirming-before-submitting-and-site-permissions) and [Sites that want the camera, microphone or location](#sites-that-want-the-camera-microphone-or-location)                                                                                                                                                    |

<figure>

![Settings → Browser & site resources (bottom part): the site permissions table (Site or pattern, Browse, Download; the Default row is Allow for both; Add at the top right); Defaults: Operating mode (Hybrid, set by the organization admin), Fill in passwords (off), Show the agent's cursor and action feedback (on), Show the current view every step (on), Risk level (Confirm risky actions); Manage sites & manuals at the bottom](/screenshots/en/L-设置-浏览器-3-9533d5.webp)

<figcaption>Settings → Browser & site resources (bottom part): the site permissions table (Site or pattern, Browse, Download; the Default row is Allow for both; Add at the top right); Defaults: Operating mode (Hybrid, set by the organization admin), Fill in passwords (off), Show the agent's cursor and action feedback (on), Show the current view every step (on), Risk level (Confirm risky actions); Manage sites & manuals at the bottom</figcaption>
</figure>

The **Defaults** group is how the agent operates the browser: **Operating mode** ([How the agent works in the browser](#how-the-agent-works-in-the-browser)), **Fill in passwords** ([Sign-in and passwords](#sign-in-and-passwords)), **Show the agent's cursor and action feedback** ([The browser panel](#the-browser-panel)), **Show the current view every step** ([How the agent works in the browser](#how-the-agent-works-in-the-browser)), **Risk level** ([Confirming before submitting, and site permissions](#confirming-before-submitting-and-site-permissions)). **Manage sites & manuals** at the bottom jumps to the **Sites** page.

:::note Note
The HeyS browser presents itself as an ordinary Chrome with no automation markers, and the human-verification widgets embedded in web pages do not treat it as a bot either, so most sites treat it normally. But it **does not crack CAPTCHAs or fake fingerprints**; CAPTCHAs are always left to you. Please do not send it to sites that explicitly forbid automated access.
:::

## Sites: site mappings and site manuals \{#sites-site-mappings-and-site-manuals}

The browser can open web pages, but the agent does not know "how to use" your company's systems: what each page is for, which API to call to create an account, or that amounts over a certain figure need a second-level approver chosen first. **Sites** is where you tell it these things:

- **Site manual**: a manual that says "how to use this system";
- **Site mapping**: binds manuals (and skills it can call) to a particular site.

As soon as the browser opens a site, the agent automatically gets that site's manuals. When several tabs have different sites open, the manuals of all those sites are in effect at the same time.

Manage them under **Settings → Sites** (in the **Agent** group of the settings navigation):

<figure>

![The Sites page: on the left, the site list (Acme 内网（demo） (Acme intranet, demo) 127.0.0.1, 账号系统 (account system) 127.0.0.1:8801, 资产系统 (asset system) 127.0.0.1:8802 with one unreviewed marker), and below it Directory / workflow manuals (no site); on the right, the selected site's name, entry URL, description, default risk, operating mode (Inherit), Reviewed, the skills joined on arrival, and the operations table of the manual inner-common (check-login, "判断当前是否已登录" (check whether you are signed in), api, read, Reviewed switch); in the page header, refresh, Raw YAML, Browse extensions, Import manual and New site](/screenshots/en/p25-网站-9533d5.webp)

<figcaption>The Sites page: on the left, the site list (Acme 内网（demo） (Acme intranet, demo) 127.0.0.1, 账号系统 (account system) 127.0.0.1:8801, 资产系统 (asset system) 127.0.0.1:8802 with one unreviewed marker), and below it Directory / workflow manuals (no site); on the right, the selected site's name, entry URL, description, default risk, operating mode (Inherit), Reviewed, the skills joined on arrival, and the operations table of the manual inner-common (check-login, "判断当前是否已登录" (check whether you are signed in), api, read, Reviewed switch); in the page header, refresh, Raw YAML, Browse extensions, Import manual and New site</figcaption>
</figure>

**The left column** is the site list (name + site address; sites with unreviewed operations carry a small dot and a number), with **Directory / workflow manuals (no site)** listed separately below. Header buttons: refresh, **Raw YAML** (edit the whole mapping table directly; it is validated before saving), **Browse extensions** (look for ready-made site manuals in the extension market), **Import manual** (zip), **New site**.

**On the right** is the form for the selected site; when you are done, click **Save** at the top right:

| Field                        | Description                                                                                                                           |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| Name, Entry URL, Description | For display; the entry URL is where the agent starts when it goes to this system                                                      |
| Default risk                 | The risk applied to operations on this site that the manual does not label                                                            |
| Operating mode               | **Inherit**, **DOM**, **Vision**, **Hybrid**. **Inherit** = use the setting of the parent site, and failing that your default setting |
| Browser identity             | How the site identifies this browser: **Inherit** (default), **Report the built-in browser** or **Use space settings**; see below     |
| Reviewed                     | Whether a person has looked over this mapping                                                                                         |
| Skills joined on arrival     | Skills that become available on arrival at this site (the callable kind, not manuals), comma-separated                                |

**Browser identity**: some sites refuse to sign you in when they find a browser that "claims to be Chrome but isn't"; choose **Report the built-in browser** for such a site and it gets through. Google's pages are handled this way by default. Conversely, **Use space settings** lets a site (including Google's pages) be presented as usual according to the space's browser settings (**User agent**, [Settings → Browser & site resources](#settings-browser-and-site-resources)).

A site address can be written in two ways: a specific host (such as `account.inner.com` or `127.0.0.1:8801`) covers only that one site; `*.inner.com` covers all its subdomains. Company-wide rules (single sign-on, menu structure) can be written once on `*.inner.com`, and every subsystem gets them. An IP address is a separate site; there is no looking upward by network range.

**Manual cards**:

- The card header shows the manual's name and summary; the 1 to 5 below correspond to the manual's five sections: **What the system does**, **Pages and business objects**, **Operations**, **Rules and SOP**, **Permissions and risk**;
- The operations table lists each operation's id, **Goal**, **Channel** and **Risk**, with the **Reviewed** switch at the far right. Turning it on marks that one operation as reviewed, and leaves the rest of the manual untouched word for word;
- A row of icons at the top right of the card: **Edit body**, **AI edit** (let the agent make the changes), **Export zip**, **Detach from this site** (the manual itself is not deleted), **Delete manual**;
- **Attach existing manual…** attaches an existing manual to the current site; **New manual** generates one from the template and attaches it.

:::warning Warning
**For any unreviewed operation that changes data, the agent always asks you before carrying it out.** Every operation in a manual the agent put together itself is "unreviewed". Look over each one and turn on its review switch; only then does the agent carry it out according to its labeled risk level.
:::

:::note Note
Saving the form rewrites the whole mapping table, so handwritten comments are lost; if you care about comments, edit with **Raw YAML**. The mapping table and manuals are shared by the whole computer, not separated by space.
:::

## Teaching it a site \{#teaching-it-a-site}

The easiest way to write a manual is to **teach it once**:

1. On the New Task page, click the quick button **Teach it a site**, fill in the URL in the opener, then walk it through step by step as you would a new colleague: "open the ticket page, click New at the top right, choose Fault as the type, fill it in and click Submit; for amounts over 5000, choose a second-level approver first". The agent does it in the panel, and you can correct it at any time.
2. When you are done, click **Write this site down** above the input box and send it.
3. From the operation records of this session, the agent puts together a site manual and registers it in the site mapping.
4. Go to **Settings → Sites**, find the site, look over each operation in the manual, and turn on the **Reviewed** switch.

The manual it puts together **only records what was observed**: APIs only if they were actually captured, steps only if they were actually performed, business rules only in your own words; every operation is first marked "unreviewed", with a note of which session it came from.

:::tip Tip
While teaching, you can first have the agent look at which APIs the page calls. Operations in the manual written as "via API" are much more stable than clicking page elements, and are not affected when the system's interface is redesigned.
:::

Manuals your organization has already made can also be installed directly from the **Sites** category of the extension market ([Extension Market](https://docs.heys.ai/workstation/en/extension-market.md)); once installed, they show up right away under **Settings → Sites**.

## FAQ \{#faq}

| Symptom                                                                      | What to do                                                                                                                                                                                                                              |
| ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| There is no browser panel                                                    | Make sure you are in the desktop app on this computer; the web app, CoWork remote windows and collaboration nodes have no browser. Then check whether the built-in browser is "available" under **Settings → Browser & site resources** |
| The agent keeps stopping at the login page                                   | The sign-in has expired or been cleared: sign in once in the panel; or give the account and password in the task, or turn on **Fill in passwords**                                                                                      |
| A site keeps saying the session expired, or the QR code does not load        | In **Clear browsing data**, tick **Cookies and site data**, clear it, then sign in again                                                                                                                                                |
| The page is blank, with a notice that the site rejected the built-in browser | Click **Open in default browser**                                                                                                                                                                                                       |
| Signing in to Google is rejected                                             | Click **Open in system browser** on the panel and sign in in your system browser                                                                                                                                                        |
| A site says the browser is not secure when you sign in                       | Under **Settings → Sites**, set its **Browser identity** to **Report the built-in browser**                                                                                                                                             |
| An intranet system will not open, with a certificate error                   | Turn on **Skip certificate checks** under **Settings → Browser & site resources**                                                                                                                                                       |
| The agent says this site is not allowed                                      | In the site permissions table, **Browse** for this site is **Block**; change it to **Allow** or **Needs approval**                                                                                                                      |
| I can't see tabs opened by other tasks                                       | Click "Other sessions N" at the end of the tab row                                                                                                                                                                                      |
| The agent arrived at the site but did not follow the manual                  | Under **Settings → Sites**, check that the site's address is written correctly (a specific host or a `*.` subdomain) and that the manual is attached                                                                                    |
| It asks me to confirm every time                                             | That operation in the manual has not been reviewed yet, or its risk level is a submit-type one; operations that have been reviewed and are not high risk are no longer asked about                                                      |
| I can't see the view at each step in the run                                 | Only pages whose operating mode is Vision or Hybrid have it; check whether **Show the current view every step** is turned off                                                                                                           |
