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

Working with AI agents

How AI coding agents work in Quasar 2026.11.1: - connecting an agent over MCP or the REST API with a personal or service-account key, including Claude Code and Codex setup; keys can be read-only or limited to some projects; - what agents can do through about 120 workflow-oriented tools; - how Quasar keeps agents safe and accountable: a key does at most what its person can, read-only keys enforced by the database, safe retries, explanatory refusals, every change marked with the credential that made it, logs the application cannot rewrite; - how a person stays in control: by default only a person accepts a document or a release and confirms an agent's time, and making somebody a lead asks for a fresh second factor. The chapter says which rules Quasar enforces and which it only asks of the agent; - «Try to break it»: adversarial requests to run against your own installation, each with the refusal to expect; - what to do when an agent goes wrong; - the separate, unauthenticated MCP server of public guides, and how to connect this guide to Claude Code, Codex, VS Code, Cursor, Claude and ChatGPT (or read it with no setup from llms-full.txt). Read this to evaluate Quasar for agent-driven development, or to give your assistant this guide.

Quasar is designed for coding agents to work a project alongside people. This chapter describes version 2026.11.1.

Two ways in, one set of rules

  • MCP. Coding agents such as Claude Code, Codex and opencode connect to Quasar's MCP server at /api/mcp (Streamable HTTP).
  • REST. Scripts and integrations use the REST API under /api/v1.

Both call the same services as the web app. An agent's change goes through exactly the same checks as a person's: the workflow, the permissions and the validation. A test suite runs the same commands on both channels, for every role, and holds the answers equal.

Connecting an agent

  1. In Profile → API keys, create a key. It starts with qsk_ and is shown once.
  2. Give it to the agent as a bearer token: Authorization: Bearer qsk_…. Each client has its own configuration format. The in-app Help Center shows the exact lines for Claude Code, Codex, opencode and pi.
  3. The agent now acts as you: with your permissions at most, never more.

Key options:

  • Expiry. Keys expire after 90 days by default and can be revoked at any time; a revoked key stops working immediately. An administrator can also revoke a member's key.
  • Read-only keys. A key can be created read-only. A read-only key is only offered the read tools, and the database itself refuses any write made with it.
  • Keys limited to projects (since 2026.11.1). A key can be limited to some projects and their sub-projects. It sees nothing outside them, and none of the organization's settings, people or shared configuration. Choosing or changing the limit asks for a fresh second factor.
  • Service accounts. For CI and integrations, a service account holds its own keys and its own permissions. 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.

What an agent can do

The MCP server offers about 120 tools. They are workflow-oriented: one call does what a person does in one step, rather than exposing raw tables. They cover:

  • Work: issues and all their content (sections, comments, relations, checklists, attachments), the chain of an issue with its evidence, projects, sprints and boards, work logs and the project inbox.
  • Documents: documents and their review, documentation releases (composing, accepting, publishing), the asset library and artifacts.
  • Commercial: client quotes.
  • Delivery: versions, git status, pipeline results and changelogs, and deadlines.
  • Quasar itself: reporting a problem to the team that runs the installation.

Built to be used by a model:

  • Onboarding. A new agent calls get_started first and receives the project's rules and the workflow it must follow.
  • Long-form help. Each tool's detailed help is available on demand (describe_tool), so the tool list stays small.
  • Small models. The tool surface can be narrowed for them.
  • Every refusal is actionable. It names the argument or the rule that failed, and lists the accepted values or where to read them. A workflow refusal also names the missing evidence and how to get it, in the same words as the web app.
  • Bounded reads. Read tools never return unbounded payloads unasked: long texts are withheld until explicitly requested.

