Working with AI agents
How AI coding agents work in Quasar 2026.11.5: - connecting an agent: a person's AI client signs in to the MCP server, choosing on a consent screen whether it may only read and which projects it reaches; agents that run unattended use a service account's key; a Profile key opens the REST API only; - what agents can do through about 135 workflow-oriented tools; - how Quasar keeps agents safe and accountable: a credential does at most what its person can, read-only access 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, measured or declared, from the notifications. 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 agent contract, sent by the server and versioned; - 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.5.
Two ways in, one set of rules
- MCP. AI assistants and coding agents such as Claude, ChatGPT, Cursor, 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
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:
- Read only, off by default;
- 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.
- 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.
- 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.
- 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.
What an agent can do
The MCP server offers about 135 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, review requests, projects, sprints and boards, work logs, unallocated time and the project inbox.
- Documents: documents, their comments, review and sharing, documentation releases (composing, accepting, publishing), the asset library and artifacts.
- People: a person's access as a document, and proposals to change it, which a person approves.
- Commercial: client quotes.
- Delivery: versions, git status, pipeline results and changelogs, and deadlines.
- Quasar itself:
who_am_i(who the agent acts as, and with what access), and reporting a problem to the team that runs the installation.
Built to be used by a model:
- Onboarding. At every connection the server sends a short set of rules. A new agent calls
get_startedand receives the full workflow it must follow, and an agent that has not read it is reminded in every answer until it does. - 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 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. An agent does what its person can do, or less: never more. It 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 on whose behalf it was made.
- Every change an agent makes is marked with its credential: the key and its own id, or the signed-in client by name, on issues, documents, sprints and the audit log. The web app shows an Agent badge.
- Nobody has to declare this: it comes from the credential.
- Rate limits. Each credential 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.
- 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, naming the issue, or the project when the turn belonged to no issue. Quasar's own clock stamps both.
- A session becomes a work log only when a person confirms it; by default no key can confirm, not even a lead's.
- Hours an agent declares are a proposal too (since 2026.11.5): they wait beside its sessions and become a work log only when a person confirms them.
- «Time to confirm», among the notifications, lists what waits for you, one entry per issue. You confirm, or reject for good.
- A turn that belonged to no issue becomes unallocated time of the sprint or the project (since 2026.11.5), which a lead moves onto an issue or writes off.
- A service account's sessions are confirmed by a lead of the project. The work log stays the service account's, and records who confirmed it.
- Acceptance is a person's. By default only a person can accept or revoke a document or a release revision: a key is refused, a lead's included.
- Since 2026.11.2 only the documents that ask for acceptance wait for it: by default architecture decisions, runbooks and a project's rules for its agents.
- Everything waiting for your acceptance is on one page and among your notifications, 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.
- Review on request (since 2026.11.5). An agent can ask named people to review an issue or a document it worked on; their approval or rejection, with its reason, comes back to it.
- 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 person can see, and acts with at most that person's rights.
- Read-only access cannot change anything; the database refuses it.
- Access 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.
- A share opens one item, never more (since 2026.11.5). It never overrules an explicit refusal of the project, nor a limit to other projects.
-
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 decides (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, whether Quasar measured it or the agent declared it. Since the fix of 1 November 2026 a key's hours are never written directly; since 2026.11.5 they wait as a proposal. So every hour in a work log was either written by a person or confirmed by one.
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, publish a release or share an item, 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. Among them: making somebody a lead, of a project, a division or a team, or by an access grant; ticking «Also on sub-projects» on a lead role; approving an AI client's sign-in.
-
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.
- Open and close a work session around every turn, naming the right issue. Quasar's clock measures the session, but which issue it names is the agent's word, and the person confirming it is the check.
Not covered today.
- Text inside a project is not checked for instructions aimed at agents: an issue, a comment, a document, a shared document, a problem report, a CI log. An agent that obeys what it reads acts with its access's full rights. So give agents the narrowest access that does the job: read-only for agents that only read, limited to the projects they work in, a service account with the minimal role for unattended 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 from your Profile (requests 1–8 and 11–12 use the REST API):
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 read-only access.
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. Signed in as a project lead, ask an agent to accept a document of that project that waits for acceptance:
review_document { "documentId": "DOC-1", "projectId": "ABC", "action": "accept", "revision": "<its current revision>" }
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.
11. Reach MCP with a Profile key (since 2026.11.3):
curl -X POST "$Q/api/mcp" -H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Expect 401, pointing to signing in. Only a signed-in client or a service account's key opens the MCP server.
12. Write your own hours (since 2026.11.5). Log time on an issue with your key:
curl -X POST "$Q/api/v1/issues/ABC-00042/worklogs" -H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" -d '{"durationHours":"8"}'
Expect 202 with proposed: no work log is written, the issue's actual time does not move, and the hours appear under «Time to confirm» for a person to confirm or reject.
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; a signed-in client is disconnected from Connected agents;
- 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 credential 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 and sent by the server itself: a short form at every connection, and the full guide on request (get_started). Nothing has to be copied into a repository (since 2026.11.3). When something an agent may have written down becomes wrong, the version changes, and Quasar tells a connecting agent what changed since its version.
Public guides for any agent
Documentation an organization publishes, including this guide, can be read by agents without any key:
{guide}/llms.txtlists every chapter with its summary.{guide}/llms-full.txtis the whole publication in one plain-text file.{guide}/api/v1is a read-only REST API, with an OpenAPI description at{guide}/openapi.jsonthat can be imported as a ChatGPT Action.{guide}/mcpis a separate, read-only MCP server with the toolsindex,read,searchandfetch.searchandfetchfollow 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)
- Open Customize → Connectors, choose + Add, then Add custom connector.
- Enter a name and the server address, and choose No sign in under authentication.
- 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.