diff --git a/docs/docs.json b/docs/docs.json index 35d9954ebb7..628f4c6fec3 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -60,7 +60,8 @@ "pages": [ "hub/agents/intro", "hub/agents/overview", - "hub/agents/create-and-edit" + "hub/agents/create-and-edit", + "hub/agents/slack-agent" ] }, "hub/sharing", diff --git a/docs/hub/agents/slack-agent.mdx b/docs/hub/agents/slack-agent.mdx new file mode 100644 index 00000000000..f515c23b8a1 --- /dev/null +++ b/docs/hub/agents/slack-agent.mdx @@ -0,0 +1,170 @@ +--- +title: "Slack Agent" +description: "Kick off background Agents from Slack by mentioning @Continue" +--- + + + + The Continue Slack app is currently in beta development and undergoing Slack's approval process. + + + +## Overview + +Mention @Continue in any channel with a task description, and it will: + +- Create a new development agent +- Clone and work on your Repository +- Generate code changes and create pull requests +- Keep you updated on progress + + + + - Quick bug fixes and feature implementations + - Code reviews and refactoring + - Documentation updates + - Automated development tasks + + + +## Setup + +Continue's Slack Bot can be installed to a Slack workspace via the Hub, from: + +- [Personal Integrations Settings](https://hub.continue.dev/settings/integrations) +- Org Integrations Settings - `https://hub.continue.dev/organizations/{your-org}/settings/integrations` + + + + Continue's Slack app is in Beta development. During installation, you will see a warning that it is not yet approved/official. + + + + + + + + Click "Connect" next to GitHub in the Integrations settings, and grant access to the repositories you want Continue to work with. + + + + + + Click the "Connect" button next to Slack and authorize the app in your workspace. + + + + + + Use the repository selector within the Slack tile to select a default repository for Continue Agents to work in. + + + + + +## Usage + +To kick off an agent, mention `@Continue` with a short task description. + +### Thread Context + +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. + +If you start a **new message** (not a reply), Continue only sees that single message for context. +Use this for quick standalone requests. + + + + Provide clear, detailed prompts to help Continue understand your requirements: + + ✅ **Good**: `@Continue Fix the authentication timeout issue in /api/v1/auth/login. Users are getting logged out after 5 minutes instead of 30.` + + ❌ **Poor**: `@Continue fix auth` + + + + + + Continue determines which repository to work in with the following precedence: + + 1. **Specify in message**: Add `repo=repo-name` to your message: + + ``` + @Continue repo=my-app Fix the login validation bug + ``` + + + + Be sure the repository name matches a GitHub repository that the Continue GitHub App has access to. + + + + 2. **Default repo**: Uses the default repository if set in the integration settings + + 3. **Interactive selection**: If no repository is found, Continue will follow up with a dropdown to select a repository + + + +### Sending Follow-up Messages + +Once an agent is created, you can send additional messages by mentioning `@Continue` in the same thread: + +``` +@Continue Also add error handling for edge cases +``` + +Continue will forward your message to the existing agent session instead of creating a new one. + +## Monitoring Agent Progress + +Click the agent link in Slack to view the agent's progress in [Mission Control](https://hub.continue.dev/agents). + +You can also click the Slack icon in the agents page to return to the Slack message. + +## Disconnecting + +To remove the Slack integration: + +1. Go to [hub.continue.dev/settings/integrations](https://hub.continue.dev/settings/integrations) +2. Find your Slack integration +3. Click "Disconnect" + +## Support + + + + The Slack integration is in active development. We'd love to hear your feedback: + - Report issues: [GitHub Issues](https://github.com/continuedev/continue/issues) + - Feature requests: [GitHub Discussions](https://github.com/continuedev/continue/discussions) + + + +## Related Resources + + + + + + Learn about Continue agents + + + + + + Use Continue from the command line + + + + + + Best practices for background agents + + + + + + Automate code reviews + + + +