<!-- Agents and access | Merget Docs · https://merget.ai/docs/agents -->

# Agents and access

Onboard a coding agent with one prompt, choose what it may read and change, and control what agents can do.

A coding agent signed in as you can read what Merget knows about your pull requests and, with the permissions you give it, set Merget up and run it for you: take you through connecting GitHub, enable repositories, change their settings, drive the merge queue, and read runs and analytics. This page explains how to onboard an agent, what each permission allows, and how you and your organization's owner decide what agents may do.

## Onboard your agent

The quickest start is one prompt. Select Onboard your agent to Merget during setup on Home, on Merge Queues, or in Settings › Agents to copy it. The prompt is:

```
Fetch and execute the instructions to set me up for Merget from https://sema.merget.ai/agent-setup/prompt.md
```

Paste it into Claude Code, Codex, GitHub Copilot, Cursor or any other coding agent; [Install in your coding agent](https://merget.ai/docs/coding-agents) lists them. The same prompt works for all of them: each follows the part of the instructions written for it. The agent then:

Installs Merget's tools and skills: the [plugin](https://merget.ai/docs/coding-agents) where the agent takes plugins, and the [MCP server](https://merget.ai/docs/mcp) with the skills elsewhere. In Claude Code, the agent also offers to turn on the plugin's [auto-update](https://merget.ai/docs/coding-agents#auto-update).

Signs in. Your browser opens the Merget sign-in page, where you choose the agent's permissions and organization. See [Sign in and consent](#sign-in-and-consent).

Asks Merget where your organization stands, and takes you through what is left: connecting GitHub, enabling a first repository, choosing its automation mode, and checking that GitHub lets Merget do what that mode needs.

Some steps stay with you, and the agent hands them to you: signing in and approving the agent, and connecting GitHub, which is the organization owner's step in the dashboard. For connecting GitHub, the agent gives you a link to Merget's setup page, which connects GitHub and turns on the repository the agent is working in, in Queue mode (Merget orders and prepares your pull requests; merging stays with you), and it waits until you are done. You don't need a Merget account first: on the sign-in page, select Create account, and a new account comes with an organization of its own.

## What agents can do

What an agent may do depends on the permissions it holds; see [Permissions](#scopes). With all of them, an agent can:

Read pull requests. Merget's latest analysis of a pull request (the verdict, each finding with its layer, class and provenance, the merge brief and next steps), its runs, its place in the queue, and answers from the code graph of any commit Merget has built. See [Findings](https://merget.ai/docs/findings), [The merge queue](https://merget.ai/docs/merge-queue) and [Code graph](https://merget.ai/docs/graph).

Read the organization. Its repositories and their settings, its members (each one's user id, handle, display name, role and products), how far setup has got, runs, analytics, GitHub installations, and these docs.

Change repositories. Turn Merget on or off for a repository, choose its automation mode and target branch, change the settings described in [Repository settings](https://merget.ai/docs/repository-settings), and manage its validation secrets.

Drive the merge queue. Hold a pull request back and release it, move one to the front and put it back in order, retry a preparation, merge what is ready, merge a batch, and Merge anyway over failing CI.

Check GitHub. Read the organization's GitHub installations again, after you accept new permissions or add repositories on GitHub, and give you the page where an owner connects GitHub, which only a person does.

An agent acts as you, never as more. It sees the repositories you can see: public ones, and private ones any of your GitHub accounts can read (see [Which repositories you see](https://merget.ai/docs/team#which-repositories-you-see)). It needs the access you would need: Maintain or Admin on GitHub to change a repository's settings and Write for the queue actions, except moving a pull request to the front, which needs the access the repository's settings ask for (Maintain by default) and which a repository can keep from agents altogether (see [Move a pull request to the front](https://merget.ai/docs/batching#move-to-front-who)). It acts as a member of the organization, never as its owner, even when you are the owner; see [What stays with you](#human-only). It gets the same answers and the same refusals as you, and checks and reviews remain authoritative in every case.

## What stays with you

Some things an agent never does, whatever its permissions:

Delete an organization or your account. No permission covers either; do them in Settings › Danger zone.

Create an organization. Only a person signed in to the dashboard creates one; see [Create an organization](https://merget.ai/docs/sign-in#create-an-organization). An agent that tries is refused with `session_required`.

Decide what agents may do. The [organization switch](#organization-switch), the [organization's permissions](#organization-permissions), the [agent keys switch](#allow-agent-keys), a repository's [agent access level](#repository-level) and each agent's own [permissions](#change-permissions) are changed only by a person signed in to the dashboard. An agent that tries is refused with `session_required`. The one thing an agent may do to its own access is sign itself out, which needs no permission.

The owner's steps. An agent acts as a member of the organization, never as its owner, and never makes anyone an owner, whoever approved it and whatever its permissions. Connecting GitHub and releasing an installation, renaming the organization, adding and removing members, the plan and spending cap, organization-wide validation secrets, pausing and resuming merges, and Turn off strict are done by an owner, signed in to the dashboard. No permission covers them, and an agent that tries is refused with `session_required`. When setting Merget up, the agent gives you the page for each of these steps and waits for you.

Dependency access grants. Reading, granting and revoking access to another repository under [Dependency access](https://merget.ai/docs/repository-settings#dependency-access) require a person signed in to the dashboard. An agent cannot do this, even with permission to change repository settings.

The browser steps. Signing up, signing in and approving an agent, and installing the GitHub App all happen in your browser.

## Ways to connect

| Entry point | Best for | Guide |
| --- | --- | --- |
| The setup prompt | Any coding agent: it installs what that agent needs | [Onboard your agent](#onboard) |
| Plugin | Claude Code, Codex, GitHub Copilot, Cursor, Devin, Kiro and Antigravity: the MCP server and Merget's skills in one install | [Install in your coding agent](https://merget.ai/docs/coding-agents) |
| MCP server | Every other agent and client: claude.ai, Claude Desktop, ChatGPT, Replit, Amp, Warp, OpenCode and any remote MCP client; coding agents add Merget's skills beside it | [Install in your coding agent](https://merget.ai/docs/coding-agents#other), [MCP server](https://merget.ai/docs/mcp#connect) |
| Agent key | A headless or cloud agent that cannot open a browser to sign in: Copilot's cloud coding agent, Kiro Web, Amp Orbs, Warp Oz, a pipeline | [Agent keys](#agent-keys) |
| HTTP API | Scripts and your own tools | [HTTP API](https://merget.ai/docs/api) |

All of them use the same sign-in, permissions and access controls, and return the same documents. The MCP server's address is shown on Settings › Agents under Connect an agent. The HTTP API lives at the same address as your Merget dashboard, under `/v1`.

Illustration: every entry point shares one sign-in and the same permissions, whatever the agent.

What to look for

- The setup prompt installs what your agent needs. The plugin gives Claude Code, Codex, Copilot, Cursor, Devin, Kiro and Antigravity the MCP server and the skills in one install; any other agent adds the MCP server and the skills itself; the HTTP API suits scripts.
- Start sign-in from the agent, and choose its permissions and organization in your browser.
- All entry points return the same documents and obey the same access controls.

## Sign in and consent

Agents never use your password. The agent opens the Merget sign-in page in your browser, and you approve what it may do. The consent page links the [API and Agent Terms](https://merget.ai/legal/api-terms), which govern what an agent may do for you.

Start the connection from your agent. Claude Code, Codex and the other clients Merget accepts open the browser on their own; the steps for each coding agent are in [Install in your coding agent](https://merget.ai/docs/coding-agents), and for claude.ai and Claude Desktop in [MCP server](https://merget.ai/docs/mcp#connect).

Sign in with your Merget account, including your second factor. Merget accepts agent sign-ins only from accounts that completed a second factor.

On Approve access to Merget?, check the request:

Application: the name the client registered with. A client with a published identity, which identifies itself with details it publishes at a web address instead of registering, is shown by that web address instead, with the name it gives itself underneath. When such a client's access goes to an address on your computer, a line under its web address warns that any app on your computer can ask in that web address's name. Cancel and return to never names such a client by the name it gives itself.

Sends access to: where Merget sends your approval, which is the client's web address, an app address, or an address on your own computer marked (this computer). Known client marks an address Merget knows; any other address off your computer reads Merget doesn't recognize this application. See [Check the consent page](https://merget.ai/docs/mcp#consent-page).

Client ID: the client's id. It starts with `dcr_` for a client that registered with Merget. For a client with a published identity, it is the web address of the details it publishes, for example Claude Code's `https://claude.ai/oauth/claude-code-client-metadata`.

Merget deployment: the Merget address the client will use.

It will be allowed to: one checkbox per permission the client asked for, all ticked. Untick what you don't want to give. At least one permission must stay ticked; Stay connected without signing in again is not a permission.

Organization: which organization the client may use.

Choose an organization, then select Approve. Select Deny if you did not start this sign-in yourself.

The browser then hands the client its tokens, and the client can start. Every permission the client asked for gets a switch in Settings › Agents, on for what you ticked and off for what you didn't, so you can change them later without signing in again; see [Change an agent's permissions](#change-permissions).

### Permissions

Each permission is a scope the client asks for. The consent page shows the scope's name with its description; Settings › Agents shows the same words.

| Scope | What it allows |
| --- | --- |
| `merget:findings.read` | Read pull request and run findings, merge briefs and repository summaries. |
| `merget:graph.read` | Use the code graph tools on any commit Merget has built. |
| `merget:queue.read` | Read queue position, queue enforcement and the relationships between pull requests, and every repository's queue. |
| `merget:org.read` | Read repositories and their settings, the members, setup state, runs, analytics, GitHub installations and these docs. |
| `merget:repos.write` | Change repository settings, including turning Merget on or off and the automation mode, and repository validation secrets; check GitHub installations again. |
| `merget:queue.write` | Hold, release, retry and merge pull requests in the merge queue, including Merge anyway, move pull requests to the front and put them back in order, dismiss findings, and submit a fix for a failed batch or a resolution of a pull request's conflicts for merge time. |
| `offline_access` | Stay connected without signing in again. Not a permission: the client receives a refresh token. Offered only to a client that can use one, as Claude Code and most MCP clients can. |

No permission covers the organization owner's steps, such as pausing merges, connecting GitHub or changing members: an agent never takes them; see [What stays with you](#human-only).

A client that asks for no particular scopes is offered all of them, and you untick what you don't want. A client cannot ask for `offline_access` alone, because it allows nothing. A findings document includes queue position only when the token also has `merget:queue.read`.

### Choose an organization

The Organization list shows each organization you belong to that can use Merget, plus All my organizations.

Pick one organization to limit the agent to that organization's repositories. The agent cannot use any other organization.

Pick All my organizations to let the agent use every organization you belong to. If you leave an organization, the agent soon loses it too.

If none of your organizations can use Merget, the page says there is nothing to approve. Ask an organization owner to add you first, or [create an organization](https://merget.ai/docs/sign-in#create-an-organization); see [Team and access](https://merget.ai/docs/team).

If the client's request is invalid, the page reads This request was refused, with an error code and a Try again button. Start the sign-in again from the client.

### If the page continues as before

If you approved the client before, the page may read Continuing as before… or Continue as before? instead of the consent page. Merget is then reusing that approval. The page names the client and the organization you approved it for, and says where access goes: to an app on your computer, or to a web address. Continue only if you just started this sign-in yourself.

Continuing as before… appears when you signed in on that page just now. Merget continues by itself after a moment while the page is in view, unless you select Stop and review.

Continue as before? appears when you were already signed in. Merget waits until you select Continue as followed by your account, or Stop and review.

Stop and review shows the consent page, with the organization of your earlier approval already selected. Choose another organization there, or select Deny. If the earlier approval no longer covers the request, for example because you revoked it or left its organization, the consent page appears with The approval you gave before no longer covers this request. Review it below.

Merget reuses an approval only when all of these hold:

The client keeps the same client ID from one sign-in to the next, as a client with a published identity does: its client ID is a web address. A client whose client ID starts with `dcr_` sees the consent page every time.

The client asks for the same scopes as when you approved it, and the same Merget deployment, and sends access to the same place.

At least one of those permissions is still switched on for that approval.

You haven't revoked the approval, and you gave it, or the client last used it, within the last 90 days.

Your approvals of that client that are still in use name only one organization. Otherwise the page asks you to choose.

A reused approval shows no checkboxes. The new sign-in gets the permissions that are switched on for the earlier approval now, so a permission you switched off stays off; you can switch it back on as in [Change an agent's permissions](#change-permissions).

Each sign-in gets its own approval under [Authorized agents](#authorized-agents), a reused one included, so signing out on one computer leaves the others signed in. To have Merget ask again, revoke every approval of that client.

### Change an agent's permissions

Open Settings › Agents › Authorized agents. Each agent you approved has a switch for every permission it asked for when it signed in: on for the ones you ticked, off for the ones you didn't.

Switch a permission off and the agent loses it within seconds, not when its access next expires.

Switch it back on at any time. You approved it once, so no new sign-in is needed.

At least one permission stays on. The last one cannot be switched off; to take an agent's access away entirely, select Revoke.

Stay connected without signing in again is switched separately. Off, the agent signs in again once its current access expires, within the hour; switching it back on takes effect the next time the agent is authorized.

A permission the agent did not ask for when it signed in is listed under Re-authorize the agent to add. To add one, or to move the agent to another organization, sign the agent in again and approve the new request:

In a coding agent, see [Change permissions or sign in again](https://merget.ai/docs/coding-agents#change-scopes).

In claude.ai, Claude Desktop or another MCP client, sign out of the Merget server in its settings and connect again; see [MCP server](https://merget.ai/docs/mcp#connect).

A request for other scopes always shows the consent page. If the page reads Continuing as before… or Continue as before? instead, Merget is reusing your earlier approval and its organization: select Stop and review to choose another organization. See [If the page continues as before](#remembered-approval).

## Token lifetime and refresh

Access tokens last one hour. Every request carries one.

Refresh tokens are issued when you leave Stay connected without signing in again ticked. The client uses one to get a new access token without asking you again. Each refresh token lasts up to 30 days and is replaced every time it is used, so a client you use regularly stays connected.

A client without a refresh token must sign in again when its access token expires.

Switching a permission off retires the agent's current access token; its next refresh gets one without that permission.

When a token expires, requests answer `token_expired`. When a refresh fails, sign in again.

A client that registered with Merget, whose client ID starts with `dcr_`, loses its registration after two and a half to three months without use. Claude Code and VS Code keep a registration they made, so signing in again from one of them can then send the lapsed registration, and Merget's sign-in page says the app isn't registered. Remove Merget from the client and add it again; see [If Merget says the app isn't registered](https://merget.ai/docs/mcp#lapsed-connection). A client that connects with a published identity, whose client ID is a web address, doesn't register, so its connection doesn't lapse.

## Agent keys

Some agents run where no browser can open for them: Copilot's cloud coding agent, Kiro Web, Amp Orbs, Warp Oz, an agent in a pipeline or a script. They can't complete the sign-in above. For them you create an agent key: a standing credential that starts with `mgk_`, which the runner sends in its `Authorization` header and Merget treats as an agent signed in as you, with the permissions and organization you chose, until it expires or you revoke it. The dashboard offers keys once they are turned on for your Merget; until then, nothing about them is shown.

A key is yours, not the organization's: it acts as you, as a member, and is listed under [Authorized agents](#authorized-agents) with your other approvals. Like any agent, it never acts as an owner and can't change what agents may do; see [What stays with you](#human-only).

### Create a key

Open Settings › Agents › Authorized agents and select Create agent key. The dashboard sends you to Merget's sign-in page, which creates keys; sign in with your second factor if it asks.

Name the key for the runner it is for, for example `CI deploy`. The name is what Authorized agents and the usage table show for it.

Choose the Organization the key may use. The organization you came from is selected; All my organizations lets the key use every organization you belong to.

Tick its permissions. The four read permissions are ticked; add `merget:repos.write` or `merget:queue.write` only for a runner that should change settings or drive the queue. Stay connected without signing in again is not offered: a key needs no refresh token.

Choose how long the key lasts: 30, 90, 180 or 365 days; 90 by default. Select Create key.

Copy the key. It is shown once: Merget can't show it again, only revoke it. Put it where the runner reads its secrets, never in a repository, a chat or a web address. Done returns you to Settings › Agents.

You can hold up to 25 live keys. Creating one needs your own sign-in and second factor, so an agent can't create a key for itself.

### Use a key

The runner sends the key as a bearer token on every request to the MCP server or the HTTP API:

```
Authorization: Bearer mgk_…
```

Where each cloud agent takes that header is in [Cloud and headless agents](https://merget.ai/docs/coding-agents#cloud-agents): the Copilot cloud coding agent's MCP configuration, Kiro Web, Amp Orbs, Warp Oz and a script. For any other MCP client, see [Use an agent key instead](https://merget.ai/docs/mcp#agent-key). A key passes the same controls as every agent, the [organization switch](#organization-switch), the [organization's permissions](#organization-permissions) and the [repository level](#repository-level), and one more: the owner's [Allow agent keys](#allow-agent-keys) switch.

### Keys in Authorized agents

Under [Authorized agents](#authorized-agents), a key's row carries a Key badge beside its name, the key's last four characters as `…abcd` beside its client id, Expires with its date, in red once past, and Last used. Its permissions have the same switches as an approval's, and they work the same way: switch one off and the key loses it within seconds. To stop a key, select Revoke: it is refused at once with `token_revoked`, as a key past its expiry is. Sign out everywhere on Merget's account security page, reached from Settings › Account, revokes your keys too, with your sessions and approvals. When keys are switched off in the organization, the list says so.

### Allow agent keys

Beside the organization switch, an owner finds Allow agent keys, on by default. Turn it off to refuse every agent key on the organization: a runner using one gets `agent_keys_disabled`, while agents that signed in through the browser carry on. The status reads Agent keys are switched off.; turn it back on and it reads Agent keys are allowed. Members see the switch with Only an owner can change this.

## Control agent access

Agents need to pass every control at once: your approval and the agent's permissions, the organization switch, the organization's permissions, and the repository's level. The organization switch, the organization's permissions and the repository's level govern Merget's tools that act on a repository — the agent API's `/v1/repos` routes and the MCP tools that name a repository — for every token, your own signed-in session's included when it drives those tools; the organization-level tools and the dashboard itself apply them to agent tokens only.

Illustration: all access controls apply together. The organization switch overrides every repository's setting.

What to look for

- Your membership, the organization you chose and the permissions you approved limit what the agent may do.
- The organization switch can refuse every agent, and the organization's permissions cap what any agent may do there. A repository can allow nothing, findings and queue status only, or everything the permissions allow.
- Deleting an organization or an account, every control over what agents may do, and the organization owner's steps stay with a person signed in to the dashboard: an agent never acts as an owner or makes anyone one.

### Organization switch

Open Settings › Agents. The switch Allow agents to use this organization is on by default.

Turn it off to refuse every agent on all of the organization's repositories, whatever its permissions and each repository's level. Agents then get `agent_access_disabled` from the MCP server and the HTTP API. The status next to the switch reads Agents are switched off.

Turn it back on to allow agents again. The status reads Agents are allowed.

Only an organization owner can change this switch. Members see Only an owner can change this.

Where your Merget offers agent keys, the same card carries a second switch, Allow agent keys, for the keys alone; see [Allow agent keys](#allow-agent-keys).

The organization switch is the first agent-access control.

What to look for

- Off refuses every agent in this organization, regardless of its permissions and per-repository levels.
- Below it, an owner chooses which permissions any agent may use here; each repository also has its own agent access level under Configure.

### Organization permissions

Under the switch, What agents may do in your organization lists every permission with a switch. It caps what any agent may do in the organization, whoever authorized it: an agent needs a permission both here and in its own approval.

All permissions are on by default. The status reads Agents may use every permission they were given.

Switch one off, for example Change repository settings and validation secrets, and no agent can use it in this organization, within seconds. The status counts what is still allowed, for example Agents may use 5 of 6 permissions here. An agent that tries gets `agent_scope_disabled`, naming the permission.

Switch it back on to allow it again.

Only an organization owner can change these switches. Members see where they stand, with Only an owner can change this., which explains what their own agents are refused.

### Repository level

Each repository has its own level. Open Repositories, select Configure on the repository, open Advanced › Coding-agent access, and find What agents may read here.

| Level | What agents can do |
| --- | --- |
| Off | Nothing. Agents cannot use this repository. |
| Findings only | Read pull request findings and queue status. Graph tools are refused, and so is every change: settings, secrets and queue actions. |
| Findings and graph | Everything their permissions allow: findings, queue status, code graph queries and changes. This is the default. |

Select Save to apply the change. Anyone with Maintain or Admin access to the repository on GitHub can change its level. The Repositories table shows each repository's level in its Agent access column. See [Repository settings](https://merget.ai/docs/repository-settings) for the rest of the drawer.

The organization switch overrides the repository level: when the switch is off, agents are refused on every repository in the organization, whatever its level.

The organization's plan and its spending cap are not agent settings: an owner sets them under Settings › Billing, and an agent reads them through `merget_org_get`. See [Spending cap](https://merget.ai/docs/billing#spending-cap) and [Checks and agents](https://merget.ai/docs/billing#agents).

### Authorized agents

Settings › Agents › Authorized agents lists the clients you have approved. The list is personal: it shows your own approvals, not the organization's. Each one shows:

the client's name, with its client id underneath;

Organization: the organization you chose, or All your organizations;

Created: when you approved it;

Last used: how long ago the client last used this approval, or Never;

Permissions: a switch for each permission you approved, Stay connected without signing in again when you approved it, and what only re-authorizing can add. See [Change an agent's permissions](#change-permissions);

for an agent key, a Key badge, the key's last four characters and Expires; see [Agent keys](#agent-keys).

A switch takes effect as soon as you flip it. If Merget refuses the change, the switch flips back and Not saved: says why.

To stop a client altogether:

Select Revoke on it.

In the Revoke agent access dialog, select Revoke.

The client loses its access within seconds: the access tokens it already holds are refused at once, and it can no longer refresh them. Revoked approvals stay in the list for a while, dimmed, with Revoked and how long ago, and without switches.

An approval stays listed after its client's registration lapses (see [Token lifetime and refresh](#token-lifetime)). The client can't use it any more, and you can revoke it like any other.

If you have not approved any client yet, the list reads No agent has been authorized with your account yet. Where your Merget offers agent keys, Create agent key sits beside the heading; see [Create a key](#create-agent-key).

### Usage in the last 7 days

Settings › Agents › Usage · last 7 days shows how agents and people used this organization's agent access. Any member can see it. The summary line counts calls and clients for the organization.

| Column | Shows |
| --- | --- |
| Client | The client id, or Session (dashboard, curl) for calls made with a person's own dashboard sign-in. |
| Tool | The MCP tool id (for example `merget_pr_findings`) or the HTTP route, marked `mcp` or `rest`. |
| Calls | How many calls were made. |
| Errors | How many calls failed, with the percentage. |
| Tokens | The approximate size of the answers. HTTP API requests other than graph queries count as zero. |
| Avg latency | The average response time. |
| Last call | When the most recent call happened. |

HTTP API requests and MCP tool calls both count. Requests refused at sign-in do not appear; requests refused by the rate limit appear as `429` errors, at most one per client per minute. The table covers the last seven days. With no calls, it reads No agent calls in the last 7 days.

## Common access errors

Agents receive these codes when access is refused. Merget's setup prompt and skills tell an agent to stop and ask you on the permission errors rather than retry. The full list is in [HTTP API errors](https://merget.ai/docs/api#errors).

| Code | What it means | What to do |
| --- | --- | --- |
| `missing_authorization` | The request carried no token. | Sign in from the client. |
| `invalid_token` | The token, or the agent key, was not accepted. | Sign in again; for a key, check it was copied whole, or create a new one. |
| `token_expired` | The access token is more than an hour old. | Let the client refresh, or sign in again. |
| `token_revoked` | The approval was revoked, or a permission was switched off and the client has not refreshed yet; for an agent key, it was revoked or has expired. | Let the client refresh; if it was revoked, sign in again. For a key, create a new one; see [Agent keys](#agent-keys). |
| `product_not_entitled` | Your account does not have access to Merget. | Contact support at [support@merget.ai](mailto:support@merget.ai). Access is set by Merget, not by organization owners. See [Help and support](https://merget.ai/docs/help). |
| `insufficient_scope` | The agent lacks the permission the call needs. The error names it. | Switch it on for the agent in Settings › Agents; if it is listed under Re-authorize the agent to add, sign the agent in again and approve it. |
| `agent_scope_disabled` | The organization does not let agents use that permission. The error names it. | Ask an owner to switch it on under [Organization permissions](#organization-permissions). |
| `agent_access_disabled` | The organization switch is off, the repository is Off, or the repository is Findings only and the call uses the graph or changes something. | Ask an owner to turn the switch on, or someone with Maintain or Admin access to the repository to change its level. |
| `agent_keys_disabled` | The agent is using an agent key, and the organization does not let agents in with a key. Agents that signed in through the browser are not affected. | Ask an owner to turn Allow agent keys on under Settings › Agents; see [Allow agent keys](#allow-agent-keys). Or sign the agent in instead. |
| `agent_jump_disabled` | The agent tried to move a pull request to the front, or put one back in order, and the repository's Agents may move pull requests to the front setting is off. The error names the repository. | Move it yourself in the dashboard, or ask someone with Maintain or Admin access to the repository to turn the setting on under [Queue behavior](https://merget.ai/docs/repository-settings#queue-behavior). |
| `session_required` | The agent tried something only a person signed in to the dashboard can do: change what agents may do, take an organization owner's step, create an organization, or delete an organization or account. | Make that change yourself in the dashboard; an owner's step is the owner's to take there. |
| `github_permission_required` | Your GitHub account lacks the access the change needs on that repository, such as Maintain for its settings. | Ask a repository administrator on GitHub. |
| `github_link_required` | You have no GitHub account linked in Merget, and the repository is private, or Merget cannot show it for one of the reasons under `repo_not_found`. | Link your GitHub account in Settings › Account, then try again. |
| `repo_not_found` | Merget cannot show this repository to this token: Merget does not know it, the Merget GitHub App is not installed there, it belongs to another organization than the one you approved, you are not a member, or it is private and your GitHub account can't read it. | Check the repository name and the organization you chose at sign-in. If the repository was renamed or moved on GitHub, select Refresh on its installation in Settings › GitHub; until then, Merget may know it only by its old name. |
| `rate_limited` | Too many requests in a short time. | Slow down and retry later. |

For other problems, see [Troubleshooting](https://merget.ai/docs/troubleshooting).
