Quad Harness
0.2.0Download

Docs The desk

Terminal, files and previews

Use the Terminal, Files, Web preview and Simulators windows for real shells, file browsing and editing, the agent's browser, and live phone screens.

5 min read

Four windows let you work alongside the agent without leaving the app. The agent sees some of the same things: you can mention the terminal, the current web page or a simulator screenshot in a message with @.

Terminal

Open it with ⌃(Control and the backtick key), the key 4, the dock, or/terminal`.

The Terminal window runs a real interactive shell in a pseudo-terminal, started in the session’s folder. It behaves like any terminal: colours, full-screen programs, Control+C.

  • New terminal: the + at the right of the strip starts another shell. When there is more than one, each gets a tab. Close one with the × on its tab.
  • Pinned commands: choose Pin a command, type a command such as cargo test or npm run dev, and press Return. It becomes a button that runs that command in the current terminal. Right-click a pinned button to unpin it.
  • Shells keep running while the window is minimised, and the window re-attaches to them when you bring it back.

The Terminal is a feature you can switch off in Settings → Features. The agent’s own commands do not run in this window: they run through its bash tool and show in the conversation.

Tip. Mention @Terminal in a message to give the agent the last lines of your terminal, for example after a failing command you ran yourself.

Files

Open it with the key 5, the dock, or /files.

The Files window shows the folder of the current session as a tree. Files the agent changed are marked.

  • Find a file: the search box at the top filters by name.
  • Choose a folder to fold or unfold it. Choose a file to open it with line numbers and syntax colours.
  • Choose the × (Close the file) to go back to the tree.

When a file is open, the buttons above it depend on its type:

Button When What it does
Edit Any text file Edit in place. Save writes it, Cancel throws the edits away.
Preview Markdown, PDF, Word (.docx), PNG, JPEG, GIF, WebP, SVG Shows the rendered file. Code goes back to the source.
Browser HTML Opens the page in the Web preview window.
Changes Any file Opens the file in the Changes window.
Attach Any file Attaches the file to your next message.

Web preview

Open it from the dock or by choosing Open in Quad’s browser on a link.

The Web preview window is the app’s own browser, and it is also the browser the agent drives with its browser tools. When the agent opens a page, the window appears with that page in it, and you can watch it read, click and type. Pages you open yourself show in the same place, and the address bar follows wherever the agent goes.

  • Tabs: New tab adds one. Tabs the agent opened are marked Opened by Quad.
  • Back, Forward, Reload, and an address bar that takes a web address or a search.
  • Ask Quad: gives the agent this page to read, so you can ask about it.
  • An HTML file opened from Files, or written by the agent, opens here with the Browser button.

Pages open in a sandbox. They have no access to the app, no saved sign-ins, and only https addresses load, except plain http for this computer (so a local dev server works).

If something such as a menu or popover is drawn over this window, the page is hidden until it goes away. That is how the app keeps a native web view from covering its own menus.

The Web preview needs the Browser feature switched on.

Dev servers

If the project describes its dev servers in .quad/launch.json (or .claude/launch.json), the agent can start, check and stop them with its dev_server tool, and you see them as background jobs. Only a localhost address can be opened from them.

{
  "version": "0.0.1",
  "configurations": [
    { "name": "web", "runtimeExecutable": "npm", "runtimeArgs": ["run", "dev"], "port": 5173 }
  ]
}

The program and its arguments are passed one by one, never through a shell. This is the Dev servers feature.

Simulators

Open it from the dock. The Design scene puts it next to the Web preview.

The Simulators window shows a live iPhone simulator or Android emulator screen. Switch between iPhone and Android at the top.

You can How
Start a device Pick one from the list. Starting usually takes 20 to 40 seconds.
Tap, swipe, type Directly on the screen picture, or with Type on the device for the focused field
Press hardware buttons The hardware buttons row
Open a link or deep link Open a link on the device
Read the device log The log, with Filter the log
Send a screenshot to the agent Screenshot to the conversation
Shut a device down Shut this device down

What you need:

  • iPhone: Xcode and a simulator runtime. If none are found, the window says so. Touching the iPhone screen (tap, swipe, type) needs AXe or idb installed; without them you can still see the screen and take screenshots.
  • Android: an emulator created in Android Studio, or a phone plugged in with USB debugging on. It works without anything extra.

The agent can drive the same screens with its ios_simulator and android_emulator tools, and you see what it does. A phone plugged in over USB asks before it is touched.

Note. On a Mac that is short of memory, starting an emulator or simulator asks first and says how much memory is free and how much it needs. See Running on a small Mac.

The Simulators window needs the Phones and simulators feature switched on.