> ## Documentation Index
> Fetch the complete documentation index at: https://docs.assert.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Agents

> Send review feedback to Claude, Cursor, or Devin

Review feedback normally ends with someone copying comments into a chat window and
re-explaining context the reviewer already wrote down. Your comments are already
anchored to specific code, so Assert sends them straight to a coding agent.

## Connecting a provider

Agents live in your workspace's integration settings. Each one takes an API key.

<img src="https://mintcdn.com/assertlabs/FvVy5ZggEJSKHhfc/images/agents/empty-integrations-page.png?fit=max&auto=format&n=FvVy5ZggEJSKHhfc&q=85&s=b9665dd6d5967258b2fb937bb28ac2bb" alt="The integrations settings page with no agents connected" className="rounded-lg" width="1310" height="408" data-path="images/agents/empty-integrations-page.png" />

<Tabs>
  <Tab title="Claude">
    Paste an Anthropic API key.

    <img src="https://mintcdn.com/assertlabs/FvVy5ZggEJSKHhfc/images/agents/claude-integration-modal.png?fit=max&auto=format&n=FvVy5ZggEJSKHhfc&q=85&s=5320df83eb97c483ff4ca9b40ec0da13" alt="Connecting Claude with an Anthropic API key" className="rounded-lg" width="1030" height="568" data-path="images/agents/claude-integration-modal.png" />
  </Tab>

  <Tab title="Cursor">
    Paste a Cursor user API key.

    <img src="https://mintcdn.com/assertlabs/FvVy5ZggEJSKHhfc/images/agents/cursor-integration-modal.png?fit=max&auto=format&n=FvVy5ZggEJSKHhfc&q=85&s=63891dd6fffdfe34cee61b8786fdb6ed" alt="Connecting Cursor with a Cursor user API key" className="rounded-lg" width="1034" height="570" data-path="images/agents/cursor-integration-modal.png" />
  </Tab>

  <Tab title="Devin">
    Paste a Cognition service-user API key.

    <img src="https://mintcdn.com/assertlabs/FvVy5ZggEJSKHhfc/images/agents/devin-integration-modal.png?fit=max&auto=format&n=FvVy5ZggEJSKHhfc&q=85&s=4bd204179c1910de48b37a0e0c26af4f" alt="Connecting Devin with a Cognition service-user API key" className="rounded-lg" width="1034" height="568" data-path="images/agents/devin-integration-modal.png" />
  </Tab>
</Tabs>

Connected agents show as **Active**, and you can swap the key or disconnect at any
time.

<img src="https://mintcdn.com/assertlabs/FvVy5ZggEJSKHhfc/images/agents/full-integrations-page.png?fit=max&auto=format&n=FvVy5ZggEJSKHhfc&q=85&s=23bdad67c3339d321bfa3cb570f0b553" alt="The integrations settings page with Claude, Cursor, and Devin connected" className="rounded-lg" width="1328" height="296" data-path="images/agents/full-integrations-page.png" />

A workspace-owned integration is available to every member. A personal one is only
yours.

## Sending comments to an agent

Select the threads you want acted on, then pick an agent from **Send prompt to**. You
can add your own instructions before sending.

<img src="https://mintcdn.com/assertlabs/FvVy5ZggEJSKHhfc/images/agents/send-to-agents-dropdown.png?fit=max&auto=format&n=FvVy5ZggEJSKHhfc&q=85&s=d43383ca402fb7621191725715ccc442" alt="Sending two selected comments to an agent" className="rounded-lg" width="966" height="624" data-path="images/agents/send-to-agents-dropdown.png" />

Shortcuts follow the order agents appear in the dropdown:

| Action                            | Shortcut                 |
| :-------------------------------- | :----------------------- |
| Select the first connected agent  | <kbd>⌥</kbd><kbd>1</kbd> |
| Select the second connected agent | <kbd>⌥</kbd><kbd>2</kbd> |
| Select the third connected agent  | <kbd>⌥</kbd><kbd>3</kbd> |
| Copy the prompt to your clipboard | <kbd>⌘</kbd><kbd>C</kbd> |

## What the agent receives

Assert sends a text prompt containing the pull request URL, the branch name, the
comments you selected, and anything you typed in the box. It tells the agent to check
out that branch and push its commits back to it.

The agent reads the code from your repository using its own credentials, so it sees
whatever that key grants it. Assert does not ship the diff or your repository
contents to the provider.

## Runs

A run is recorded the moment you trigger it, before the agent has pushed anything,
and shows its status, the prompt it was given, and a link to the provider's own view.

When an agent is already working on a pull request, Assert continues that run rather
than starting a second one. It keeps the context, and it stops two agents pushing to
the same branch. Once a run has finished or expired, sending to that agent starts a
fresh one.

The agent's commits land on the branch and get reviewed like anything else.
