|
| 1 | +--- |
| 2 | +title: "Capabilities" |
| 3 | +icon: "gear" |
| 4 | +--- |
| 5 | + |
| 6 | +Codegen is built on an [open-source library](/introduction/overiew.mdx) for code manipulation. |
| 7 | + |
| 8 | +It combines "tools" for code editing with powerful integrations, including Github, Linear and Slack. |
| 9 | + |
| 10 | +<Tip> |
| 11 | + Learn more about our open source [code agent implementation](/docs/tutorials/build-code-agent) |
| 12 | +</Tip> |
| 13 | + |
| 14 | +## Communication Tools |
| 15 | + |
| 16 | +- **SlackSendMessageTool**: Allows Codegen to send messages in Slack channels and threads, providing responses to your queries and sharing information with your team. |
| 17 | + |
| 18 | +## GitHub Integration Tools |
| 19 | + |
| 20 | +Codegen includes a comprehensive set of GitHub tools: |
| 21 | + |
| 22 | +- **GithubCheckoutPRTool**: Checks out pull requests to your local environment for review and testing. |
| 23 | + |
| 24 | +- **GithubCreatePRTool**: Creates new pull requests from your current branch, including title, description, and target branch. |
| 25 | + |
| 26 | +- **GithubCreatePRCommentTool**: Adds comments to pull requests for feedback and team communication. |
| 27 | + |
| 28 | +- **GithubCreatePRReviewCommentTool**: Provides inline comments on specific code changes within pull requests. |
| 29 | + |
| 30 | +- **GithubEditPRTool**: Modifies existing pull requests, including updating titles, descriptions, and other metadata. |
| 31 | + |
| 32 | +- **GithubSearchIssuesTool**: Searches for GitHub issues based on various criteria like status, assignee, or labels. |
| 33 | + |
| 34 | +- **GithubViewPRTool**: Retrieves and displays information about specific pull requests. |
| 35 | + |
| 36 | +- **GithubViewPRCheckTool**: Checks the status of CI/CD and other automated checks on pull requests. |
| 37 | + |
| 38 | +- **GithubViewCommitHistoryTool**: Shows the commit history of a repository or specific branch. |
| 39 | + |
| 40 | +- **GithubViewCommitTool**: Displays details about specific commits, including changes made. |
| 41 | + |
| 42 | +## Linear Integration Tools (Optional) |
| 43 | + |
| 44 | +For teams using Linear for project management, Codegen offers: |
| 45 | + |
| 46 | +- **LinearGetIssueTool**: Retrieves details about specific Linear issues. |
| 47 | + |
| 48 | +- **LinearGetIssueCommentsTool**: Fetches comments on Linear issues for context and history. |
| 49 | + |
| 50 | +- **LinearCommentOnIssueTool**: Adds comments to Linear issues for team communication. |
| 51 | + |
| 52 | +- **LinearSearchIssuesTool**: Searches for Linear issues based on various criteria. |
| 53 | + |
| 54 | +- **LinearCreateIssueTool**: Creates new issues in Linear with appropriate metadata. |
| 55 | + |
| 56 | +- **LinearGetTeamsTool**: Retrieves information about teams in your Linear organization. |
| 57 | + |
| 58 | +## How Codegen Uses These Tools |
| 59 | + |
| 60 | +Codegen's AI brain (powered by Claude 3.7 Sonnet) intelligently selects and combines these tools to: |
| 61 | + |
| 62 | +1. Understand your requests through natural language in Slack |
| 63 | +2. Determine the most appropriate tools to fulfill your request |
| 64 | +3. Execute the necessary actions across GitHub, Linear, and your codebase |
| 65 | +4. Provide clear, helpful responses back in Slack |
| 66 | + |
| 67 | +This seamless integration allows you to manage your entire development workflow through simple conversations, without having to switch between different platforms and interfaces. |
| 68 | + |
| 69 | +## Getting Started |
| 70 | + |
| 71 | +Ready to experience the power of Codegen? Check out our [Quickstart Guide](/docs/gen/quickstart) to set up Codegen for your team, and explore [Common Commands](/docs/gen/common-commands) to see how to interact with these tools through natural language. |
0 commit comments