Safe by construction

  • Retries never duplicate.
    • Every write that would repeat an effect accepts an idempotency key, and a retry with the same key gets the first answer instead of running again, for 24 hours. The same key with a different request is refused.
    • The few creates that return a secret (an API key, an invitation, a second factor) take no key, because the stored answer would hold the secret: a retry there creates a second one.
    • On MCP the key is a request header, so it protects clients that can set one.
  • Concurrent changes are refused, not lost.
    • Issues, documents, sprints and the other editable records carry a version, and a write against an outdated version is refused rather than overwriting someone's change. So, since 2026.10.23, are the workflow and the Definition of Done.
    • The other whole-configuration replacements (working calendar, section models, status definitions, a repository connection, instance settings) are last-write-wins. Each such exception is declared with its reason, and a test keeps the list complete.
  • At most its person's permissions. A key does what its owner can do, or less: never more. An agent cannot see a project its person cannot see; a project it has no access to does not appear to exist. No key can perform an action that needs a fresh second factor, such as creating a key or exporting personal data.
  • Everything is attributed.
    • Each change is recorded under the person whose key made it.
    • Every change made with an API key, as agents connect, is marked with that credential and the key's own id, on issues, documents, sprints and the audit log. The web app shows an Agent badge.
    • Nobody has to declare this: it comes from the key.
  • Rate limits. Each key has generous limits, so a runaway loop slows down instead of degrading the service.

A person stays in control

Quasar's own workflow, which an organization can adopt and adapt, encodes how an agent should work:

  • Plan before coding. Before an issue can move to In progress, the agent records a pre-analysis: the plan, and the files it examined with their checksums. If those files change before the work starts, the plan shows as stale. The checksums are computed by the agent: Quasar records who verified the plan and when, but it cannot see the agent's files.
  • No way round the plan. Creating an issue straight into the work, or reopening one closed as a duplicate, asks for the same plan as any start (since 2026.10.24).
  • Status tells the truth. The issue moves to In progress before the first edit, so whoever supervises sees where the work is.
  • Time is measured, then confirmed by a person. The agent opens a work session at the start of each turn and closes it at the end. Quasar's own clock stamps both.
    • A session becomes a work log only when a person confirms it.
    • Since 2026.11.1 this is enforced: by default no key can confirm, not even a lead's.
    • A tray in the top bar lists every session waiting for you, across issues. From it you confirm a session, set it aside for later, or attach it to an issue.
    • A service account's sessions are confirmed by the lead of the issue's project (by an organization administrator when they belong to no issue). The work log stays the service account's, and records who confirmed it.
  • Acceptance is a person's. Since 2026.11.1, by default, only a person can accept or revoke a document or a release revision: a key is refused, a lead's included.
    • Everything waiting for your acceptance is on one page, where you can accept several items at once.
    • An organization can let keys accept (turning that on asks for a fresh second factor). An acceptance made with a key is then marked as such.
  • The code is followed, not trusted. Quasar reads where each issue's code actually is in the repository, from the issue key in commit subjects, instead of taking the agent's word for it. When the host cannot be read, a gate refuses and says it could not check; a workflow can choose to accept the agent's report instead.

What Quasar enforces, and what it only asks

Quasar's rules come in two kinds, and it matters which is which.

Enforced: an agent cannot get past these, whatever it is told.

  • It sees only the projects its key's owner can see, and acts with at most that person's rights.

    • A read-only key cannot change anything; the database refuses it.
    • Since 2026.11.1, a key can be limited to some projects and their sub-projects. It then sees nothing else, and none of the organization's settings, people or shared configuration. Setting or changing the limit asks for a fresh second factor.
  • Organizations are separated by the database's row-level security.

  • The workflow refuses a move its rules do not allow. It can require a plan recorded and checked before work starts, the code having reached a branch as the git host reports it, and a work log.

  • Only a person accepts (since 2026.11.1, by default):

    • a document or a release revision is accepted or revoked by a person, never by a key;
    • an agent's working time becomes a work log only when a person confirms it.

    An organization can turn this off, which asks for a fresh second factor.

  • Only a project lead can accept a document, accept a release revision or publish a release, and a published release never changes. A Contributor can compose a release, not accept it.

  • Sensitive actions need a fresh second factor, which no key can provide. Since 2026.11.1 this includes making somebody a lead: of a project, a division or a team, or by an access grant.

  • Every change records the person and the credential that made it, set by Quasar, not declared by the caller.

  • The application cannot rewrite its own logs (since 2026.11.1). The database refuses it any update or deletion on the six logs. The two exceptions each go through one database function: erasing a person who was anonymized, and deleting an empty sprint together with its history.

