> ## 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 Slack

> Bring AI-powered investigation, planning, and code editing into your Slack workspace: with shared context, persistent knowledge, and governed access.

export const Hint = ({type, children, headline, tip, href, cta}) => {
  const TIPS = {
    learnings: {
      headline: "Learnings",
      tip: "Review preferences CodeRabbit learns from your chat conversations and applies automatically to future reviews.",
      cta: "Learn about Learnings",
      href: "/knowledge-base/learnings",
      content: "Learnings"
    },
    walkthrough: {
      headline: "PR Walkthrough",
      tip: "A structured comment posted by CodeRabbit at the top of every pull request, summarizing changes, sequence diagrams, review effort, and more.",
      cta: "Learn about PR Walkthroughs",
      href: "/pr-reviews/walkthroughs",
      content: "Walkthrough"
    },
    "finishing-touches": {
      headline: "Finishing Touches",
      tip: "Post-review agentic actions (Autofix, writing docstrings or unit tests, and more) you trigger from a PR comment or a checkbox in the Walkthrough.",
      cta: "See all Finishing Touches",
      href: "/finishing-touches",
      content: "Finishing Touches"
    },
    "coding-plan": {
      headline: "Coding Plan",
      tip: "A detailed, codebase-aware implementation plan CodeRabbit generates from an issue or description, ready to hand off to any coding agent.",
      cta: "Learn about Coding Plans",
      href: "/plan",
      content: "Coding Plan"
    },
    "knowledge-base": {
      headline: "Knowledge Base",
      tip: "The collected context sources CodeRabbit draws on during reviews: Learnings, Code Guidelines, issue trackers, connected MCP servers, and cross-repo analysis.",
      cta: "Explore the Knowledge Base",
      href: "/knowledge-base",
      content: "Knowledge Base"
    },
    "path-instructions": {
      headline: "Path Instructions",
      tip: "Custom review rules that only apply to files matching a glob pattern, e.g. 'src/controllers/**'.",
      cta: "Configure path instructions",
      href: "/configuration/path-instructions",
      content: "Path Instructions"
    },
    scope: {
      headline: "Scope",
      tip: "A named set of repositories, connections, and spend limits that controls what CodeRabbit Agent can access in a given Slack conversation.",
      cta: "Learn about Scopes",
      href: "/slack-agent/scopes",
      content: "Scope"
    }
  };
  const defaults = TIPS[type] || ({});
  return <Tooltip headline={headline ?? defaults.headline} tip={tip ?? defaults.tip} cta={cta ?? defaults.cta} href={href ?? defaults.href}>
      {children ?? defaults.content}
    </Tooltip>;
};

export const EarlyAccessBadge = ({tip = "This feature is in early access. Enable it by setting `early_access: true` in your `.coderabbit.yaml`, or by toggling Early Access on the web interface.", title = "Early Access", cta = "View configuration", href = "/reference/configuration#param-early-access", disabled = false}) => {
  return <Tooltip tip={tip} cta={cta} href={href}>
        <Badge icon="flask-conical" disabled={disabled || undefined}>
            {title}
        </Badge>
    </Tooltip>;
};

<EarlyAccessBadge />

CodeRabbit Agent is an AI agent for **your entire SDLC** right in Slack:

* **Investigate** — Ask questions about your codebase, trace features, and cross-reference Sentry errors with merged PRs and Jira issues, all in natural language.
* **Plan** — Generate structured <Hint type="coding-plan" href="/slack-agent/plans">Coding Plans</Hint> from any Slack thread and hand them off to Claude Code, Codex, Cursor, or any coding agent.
* **Act** — Discuss requirements with your team, reference Linear issues or Figma drafts, then ask CodeRabbit to open a pull request incorporating everything.

<Frame caption="CodeRabbit Agent investigates existing codebase, suggests a configuration, and opens a pull request, all from a single Slack thread">
  <img src="https://mintcdn.com/coderabbit/ORDpQ77gsfAJLw4A/assets/images/slack-agent-eng-demo.png?fit=max&auto=format&n=ORDpQ77gsfAJLw4A&q=85&s=0d631065214f8a961dc1ce5ad752a3ae" alt="Slack conversation where a developer asks CodeRabbit how rate limiting was handled on an existing endpoint, CodeRabbit finds the pattern across merged PRs and ADRs, recommends a lower default for the new endpoint, and opens a pull request after approval" width="1642" height="806" data-path="assets/images/slack-agent-eng-demo.png" />
</Frame>

CodeRabbit Agent responds to `@coderabbit` mentions in channels and threads, and to direct messages — no special syntax required. Every response runs within the <Hint type="scope" />, so the Agent only sees the repositories and connections your admins have approved for a specific channel. Context carries over between messages, a persistent <Hint type="knowledge-base" /> retains what your team discovers, and every conversation can be reviewed after the fact.

<CardGroup cols={3}>
  <Card title="Scopes" icon="shield" href="/slack-agent/scopes">
    Control which repositories, connections, and settings are available per
    channel or DM.
  </Card>

  <Card title="Connections" icon="plug" href="/slack-agent/connections">
    Integrate with Jira, Linear, Notion, Sentry, Datadog, PagerDuty, Figma,
    Google Drive, MCP servers, and more.
  </Card>

  <Card title="Automations" icon="clock" href="/slack-agent/automations">
    Save scheduled or message-triggered work — vulnerability checks, weekly
    summaries, alert triage, and periodic audits — that post results into Slack
    threads.
  </Card>

  <Card title="Sandboxes" icon="box" href="/slack-agent/sandboxes">
    Shared environments where CodeRabbit Agent works on code changes and prepares
    pull requests.
  </Card>

  <Card title="Knowledge Base" icon="database" href="/slack-agent/knowledge-base">
    Persistent, team-wide store of facts and decisions that enriches every
    conversation.
  </Card>

  <Card title="Thread reviews" icon="eye" href="/slack-agent/thread-reviews">
    Web-based inspection of any CodeRabbit Agent conversation, with full context and
    citations.
  </Card>
</CardGroup>

## What's next

<CardGroup cols={1}>
  <Card title="CodeRabbit Agent for Slack documentation" href="/slack-agent" icon="book" horizontal>
    Full documentation covering capabilities, administration, security, and day-to-day usage.
  </Card>

  <Card title="CodeRabbit architecture" href="/overview/architecture" icon="microchip" horizontal>
    The system behind every Coding Plan, review comment, and CodeRabbit Agent response.
  </Card>
</CardGroup>
