Quad Harness
0.2.0Download

Docs Models and providers

Agent providers

Use Claude Code, Codex and Antigravity as the model of a conversation, with several accounts in their own folders, colours, switches and context windows.

5 min read

If you already pay for an agent by subscription, you can use it as the model of a Quad Harness session. Quad Harness runs the program itself for each turn, reads what it prints, and records the turn in the same session log as any other model. It never reads the program’s sign-in.

Note. The Codex and Antigravity providers are new in 0.2.0 and have had little real-world use. Claude Code has been supported since 0.1.1.

The supported programs

Claude Code Codex Antigravity
Program claude codex agy
Several accounts Yes, one config folder each (CLAUDE_CONFIG_DIR) Yes, one config folder each (CODEX_HOME) No, one account
Sign-in shown Checked with the program, including the plan Not checked Not checked
Asks before acting Yes, in Standard mode No No
Models Its own list Its own configuration Its default, and what agy models lists
Quad’s tools, pictures Yes Not yet Not yet

The Gemini CLI is listed when it is found on your Mac, marked Not yet, with the reason it cannot be used yet.

Open the Providers page

Go to Settings → Models and agents → Agents. The Accounts tab shows one list of providers. Each row has:

  • A mark for the program, with the account’s colour and initials.
  • The account’s name and the program’s version.
  • A status line, such as Authenticated · Claude Pro Subscription, Installed · sign-in not checked, or a note that it is not signed in.
  • The context window, once it is known.
  • A switch. A provider that is on appears in the model picker under its name. One that is off stays in the list but is not offered.

Checked 9m ago (or similar) at the top says when the rows were read. Check again reads them all again. Every account is read in its own folder, at the same time. Nothing is ever signed in for you.

Connect a program

  1. Install the program and make sure it runs in a terminal.
  2. In Settings → Models and agents → Agents, find its row and turn the switch on.
  3. If the row says it is not signed in, it shows the exact command to sign in once, with the right config folder. Choose Copy, run it in Terminal, then choose I’ve signed in.
  4. Pick the provider in the composer’s model picker.

When you switch a provider on for the first time, the app sends it one short message to learn the account’s real context window (one subscription can have a million tokens where another has two hundred thousand). A notice tells you it is doing this. Until then the picker shows a guess and the row says so.

Several accounts

Claude Code and Codex keep each account’s sign-in and history in a config folder. Claude Code’s default folder is ~/.claude. A work account and a personal account are two folders, so they never mix.

To add a second account:

  1. Choose + next to Providers, or Add provider at the bottom of the list.
  2. Pick the Program.
  3. Give it a Name, for example Claude Work.
  4. Set the Config folder: type a path, choose Browse, or pick one of the folders under Found on this Mac (any ~/.claude-* or ~/.codex-* folder that looks like an account).
  5. Pick a Colour.
  6. Choose Add provider, then sign in to that account once as the row shows.

Rules:

  • A folder cannot belong to two providers.
  • The default account’s own folder is not offered again.
  • Antigravity has one account, so it has only its row and switch.

Choose a row to rename it, change its colour or folder, Test connection (sends one short message from that account and shows the answer), or Remove it. The first provider of each program (its default account) can be switched off but not removed.

How conversations carry on

Each conversation remembers its thread with its own program and account. The next message resumes that thread, so the program keeps its own context.

If you switch a conversation to another account or another program, it starts afresh there. Switching back finds the first thread again. One program’s conversation id is never passed to another.

When a turn runs on an account, the app starts the program with that account’s folder variable set (CLAUDE_CONFIG_DIR or CODEX_HOME) and nothing else of its environment changed, so the program finds its sign-in in the macOS Keychain as usual.

Permission modes with agent providers

The three permission modes behave differently depending on whether the program can stop and ask:

Mode Claude Code Codex and Antigravity
Unrestricted Runs without asking Can change files and run commands
Standard Asks you through Quad’s approval cards, like any model Can only read
Plan Read-only planning Can only read

Codex and Antigravity cannot ask during a turn. So in Standard and Plan modes, what you wanted to be asked about, they simply do not do. When something is blocked, the conversation says so plainly, for example that the program needed to edit and cannot ask in this mode, and that switching the conversation to Unrestricted would allow it.

Warning. In Unrestricted mode, Codex runs with its approvals and sandbox bypassed, and Antigravity with its permission checks skipped. Use it in a worktree or a folder you can afford to lose changes in.

What agent providers get from Quad

  • Instructions: each program runs its own loop with its own instruction files (Claude Code reads its CLAUDE.md files, for example). Quad’s system prompt, including the session goal, is not passed to it.
  • Pictures you attach: Claude Code only.
  • Quad’s own tools (artifacts and the Mac’s resource readings): Claude Code only, through a small tool server the app gives it. These tools only write to the app’s own data folder, so they never need asking about.
  • Token saving: an agent provider does its own. Quad’s token saving applies to models the engine talks to directly.
  • Usage and failover: see Usage and failover.

Sign-in shows “not checked”

Codex’s own status command was seen to report “Not logged in” while it was answering, and Antigravity has no status command. So rather than guess, their rows say Installed · sign-in not checked with a quiet grey dot, never a red one. Use Test connection on the row to find out for sure.

Where it is stored

providers.json in the data folder holds each account’s id, program, name, colour, switch and folder. Each provider that is on is also mirrored as an entry in models.json so the model picker can offer it. Conversations from before accounts existed carry on with the default account unchanged.