Help CenterGetting startedInstall & sign in to agents
Install & sign in to agents
Getting started

Install & sign in to agents

How to install and sign in to the agents on your computer, like Claude Code or Codex, and how QU Studio uses your agents.

Q is the default name; you can rename it on its page, and the app uses the new name everywhere.

What to install

Q and the working sessions run on the agent programs on your computer. Two are mainly supported; any one is enough:

AgentOfficial install guideSign-in command
Claude CodeClaude Code setupclaude auth login
Codex CLICodex CLIcodex login

What each agent can do:

AgentCan be QCan take tasks from Q, work as a helper, go into presetsCan run plain sessions
Claude CodeYesYesYes
CodexYesYesYes
Antigravity, CodeBuddy, DeepSeek Harness (tested)NoYesYes
Other ACP agents (such as Gemini CLI, OpenCode, Kimi Code, Qwen Code)NoNot yetYes
  • ACP agents are under Settings › Agent › More agents. QU hands the board tools to the ones that can take tasks; no ACP agent can work on a computer that has no copy of the project.
  • Want Q to use DeepSeek, Kimi, GLM and the like? Have Claude Code call them (see "Use other providers' models" below). The engine is still Claude Code, so it can be Q and take tasks.
  • Which models each agent offers shows up in the model picker; for ACP agents, click "Read available models" the first time.
  • Picking a model for an ACP agent the first time: in the model picker, click "Read available models". QU asks it once which models and thinking levels it has (no prompt is sent, it closes right after, and no conversation is left behind) and remembers them on this computer. You can also start with its default model without reading. The agent's row under Settings › Agent › More agents can read and re-read too.
  • Per-session auto-approve for Antigravity: Antigravity asks you before every step. If you'd rather not click each time, turn on "file changes auto-approved" (reading, changing and deleting files in the workspace isn't asked) or "everything auto-approved" (nothing it does is asked, the same as T3 Code) for this session, from the permissions menu under the model picker or the line under an approval card. It only covers this session; switch back any time from the bar above the input. A session set to Allow all that switches to Antigravity starts with "everything auto-approved" on. Deploys, production databases, deleting data, spending, DNS and certificates, secrets and writes outside the workspace still ask you. Antigravity's own settings and this computer's permission settings are not changed.
  • CodeBuddy and DeepSeek Harness: QU knows how to install and sign in to these two. Once installed they show up under More agents; they can run sessions, take tasks from Q, work as helpers and go into presets. QU doesn't install them or change their settings. - CodeBuddy (Tencent; the same Tencent account as WorkBuddy): install with npm i -g @tencent-ai/codebuddy-code. "Sign in" opens codebuddy in the terminal under the settings page; type /login there and pick a sign-in method (WeChat sign-in is the China edition). It remembers the sign-in, so QU doesn't need to set the China-edition variable when it starts it. If a session says it isn't signed in, add CODEBUDDY_INTERNET_ENVIRONMENT=internal with "Add key" on its row (it isn't a key, so untick that box) and sign in again. You can also add CODEBUDDY_API_KEY there and skip signing in; see "Add a key" below. - DeepSeek Harness (preview; DeepSeek says incompatible changes are still coming): install with npm i -g @deepseek-ai/dsh@latest. "Sign in" opens dsh web; enter your DeepSeek key in its settings page or sign in with a DeepSeek account, and either stays with dsh. Or skip signing in and add DEEPSEEK_API_KEY with "Add key" on its row (dsh reads that name by default); see "Add a key" below. If you signed in with an account, pick a model from the "DeepSeek Account" group for sessions and presets (its default model needs a key and fails without one). It has its own sandbox: it can only write to the workspace and temp folders, writes elsewhere are blocked, and it asks you before widening that. But network access and commands inside the workspace run without asking (it has no permission modes to pick), so in tasks you hand it, things like calling APIs or pushing code won't wait for your OK. Keep that in mind before handing it work. QU uses the official dsh --profile acp, not the community package @openma/deepseek-harness-acp. Messages you send while it's working wait for the next turn.
  • Sign in: a row under More agents that is installed but not signed in (or whose sign-in state can't be checked) has "Sign in". It opens a terminal under the settings page and runs that agent's own sign-in command, so your account and password only go into its own program. After signing in, send another message in the session and QU reconnects. If an agent declares a terminal sign-in command over ACP, QU runs that one even when it isn't built in (known after one session has been opened).

Install and sign in

  1. Install it following the official guide. QU Studio doesn't install it for you or ship an installer.
  2. Sign in from a terminal: run the sign-in command above and sign in with your own account. A subscription (Claude Pro / Max, a ChatGPT plan) works, and so does your own API key; follow each provider's docs.
  3. Check in QU Studio: in Settings › Agent, click "Check again" and look for "Signed in". A row that isn't installed has "How to install"; one that isn't signed in has "Copy sign-in command". Paste the copied command into a terminal and run it; rows under More agents can also just click "Sign in".

If you use several computers (see Multiple computers), each one needs its own install and sign-in. The Computers & phones page shows which agents each one has and whether they're signed in.

Which model new sessions use

  • Settings › Agent › Presets: each preset sets the provider, model, effort, fast and permissions. Sessions you open and sessions Q opens start with the one marked "Default", and you can still change it when you open one. A preset can hold several models and each new session picks one by quota; see Usage and quota.
  • Each preset can have a "When to use", like "small edits and adding tests" or "when Claude's quota is running low". Q picks a preset by it when handing out work, and so do sessions calling in helpers; a preset without one is never picked on its own.
  • If a preset names a model this computer doesn't have, the default model is used instead, without an error.
  • Presets override the default model you set in Claude Code itself.
  • Where the other models are set: see Usage & limits · Where to change models.

Add a key

Some agents sign in with an API key (CodeBuddy, DeepSeek Harness, for example), and presets that use another provider's models need a key too. You can enter these once in QU, without a terminal or hand-written config files.

  • Where: in Settings › Agent › More agents, click "Add key" next to an installed agent; for a preset that uses another provider, click "Add key and endpoint" under "Engine profile". Click a common variable name to fill it in.
  • Where it's stored: keys go only into this computer's system secret store: Keychain on Mac (search "QU Studio · Agent 的 Key" in Keychain Access to see them), Credential Manager on Windows, Secret Service on Linux (GNOME Keyring / KWallet, needs secret-tool). They're never written to files, QU's data folder, logs or conversations; the app only shows the last four characters.
  • Who gets it: it's handed to that agent as an environment variable only when it starts (keys entered in a preset only go to sessions opened with that preset). Other agents and sessions don't get it. Commands the agent runs can see the variable too, same as an export in your terminal.
  • Non-key variables work too, like CODEBUDDY_INTERNET_ENVIRONMENT=internal for CodeBuddy's China edition (ioa for the iOA edition, leave it out for international). Untick "This is a key" and it's stored and shown as is.
  • New sessions get it right away; open sessions get it the next time their engine restarts. Delete it and the Keychain item goes too; it's no longer handed over.
  • Each computer keeps its own: a session uses the keys of the computer it runs on. With several computers online, pick where to store it in the dialog.
  • Claude Code and Codex themselves don't take keys here (that would replace your usual sign-in); only presets' engine profiles do, see the next section.
  • Common ones: CodeBuddy uses CODEBUDDY_API_KEY (get it from your CodeBuddy profile page); DeepSeek Harness uses DEEPSEEK_API_KEY.

Use other providers' models (DeepSeek, Kimi, GLM…)

DeepSeek, Kimi, GLM, Qwen and MiniMax all offer Anthropic-compatible endpoints, so Claude Code can call them. The engine is still Claude Code, so Q's assignments, steering and taking over in a terminal all work as usual. Give a preset an "engine profile" and only sessions opened with that preset switch over; other sessions are untouched.

  1. In Settings › Agent › Presets, add a preset: Claude Code, model Opus, and type a name in "Engine profile", for example deepseek.
  2. Click "Add key and endpoint" below it and fill in these, following the provider's docs (click a common name to fill it in): - ANTHROPIC_BASE_URL: the endpoint, e.g. https://api.deepseek.com/anthropic (not a key: untick "This is a key") - ANTHROPIC_AUTH_TOKEN: the key you got from the provider (stored in Keychain) - ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL, ANTHROPIC_DEFAULT_HAIKU_MODEL: the provider's model name, e.g. deepseek-chat
  3. Pick this preset when you open a session; to let Q use it for assignments, say when in "When to use".
  • If you already have a Claude Code settings file (e.g. ~/.claude/deepseek.json with the endpoint and model names in its env), you can still put its full path in "Engine profile". QU only hands the path to Claude Code and never reads the file. The key no longer needs to be in the file: add ANTHROPIC_AUTH_TOKEN with "Add key and endpoint".
  • Codex works too: define [model_providers.<name>] in ~/.codex/config.toml, naming the key's variable with env_key = "DEEPSEEK_API_KEY" instead of writing the key itself. Put that name in the preset's "Engine profile", then add the key under the same variable name with "Add key and endpoint".
  • Turn web search off: Claude Code's built-in web search is an Anthropic server-side tool that other providers' endpoints don't support, so calls fail. QU turns it off for Claude Code sessions opened with an engine profile (for that launch only); reading web pages and the QU browser still work. With Codex, don't enable web search in its config for other providers either.
  • Costs for these sessions are computed at Anthropic / OpenAI prices and would be wrong, so only tokens are recorded, with no dollar amount. The provider's quota can't be read either.
  • The preset only applies on the computer where you set it; sessions opened on another computer don't carry the profile. When you take over such a session in a terminal, the keys don't come along; set them in the terminal yourself.
  • Sessions with an engine profile don't use fast mode (other providers' models don't have it). If the preset doesn't pick a permission mode, they start in "ask every time" rather than following permissions.defaultMode in a settings file.
  • Don't put disableAllHooks in a settings file: it would also turn off QU's safety hooks.

How we use your agent

QU Studio only runs the agents you installed and signed in to yourself on your computer, like Claude Code or Codex, with your own account. Specifically:

  • Detect and run, nothing more: detection only checks that the program is there (--version) and whether it's signed in (through the agent's own official command or interface). Then it runs the agent on your computer when you ask.
  • No installing or bundling, and no changes without your OK: it uses the copy you installed, as published. It never removes or restricts any sign-in method the agent offers. When a new version is out it only reminds you; it runs the agent's own update command only after you click "Allow and update" (see "When an agent has a new version" below).
  • Never reads your account files: QU Studio doesn't read, copy or store credential files such as ~/.claude or ~/.codex/auth.json, and never handles your passwords or tokens. The exception is keys you enter yourself under "Add a key": they're stored only in this computer's Keychain and handed only to that agent when it starts (see "Add a key" above).
  • No sign-in inside the app: QU Studio has no Claude or ChatGPT sign-in. Signing in only happens in the agent's own flow; if an agent isn't signed in, QU Studio just tells you to sign in from a terminal.
  • Usage is yours: usage is billed directly to your own Claude / ChatGPT account or API key. QU Studio charges nothing, and doesn't pay for, resell or route your usage.
  • Your environment stays yours: QU Studio doesn't change your network, proxy or account settings. When something can't connect, it tells you why and leaves the fix to you.

