You are reading revision 18, not the current one. Read the current revision

Connecting an agent

There are three ways, and each acts as a Quasar user with at most that user's permissions, never more.

1. A person's AI client signs in (since 2026.11.3). This is the way for an assistant or a coding agent a person works with.

  1. Give the client one thing: the address https://<your-quasar>/api/mcp.
  2. The first time it connects, it opens the browser on Quasar. The person signs in as usual and chooses, on the consent screen:
    • What the agent may do (since 2026.11.11): Full, everything the person can do in the projects chosen, the default; Worker, which only carries out an issue's plan, step by step (see Plans of steps below); or Read only. The Benchmarker mode of 2026.11.17 was withdrawn in 2026.11.18, with the benchmarks run inside Quasar;
    • Projects: all of them, those created later included, or only the ones ticked.
  3. The person approves with their second factor.

The client then renews its access on its own (since 2026.11.4): a key that lasts an hour, renewed with a token that changes at every use, for at most thirty days by default, after which it asks the person to sign in again. Nothing is copied or stored by hand.

  • Who the client is (since 2026.11.5). The consent screen and Profile → Connected agents say what Quasar could verify: a domain proven, because the client describes itself at an address on its domain; a client recognised by its registration against a profile the operator keeps; or only what it declares. Approve only a connection you started yourself.
  • Connected agents lists every client signed in, what it may do and when it will ask again. Disconnect ends one at once, renewals included.
  • One connection per mode (since 2026.11.11). A person keeps at most one live connection per client and mode, so the same client can be connected as Full in one window and as Worker in another.
  • A connection keeps its mode (since 2026.11.12). Connected agents shows each connection's mode, Full included, in its Profile column, and the projects it reaches in its Projects column. To change the mode, disconnect the connection and sign the client in again in the mode wanted, with the second factor as every sign-in. «Lower to…», added in 2026.11.11, is withdrawn: a lowered connection vanished from the list until its client renewed.
  • An organization decides whether its members may connect AI clients.

2. A key from your Profile, for scripts. In Profile → API keys, create a key. It starts with qsk_, is shown once, and is sent as Authorization: Bearer qsk_…. Since 2026.11.3 it opens the REST API only: the MCP server answers it 401 and points to signing in.

3. A service account, for agents that run unattended. CI, a shared integration, or an agent with nobody at the keyboard to sign it in. A service account holds its own keys and its own permissions, and its keys open both the REST API and the MCP server. Templates per job (implementation, testing, documentation, CI) give it the least privilege that job needs. It can be suspended and resumed in one step, and it can never be made an organization administrator.

Narrowing access, whichever way:

  • Read-only. A read-only client or key is offered only the read tools, and the database itself refuses any write made with it.
  • Worker (since 2026.11.11, for a signed-in client). It is offered one tool, plan_step, and nothing else: any other tool is unknown to it. Its key is read-only, with the one exception of moving the plan step it holds, and the database refuses every other write. Since 2026.11.13 Quasar also tells it how to work, in a few lines sent at connection: its loop, its rules (stay on the branch checked out, never commit, change only the lines the step names, run only the step's check, never stop while holding a step) and how to edit a file. The person names only the issue.
  • Limited to projects (since 2026.11.1). Access can be limited to some projects and their sub-projects. It then sees nothing outside them, and none of the organization's settings, people or shared configuration. For a key, choosing or changing the limit asks for a fresh second factor; for a signed-in client, it is chosen on the consent screen.
  • Expiry and revocation. Keys expire after 90 days by default, and a revoked key, or a disconnected client, stops working immediately. An administrator can also revoke a member's key.

Where a client finds the documentation (since 2026.11.16). When an AI client discovers the MCP server, the documentation address it is given is this section's public page (/guide/working-with-ai-agents/connecting-an-agent), which needs no sign-in, wherever the installation serves this guide. Otherwise it is given the guide inside the app.

The client's telemetry measures the agent's time (since 2026.11.9; it measures the time since 2026.11.10). Separately from the connection above, a coding client sends Quasar its OpenTelemetry. Each of the agent's turns is then measured from the client itself, rather than from the agent's word:

  1. In Profile → Telemetry ingest keys, create a key, named after the machine or the client. It starts with qst_, is shown once, and opens nothing but the telemetry receiver: neither the REST API nor the MCP server.
  2. Pick the client. Quasar shows the block to paste, already filled in with its address and the key, and says where it goes. The guide Client telemetry, in the web app's Help Center, gives each client's steps.
  3. Optionally, label each repository with its project (quasar.project), so that a turn that touched no issue still lands on the right project. Claude Code reads the label from the repository's own settings, Codex and pi from the folder's environment; opencode cannot.
  4. From then on each turn of that client's agent is measured, attributed to the issues it wrote, and waits under «Time to confirm» for a person (see A person stays in control).

Measured clients:

  • Claude Code 2.1.319, and the Claude desktop app 4.23118.1 (since 2026.11.10). Claude Code must send its tool details (OTEL_LOG_TOOL_DETAILS=1); without them its turns cannot be tied to the issues they worked on.
  • Codex CLI 0.147.0.
  • opencode 2.2.6. The 1.x line exports no usage.
  • pi 0.74.2, with the pi-otel 0.3.0 extension, since pi exports nothing by itself.

Any other client that follows OpenTelemetry's conventions for generative AI is read too.

What is received:

  • each turn's span;
  • each call to a model, with its time, conversation, model and tokens;
  • each call to Quasar's own tools, of whose arguments Quasar keeps only the issue or project named.

Never the text of a prompt or of an answer. Raw records from a client Quasar cannot read yet are kept seven days. The model calls are kept 400 days and are part of their person's data export.