Asked, and recorded: a well-behaved agent does these; Quasar shows when one did not.

  • Record the files it really examined in its plan. Quasar checks that the plan was verified and when, but it cannot see the agent's files.
  • Move an issue to In progress before starting it, and name the issue in its commit subjects.
  • Log time only through work sessions. A Contributor's key can still write a work log directly, with any hours; such a work log is marked as written with a key. So «time logged» is something an agent could fake, and a workflow condition on it proves a log exists, not that it is true.

Not covered today.

  • Text inside a project is not checked for instructions aimed at agents: an issue, a comment, a document, a problem report, a CI log. An agent that obeys what it reads acts with its key's full rights. So give agents the narrowest key that does the job: a read-only key for agents that only read, a key limited to the projects they work in, a service account with the minimal role for agents that write.
  • The audit trail is not cryptographically sealed. The application cannot change it (above), but whoever administers the database can, and nothing would show it. An item's history is deleted with the item once its trash period ends.
  • Antivirus scanning is off until an installation configures it.

Try to break it

Every guarantee above can be checked against your own installation. These are requests an agent might be talked into sending, written out so you can run them as they are or change them. Use a test project and a key of your own. Each one should be refused, change nothing, and leave no move in the issue's history. They come from the test suites that hold these guarantees in every release.

Set Q to your installation's address and KEY to a key:

Q=https://your-quasar.example
KEY=qsk_…

1. Skip a step of the workflow. Move an issue in To do straight to Testing:

curl -X PATCH "$Q/api/v1/issues/ABC-00042" -H "Authorization: Bearer $KEY" \
  -H "If-Match: 3" -H "Content-Type: application/json" -d '{"status":"TESTING"}'

Expect 422 «Status transition not allowed», naming the moves the workflow does allow.

2. Start without a plan. Move the same issue to In progress with no verified pre-analysis: expect 422 «Status transition conditions not met», naming the plan.

3. Create straight into the work. Create an issue already In progress, or Done as Fixed:

curl -X POST "$Q/api/v1/issues" -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"projectId":"ABC","title":"Shortcut","type":"TASK","priority":"MEDIUM","status":"IN_PROGRESS"}'

Expect 422: a new issue starts in Backlog or To do.

4. Reach another organization. Ask for an issue id from another organization, then for an id that exists nowhere. Expect the same 404 for both: nothing tells the two apart. The same holds inside your organization for an issue of a project your key's owner cannot see.

5. Write with a read-only key. Send request 3 with a read-only key: expect 403 «Read-only credential». Over MCP, the write tools are not even offered to it.

6. Do what needs a second factor. Create a new key with a key:

curl -X POST "$Q/api/v1/me/api-keys" -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" -d '{"label":"escalation"}'

Expect 403 «Interactive session required». The same holds for exporting personal data and resetting a second factor.

7. Overwrite someone else's change. Repeat request 1 with an If-Match version older than the issue's current one: expect 409 «Version conflict», with the current state.

8. Replay a key for a different request. Send two creates with the same Idempotency-Key header and different titles. The second is 422 «Idempotency key reused». With the same body, the second gets the first answer and creates nothing.

9. Skip the evidence over MCP. On a project with the strict workflow, ask an agent to call:

transition_issue_status { "issue": "ABC-00042", "status": "TESTING" }

with no code on the issue's version line. The call is refused, naming the missing evidence. The refusal is recorded with its reason, and the pilot's metrics count it as an attempt to bypass the workflow.

10. Accept your own work. With a project lead's key, ask an agent to accept a document of that project:

review_document { "documentId": "DOC-1", "projectId": "ABC", "action": "accept", "revision": "<its current revision>" }

Since 2026.11.1, while the organization keeps «acceptance by a person only» on (the default), expect a refusal saying that only a person can accept, and the document still waiting. The same holds for a release revision, and for confirming a work session as a work log.

Where an answer differs from the one above, that is a defect: report it with the request you sent. The chapter What Quasar does not do says which defects were found for this version, and how each was fixed.

When an agent goes wrong