Claude Code is a product of Anthropic, and Codex is a product of OpenAI. QU Studio is an independent product and isn't affiliated with or endorsed by either.

When an agent has a new version

Every 6 hours QU Studio checks whether the agents installed on each of your computers have a new version (Claude Code and Codex against the latest on npm, others against the ACP registry). New versions are listed under "Agent updates" at the top of Settings › Agent, and a small dot appears on the Settings icon at the bottom left. No pop-ups, no notifications.

  • One row per agent per computer: current version → new version, and how many sessions are using it. "What changed" opens that agent's release notes.
  • "Update…" opens a confirmation first: what's new (the first few items of the agent's published release notes, as written), the command QU runs on that computer, and which sessions use it. If sessions are using it, QU waits by default until they finish their current turn; you can also choose "Stop them and update now" (they pick up from the start of that turn afterwards).
  • Every update needs you to click "Allow and update": "don't ask again" rules and full access don't cover it, and sessions can't click it for you.
  • If it fails: the reason is shown, the old version stays and works as before. You can "Try again", or copy the command and run it in that computer's terminal.
  • If the new version misbehaves: rows that can be rolled back have "Roll back"; after that, the version isn't suggested again. Some installs (like Homebrew) can't be rolled back, and the confirmation says so.
  • Reminder only: when the agent is the copy bundled with another app (for example Codex bundled with ChatGPT, which updates along with ChatGPT), uses a launch command you entered, or QU can't tell how it was installed. These rows offer "Copy upgrade command" when the command is known, for you to run yourself.
  • When Claude Code's native install has its own auto-update on, it updates itself and QU doesn't remind you.

