Capabilities & Functions
Codegen functions as a full-fledged software engineer that you can interact with directly through Slack. When responding to messages in Slack, Codegen can:- Perform Research: Search the web for information, documentation, or solutions to problems.
- Manage Issues: Triage and update issues in Linear or GitHub based on your requests.
- Develop Code: Make code changes, improvements, or implement new features across your repositories.
- Create Pull Requests: Draft, review, and submit PRs with detailed descriptions and context.
- Provide Updates: Keep you informed about progress, blockers, or completion of tasks.
- Request Clarification: Ask for additional context or guidance when needed to complete a task effectively.
- Share Results: Deliver summaries, documentation, links to PRs, or explanations of changes made.
Installation
Add the Codegen integration for Slack to your workspace to enable agent communication.Add Codegen to Slack
Install the Codegen integration for Slack from the Slack Marketplace and choose the
channels it can access.
Configure channel access carefully to ensure agents communicate in the
appropriate places.
Configuration Instructions
After installing the integration for Slack from the Slack Marketplace, follow these steps to configure it for your team:Channel Setup
- Create a dedicated channel: We recommend creating a channel like
#codegenfor general agent interactions. - Invite the Codegen bot: Type
/invite @codegenin any channel where you want Codegen to participate.
Trigger Configuration
Codegen agents can be triggered in several ways:- Direct mentions: Type
@codegenfollowed by your request in any channel where the bot is present. - Thread replies: Reply to a Codegen message in a thread to continue the conversation.
- Direct messages: Send a DM to the Codegen bot for private conversations.
Notification Settings
Configure which events trigger notifications in Slack:- Go to your Codegen Dashboard
- Under “Notification Settings”, select which events should post to Slack:
- PR creation and updates
- Build failures
- Deployment events
- Agent task completions
- Choose which channels should receive different types of notifications
Permission Management
For security, you can control which team members can interact with Codegen:- Go to your Codegen Dashboard
- Under “Slack Permissions”, configure:
- Which users can trigger agent actions
- Which repositories can be accessed via Slack commands
- What level of access is permitted (read-only, PR creation, etc.)
Message Response Behavior
Codegen responds to the following messages in Slack:-
Direct Messages:
- Responds to any DM sent to the Codegen integration for Slack
- Has visibility into previous messages in the conversation (not just threaded replies)
- This provides a more natural conversation experience as many users don’t thread messages in DMs
-
Channel Messages:
- Responds to any message that @mentions Codegen in channels where the integration for Slack is installed
- Only has visibility into the local context of the thread/conversation
- Sending subsequent messages within a thread routes to the same agent
- New messages in an active thread will interrupt the agent if it’s currently working
Data Privacy and Security
Message Content Handling:- Third-Party LLM APIs: To provide its core functionality, Codegen shares message content with third-party Large Language Model (LLM) APIs, specifically OpenAI and Anthropic.
- Data Retention: Outside of the LLM API interactions, message content is retained by Codegen solely for the purpose of displaying it within the Codegen user interface.
- Metadata from Private Channels: When messages from private Slack channels are processed, Codegen does not expose private metadata, such as the original author’s name or username, in the Codegen web app.