The web app's Help Center has a guide for it, and four runbooks:

  • revoke and rotate a key, including a member's key, by an administrator;
  • stop a runaway agent;
  • suspend a service account, and resume it;
  • reconstruct what an agent did. Both logs filter by credential and show the exact key on every row, and every MCP call can be read back with its outcome and the reason for a refusal.

The agent contract

The rules Quasar gives an agent are versioned. When something an agent may have written down becomes wrong, the version changes, and Quasar tells a connecting agent what changed since its version. A repository can keep a copy of the contract, which agents read at the start of every session.

Public guides for any agent

Documentation an organization publishes, including this guide, can be read by agents without any key:

  • {guide}/llms.txt lists every chapter with its summary.
  • {guide}/llms-full.txt is the whole publication in one plain-text file.
  • {guide}/api/v1 is a read-only REST API, with an OpenAPI description at {guide}/openapi.json that can be imported as a ChatGPT Action.
  • {guide}/mcp is a separate, read-only MCP server with the tools index, read, search and fetch. search and fetch follow the shape ChatGPT connectors and deep research expect.

The public MCP server shares nothing with the operational one: it has no access to any project, only to what was published. The intended use: read the chapter summaries, choose what is relevant, read those chapters whole, and cite their pages.

Connecting this guide to your assistant

Nothing to set up. A chat assistant that can browse, such as ChatGPT or Claude, reads this guide from https://guide.quasar.nuzzodevstudio.com/llms-full.txt when you give it that address. Connecting the MCP server adds no content. It lets the assistant search and read chapter by chapter instead of loading everything at once.

The server's address is https://guide.quasar.nuzzodevstudio.com/mcp. It is a remote Streamable HTTP server that needs no sign-in. Each client below names it quasar-guide; any name works.

The steps were checked against each client's own documentation on 23 October 2026. Menus and plan limits change, so if a step no longer matches, your client's documentation is the authority.

Claude Code

claude mcp add --transport http quasar-guide https://guide.quasar.nuzzodevstudio.com/mcp

Add --scope user to have it in every project. claude mcp get quasar-guide should then show Connected.

Codex CLI

codex mcp add quasar-guide --url https://guide.quasar.nuzzodevstudio.com/mcp

Or, in ~/.codex/config.toml:

[mcp_servers.quasar-guide]
url = "https://guide.quasar.nuzzodevstudio.com/mcp"

VS Code

Run:

code --add-mcp '{"name":"quasar-guide","type":"http","url":"https://guide.quasar.nuzzodevstudio.com/mcp"}'

Or open this install link in a browser, and VS Code opens with the server filled in:

vscode:mcp/install?%7B%22name%22%3A%22quasar-guide%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fguide.quasar.nuzzodevstudio.com%2Fmcp%22%7D

Cursor

Open this install link in a browser:

cursor://anysphere.cursor-deeplink/mcp/install?name=quasar-guide&config=eyJ1cmwiOiJodHRwczovL2d1aWRlLnF1YXNhci5udXp6b2RldnN0dWRpby5jb20vbWNwIn0=

Or add it to ~/.cursor/mcp.json:

{ "mcpServers": { "quasar-guide": { "url": "https://guide.quasar.nuzzodevstudio.com/mcp" } } }

Claude (claude.ai and Claude Desktop)

  1. Open Customize → Connectors, choose + Add, then Add custom connector.
  2. Enter a name and the server address, and choose No sign in under authentication.
  3. Turn the connector on in a conversation.

Every plan can add custom connectors; the Free plan allows one. On Team and Enterprise, an owner adds the connector first in Organization settings → Connectors, and members then connect it.

ChatGPT

In Plugins, choose +, then Add custom MCP server. Enter a name, a description and the server address, and choose No authentication.

Adding a custom MCP server depends on the plan and the workspace's permissions, and OpenAI changes it often. On Business, Enterprise and Edu, an administrator decides who can create one. Where your plan does not allow it, give ChatGPT the llms-full.txt address above instead: it reads the same content.

For deep research, the server's search and fetch tools answer in the shape ChatGPT expects, and every result carries the address of its page.