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

# CodeRabbit Agent for Discord

> Use CodeRabbit from public Discord channels in eligible open-source communities.

export const OpenBetaBadge = ({tip = "This feature is currently in open beta. We are actively improving it based on your feedback. If you encounter any issues or have suggestions, please share them on our Discord community or visit the support page.", title = "Open Beta", cta = "Contact support", href = "/support", disabled = false}) => {
  return <Tooltip tip={tip} cta={cta} href={href}>
        <Badge icon="badge-alert" disabled={disabled || undefined}>
            {title}
        </Badge>
    </Tooltip>;
};

export const GitHubBadge = ({tip = "This feature is available on GitHub and GitHub Enterprise.", title = "GitHub", cta, href, disabled = false}) => {
  return <Tooltip tip={tip} cta={cta} href={href}>
        <Badge icon="github" disabled={disabled || undefined}>
            {title}
        </Badge>
    </Tooltip>;
};

<GitHubBadge tip="CodeRabbit Agent for Discord is available for eligible open-source communities with public GitHub repositories." /> | <OpenBetaBadge title="Limited Availability" tip="CodeRabbit Agent for Discord is available to selected open-source communities during launch." cta="Get started" href="https://www.coderabbit.ai/discord" />

CodeRabbit Agent for Discord brings CodeRabbit's coding assistant into public Discord channels for eligible open-source communities. Community members can ask CodeRabbit to investigate repository context, answer implementation questions, prepare code changes, and open pull requests from the conversation where maintainers are already coordinating work.

<Warning>
  CodeRabbit Agent for Discord is limited to public channel usage during launch.
</Warning>

## Availability

CodeRabbit Agent for Discord is available during launch for selected open-source communities that have a GitHub repository with at least 1,000 stars.

During this launch period, CodeRabbit Agent for Discord is unpaid, but usage is capped per user or organization. If your community reaches a cap, CodeRabbit may pause new Discord-initiated work until more usage is available.

## What you can do

* Ask questions about repository behavior, recent changes, or implementation options
* Turn a Discord discussion into an implementation plan
* Ask CodeRabbit to prepare a pull request after the community agrees on the direction
* Keep technical discussion in public community channels where maintainers and contributors can inspect the context

## Important limitations

| Area                    | Launch behavior                                                                |
| ----------------------- | ------------------------------------------------------------------------------ |
| Discord surfaces        | Public channels only                                                           |
| Direct messages         | Not supported                                                                  |
| Private channels        | Not supported                                                                  |
| Repository eligibility  | Open-source communities with a GitHub repository that has at least 1,000 stars |
| Pull request authorship | Pull requests are authored by the connected user's personal GitHub account     |
| Pricing during launch   | Unpaid, with capped usage per user or organization                             |

## Manage Discord settings

After installation, the Discord settings area in the CodeRabbit dashboard is where authorized users manage the connected server and the surfaces CodeRabbit can use.

| Page           | What it does                                                                                                          |
| -------------- | --------------------------------------------------------------------------------------------------------------------- |
| Setup          | Connect Discord, link GitHub, and complete launch eligibility checks.                                                 |
| Scopes         | Configure which repositories, connections, and spend limits apply to public Discord channels.                         |
| Connections    | Add, edit, test, and delete external tool connections that Discord runs can use after they are assigned to scopes.    |
| Automations    | Create and manage scheduled, message-triggered, and webhook-triggered automations for supported Discord destinations. |
| Knowledge base | Review and manage knowledge available to CodeRabbit Agent for Discord.                                                |
| Sandbox        | Manage the shared execution environment available to Discord-backed runs when sandbox access is enabled.              |
| Activity       | Inspect recent CodeRabbit Agent for Discord activity and run outcomes.                                                |

## How pull request authorship works

When CodeRabbit opens a pull request from Discord, the pull request is authored by the connected user's personal GitHub account. This keeps contribution history and repository permissions aligned with the person who asked CodeRabbit to create the change.

Before asking CodeRabbit to open a pull request, make sure the connected GitHub account has permission to create branches and pull requests in the target repository.

## What's next

<CardGroup cols={1}>
  <Card title="Set up CodeRabbit Agent for Discord" href="/discord-agent/setup" icon="settings" horizontal>
    Connect an eligible community and manage Discord settings from the CodeRabbit dashboard.
  </Card>

  <Card title="Usage and limits" href="/discord-agent/usage-and-limits" icon="message-circle-warning" horizontal>
    Learn where CodeRabbit can respond in Discord and what launch limits apply.
  </Card>

  <Card title="CodeRabbit for Discord landing page" href="https://www.coderabbit.ai/discord" icon="external-link" horizontal>
    Start from the product page and follow the dashboard deep link to Discord settings.
  </Card>
</CardGroup>
