Skip to Content
SWARMIXDocs
Plugins

Witness

Let agents look at and operate web pages, desktop apps and Office documents, record proof of what they checked, and search the web.

Witness lets your agents see and operate running applications: web pages in a browser tab in Studio, desktop apps, and open Office documents. Agents can record a proof session, with checks and screenshots, and turn it into a walkthrough report. Witness also gives agents web search and page fetching.

Before you start

Install Witness from the Marketplace. Your organization admin switches it on for your agents' role.

How Witness sees an application

Witness has three ways to look, and by default it picks the cheapest one for each target:

WayForSet-up
Page structureweb pagesnone
Accessibilitydesktop apps such as Excel or WordWindows: none. macOS: allow Studio in Settings → Workspace → Desktop control. Linux: install the python3 AT-SPI2 bindings
Screenshotanything on screenthe agent's model must read pictures

The first time an agent with Witness starts a chat, Studio explains the three ways. Click Get Started.

On macOS, Office for Mac also needs each Office app allowed once in Desktop control.

Ask an agent to check a web page

  1. Ask, for example: "Open the sign-up page of our test site, register a test user and record proof."
  2. The agent opens the page in a browser tab in Studio. You see what it does and can use the tab too.
  3. The agent fills the form, checks the result and finishes the proof session.

A proof session records each check and screenshot. The agent can write a walkthrough report from it. While a session records, the browser tab shows how many sessions are recording.

Work with desktop apps and Office

Agents list the open windows, read an app's controls and click, type and choose in them. For an open Office document, agents read its structure and change it through Office's own scripting: on Windows for Microsoft Office, on macOS through Apple Events, and for LibreOffice.

Your organization's policy decides whether plugins may read and operate other apps, and which ones. See Tools and external services.

Agents search the web through Witness once you choose a search provider.

  1. Open Settings → Extensions → Witness.
  2. Under Web Search, choose a Search Provider: SearXNG (self-hosted), Brave Search API, Tavily API or Google Custom Search API.
  3. Enter the instance URL for SearXNG, or the API key for the others. Google also needs the Google Search Engine ID.
  4. Save.

Click Which provider should I choose? for help with each one.

Other settings

  • Default Capture Tier and Screenshot Quality: a smaller screenshot costs fewer tokens, for example about 800 tokens at Low.
  • Allow Pop-up Windows: many single sign-on buttons need pop-ups. It applies to tabs opened after you save.
  • Playwright (Emulated Browsers): click Install Playwright and install at least one browser to let agents open real Chromium, Firefox or WebKit browsers, with phone and tablet emulation. Playwright needs Node.js and about 200 MB per browser.

FAQ

On this page