|
| 1 | +--- |
| 2 | +title: "Slack Agent" |
| 3 | +description: "Kick off background Agents from Slack by mentioning @Continue" |
| 4 | +--- |
| 5 | + |
| 6 | +<Warning> |
| 7 | + |
| 8 | + The Continue Slack app is currently in beta development and undergoing Slack's approval process. |
| 9 | + |
| 10 | +</Warning> |
| 11 | + |
| 12 | +## Overview |
| 13 | + |
| 14 | +Mention @Continue in any channel with a task description, and it will: |
| 15 | + |
| 16 | +- Create a new development agent |
| 17 | +- Clone and work on your Repository |
| 18 | +- Generate code changes and create pull requests |
| 19 | +- Keep you updated on progress |
| 20 | + |
| 21 | +<Card title="What It's Great For" icon="slack"> |
| 22 | + |
| 23 | + - Quick bug fixes and feature implementations |
| 24 | + - Code reviews and refactoring |
| 25 | + - Documentation updates |
| 26 | + - Automated development tasks |
| 27 | + |
| 28 | +</Card> |
| 29 | + |
| 30 | +## Setup |
| 31 | + |
| 32 | +Continue's Slack Bot can be installed to a Slack workspace via the Hub, from: |
| 33 | + |
| 34 | +- [Personal Integrations Settings](https://hub.continue.dev/settings/integrations) |
| 35 | +- Org Integrations Settings - `https://hub.continue.dev/organizations/{your-org}/settings/integrations` |
| 36 | + |
| 37 | +<Warning> |
| 38 | + |
| 39 | + Continue's Slack app is in Beta development. During installation, you will see a warning that it is not yet approved/official. |
| 40 | + |
| 41 | +</Warning> |
| 42 | + |
| 43 | +<Steps> |
| 44 | + |
| 45 | + <Step title="Connect GitHub"> |
| 46 | + |
| 47 | + Click "Connect" next to GitHub in the Integrations settings, and grant access to the repositories you want Continue to work with. |
| 48 | + |
| 49 | + </Step> |
| 50 | + |
| 51 | + <Step title="Authorize Slack"> |
| 52 | + |
| 53 | + Click the "Connect" button next to Slack and authorize the app in your workspace. |
| 54 | + |
| 55 | + </Step> |
| 56 | + |
| 57 | + <Step title="Set Default Repository (Optional)"> |
| 58 | + |
| 59 | + Use the repository selector within the Slack tile to select a default repository for Continue Agents to work in. |
| 60 | + |
| 61 | + </Step> |
| 62 | + |
| 63 | +</Steps> |
| 64 | + |
| 65 | +## Usage |
| 66 | + |
| 67 | +To kick off an agent, mention `@Continue` with a short task description. |
| 68 | + |
| 69 | +### Thread Context |
| 70 | + |
| 71 | +When you mention `@Continue` in a **Slack thread**, Continue automatically uses the entire conversation as context. This means your agent starts with full situational awareness. |
| 72 | + |
| 73 | +If you start a **new message** (not a reply), Continue only sees that single message for context. |
| 74 | +Use this for quick standalone requests. |
| 75 | + |
| 76 | +<Tip> |
| 77 | + |
| 78 | + Provide clear, detailed prompts to help Continue understand your requirements: |
| 79 | + |
| 80 | + ✅ **Good**: `@Continue Fix the authentication timeout issue in /api/v1/auth/login. Users are getting logged out after 5 minutes instead of 30.` |
| 81 | + |
| 82 | + ❌ **Poor**: `@Continue fix auth` |
| 83 | + |
| 84 | +</Tip> |
| 85 | + |
| 86 | +<Accordion title="Repository Selection"> |
| 87 | + |
| 88 | + Continue determines which repository to work in with the following precedence: |
| 89 | + |
| 90 | + 1. **Specify in message**: Add `repo=repo-name` to your message: |
| 91 | + |
| 92 | + ``` |
| 93 | + @Continue repo=my-app Fix the login validation bug |
| 94 | + ``` |
| 95 | + |
| 96 | + <Tip> |
| 97 | + |
| 98 | + Be sure the repository name matches a GitHub repository that the Continue GitHub App has access to. |
| 99 | + |
| 100 | + </Tip> |
| 101 | + |
| 102 | + 2. **Default repo**: Uses the default repository if set in the integration settings |
| 103 | + |
| 104 | + 3. **Interactive selection**: If no repository is found, Continue will follow up with a dropdown to select a repository |
| 105 | + |
| 106 | +</Accordion> |
| 107 | + |
| 108 | +### Sending Follow-up Messages |
| 109 | + |
| 110 | +Once an agent is created, you can send additional messages by mentioning `@Continue` in the same thread: |
| 111 | + |
| 112 | +``` |
| 113 | +@Continue Also add error handling for edge cases |
| 114 | +``` |
| 115 | + |
| 116 | +Continue will forward your message to the existing agent session instead of creating a new one. |
| 117 | + |
| 118 | +## Monitoring Agent Progress |
| 119 | + |
| 120 | +Click the agent link in Slack to view the agent's progress in [Mission Control](https://hub.continue.dev/agents). |
| 121 | + |
| 122 | +You can also click the Slack icon in the agents page to return to the Slack message. |
| 123 | + |
| 124 | +## Disconnecting |
| 125 | + |
| 126 | +To remove the Slack integration: |
| 127 | + |
| 128 | +1. Go to [hub.continue.dev/settings/integrations](https://hub.continue.dev/settings/integrations) |
| 129 | +2. Find your Slack integration |
| 130 | +3. Click "Disconnect" |
| 131 | + |
| 132 | +## Support |
| 133 | + |
| 134 | +<Warning> |
| 135 | + |
| 136 | + The Slack integration is in active development. We'd love to hear your feedback: |
| 137 | + - Report issues: [GitHub Issues](https://github.com/continuedev/continue/issues) |
| 138 | + - Feature requests: [GitHub Discussions](https://github.com/continuedev/continue/discussions) |
| 139 | + |
| 140 | +</Warning> |
| 141 | + |
| 142 | +## Related Resources |
| 143 | + |
| 144 | +<CardGroup cols={2}> |
| 145 | + |
| 146 | + <Card title="Agents Introduction" icon="robot" href="./intro"> |
| 147 | + |
| 148 | + Learn about Continue agents |
| 149 | + |
| 150 | + </Card> |
| 151 | + |
| 152 | + <Card title="CLI Guide" icon="terminal" href="../../guides/cli"> |
| 153 | + |
| 154 | + Use Continue from the command line |
| 155 | + |
| 156 | + </Card> |
| 157 | + |
| 158 | + <Card title="Continuous AI" icon="infinity" href="../../guides/continuous-ai"> |
| 159 | + |
| 160 | + Best practices for background agents |
| 161 | + |
| 162 | + </Card> |
| 163 | + |
| 164 | + <Card title="GitHub PR Review Bot" icon="github" href="../../guides/github-pr-review-bot"> |
| 165 | + |
| 166 | + Automate code reviews |
| 167 | + |
| 168 | + </Card> |
| 169 | + |
| 170 | +</CardGroup> |
0 commit comments