Keep an eye on usage

  • Subscription limits are designed for ordinary individual use. Q can open several sessions at once, and sessions can call in helpers, so over long stretches your quota goes faster than when you work alone. You can set "Max tasks at once" per computer on the Computers & phones page.
  • A few features make extra model calls on your usage; each can be turned off or pointed at a cheaper model: - Guess my next message, Name tasks automatically: turn them off in Settings › Agent, and change the model under "Model for next-line guesses and task names"; a fast, cheap model is the default. - Tidy memory when idle: turn it off in Settings › Memory & privacy, and change the model under "Model for tidying memory"; at most once a day. With pay-as-you-go sign-ins such as an API key, remaining quota can't be read, so it won't tidy automatically.
  • The bottom left shows how much of each account's limit is left on this computer; the Usage page breaks spend down by day, project and model.
  • When one provider's quota is running low, the session offers to continue on the other one. You can also pick the other provider's model in the model picker at any time; it switches from your next message and brings the conversation so far. See Sessions.

Common questions

It's installed, but QU Studio says "Not found" QU Studio reads the PATH from your login shell and also checks a few common install locations. Open a new terminal window and run claude --version or codex --version to make sure it works. If it does and QU Studio still says not found, click "Check again" in Settings › Agent.

Several copies of Codex are installed QU Studio uses the newest one (including the copy that comes with the ChatGPT app). If the one in your terminal is older, Settings › Agent tells you.

It says "Sign-in status unknown" When the status can't be read, try starting a session. If it really isn't signed in, the agent reports an error in the session; sign in from a terminal and try again.

Do I sign in to ChatGPT inside the app to use Codex? No, and there's no place to do so. Run codex login in a terminal.

Do I need a subscription? Not necessarily. Claude Code and Codex both support signing in with your own API key; set it up following each provider's docs.