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.
- Give the client one thing: the address
https://<your-quasar>/api/mcp. - 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;
- Permissions it asks for (since 2026.11.20), when the client asks for some. They are listed in plain words and ticked. The person may untick any of them but add none, and must keep at least one. The key holds exactly those kept, within the mode chosen, at every renewal. A client that asks for none gets everything the mode allows, as before;
- Projects: all of them, those created later included, or only the ones ticked.
- 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.
- What the connection opens (since 2026.11.20). The consent screen says it: «The MCP server, as an AI agent does», for a client that asks for the MCP server; «The REST API, as an integration does», for one that asks for the REST API (
https://<your-quasar>/api/v1). A third-party integration can therefore connect by signing in, with the permissions its person keeps, rather than with a personal key. Connected agents marks which one each connection opens. - 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. Since 2026.11.20 it is created with Full access or with only the permissions chosen (below).
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, observer) give it the least privilege that job needs. Since 2026.11.20 each template is a set of permissions its keys are made with, on top of the project role it grants, which stays the ceiling. A service account that holds more than its job is flagged.
- It can be suspended and resumed in one step, and it can never be made an organization administrator.
- Since 2026.11.20 it is managed apart from people, in Tenant settings → Service accounts.
Narrowing access, whichever way:
- Limited to some permissions (since 2026.11.20).
-
Choosing. A key holds either full access or one permission per area, among twelve:
- projects, issues, sprints, work logs;
- costs, quotations, clients;
- documents, git;
- the directory of people, the organization's settings, webhooks.
Each permission is to read or to change and, for configuration, to administer. It is chosen when the key is made and never raised.
-
Tools. An agent is offered only the tools its key covers, and a call outside them is refused with
key_permission_missing, naming the permission, before anything is looked up. -
Money. Without «costs: read» every amount is absent from its answers.
-
A person's acts. Accepting, changing the rules, authorizing promotions and making keys are never offered to a key, whatever it holds.
-
Earlier keys. A key made before 2026.11.20 kept exactly its power.
-
- Read-only. A read-only client or key is offered only the read tools, and the database itself refuses any write made with it. Since 2026.11.20 a read-only key is one that holds every read and nothing else («Read everything, change nothing» in the Profile).
- Worker (since 2026.11.11, for a signed-in client).
-
Its one tool. It is offered
plan_stepand nothing else: any other tool is unknown to it. -
Its writes. Its key is read-only, with the one exception of moving the plan step it holds, and the database refuses every other write.
-
How it works. 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;
- 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:
- 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. - 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.
- 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. - 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.