-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Feat/claude agent setup #17262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
coolguyzone
wants to merge
7
commits into
master
Choose a base branch
from
feat/claude-agent-setup
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat/claude agent setup #17262
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2588f6d
docs(ai): add Claude Agent Setup page and restructure agent-skills
coolguyzone 2690ff0
chore: restore pnpm-lock.yaml to match master
coolguyzone a93e5b8
chore: Restore pnpm-lock.yaml to match current master
coolguyzone 74c1f79
Code cleanup, add claude agent docs and update arcade compononet
coolguyzone 0926c3f
docs(integrations): Move Claude Agent page to organization/integrations
coolguyzone 44fc08b
docs(integrations): Add Coding Agents section under integrations
coolguyzone 5f635ac
fix(integrations): Update links and redirects for cursor coding-agent…
coolguyzone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.3 KB
docs/organization/integrations/coding-agents/claude/img/claude-agent-install-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions
44
docs/organization/integrations/coding-agents/claude/index.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| --- | ||
| title: Claude Agent | ||
| sidebar_order: 0 | ||
| description: "Set up the Claude Agent integration to send Sentry issues directly to Claude for automated root cause analysis and fix generation." | ||
| keywords: | ||
| - Claude | ||
| - Claude Agent | ||
| - agent skills | ||
| - AI coding assistant | ||
| - integration | ||
| --- | ||
|
|
||
| You can trigger Claude agents from your [Seer Autofix](/product/ai-in-sentry/seer/autofix/) tab. The agent is provided with Seer's root cause analysis output and issue context, so it can understand the problem and generate a fix — including opening a branch with the changes. | ||
|
|
||
| ## Install and Configure | ||
|
|
||
| <Alert> | ||
|
|
||
| Sentry Owner, Manager, or Admin permissions are required to install this integration. You must also have an existing Claude workspace and environment set up before connecting to Sentry. | ||
|
|
||
| </Alert> | ||
|
|
||
| 1. Go to [platform.claude.com/dashboard](https://platform.claude.com/dashboard) and create an API key for your workspace. | ||
|
|
||
| 2. In Sentry, navigate to **Settings > Integrations** and search for **Claude Agent**. | ||
|
|
||
| 3. Enter your API key. If your workspace isn't "default" or you want to use a specific environment, update those fields here, then save. | ||
| <br /> | ||
|
|
||
| <Arcade src="https://demo.arcade.software/GmQwOB82wAeELf3lr43h?embed&show_copy_link=true" width="75%" /> | ||
|
|
||
| ## Using the Integration | ||
|
|
||
| Once installed, you can send any Seer root cause analysis to a Claude agent. | ||
|
|
||
| 1. Go to a Sentry issue and click **Start Root Cause Analysis**. | ||
|
|
||
| 2. Once root cause analysis completes, open the dropdown and select **Send to Claude Agent**. | ||
|
|
||
| <Arcade src="https://demo.arcade.software/ozuv7mNBShFX0HtrbaWB?embed&show_copy_link=true" width="75%" /> | ||
|
|
||
| 3. A card will appear in the drawer for the active session. While the session is running, you can follow along in the Claude Console. Once complete, a button linking to the created branch will appear in the card. | ||
|
|
||
|  |
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| title: Coding Agents | ||
| sidebar_order: 6 | ||
| description: "Connect AI coding agents to Sentry to automatically debug and fix issues using Seer's root cause analysis." | ||
| --- | ||
|
|
||
| Connect an AI coding agent to Sentry so that Seer's root cause analysis can be sent directly to the agent for automated fix generation and pull request creation. | ||
|
|
||
| <PageGrid /> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,42 @@ | ||
| type ArcadeProps = { | ||
| src: string; | ||
| /** Constrains the embed width (for example `640px` or `55%`). Defaults to full width of the content column. */ | ||
| width?: string; | ||
| }; | ||
| export function Arcade({src}: ArcadeProps) { | ||
|
|
||
| export function Arcade({src, width}: ArcadeProps) { | ||
| return ( | ||
| <div | ||
| style={{ | ||
| height: '0px', | ||
| paddingBottom: 'calc(56.8359% + 41px)', | ||
| position: 'relative', | ||
| width: '100%', | ||
| maxWidth: '100%', | ||
| width: width ?? '100%', | ||
| }} | ||
| > | ||
| <iframe | ||
| src={src} | ||
| loading="lazy" | ||
| allowFullScreen | ||
| allow="fullscreen;" | ||
| {/* Inner wrapper: % padding is relative to outer width so aspect ratio matches narrow embeds. */} | ||
| <div | ||
| style={{ | ||
| colorScheme: 'light', | ||
| height: '100%', | ||
| left: '0px', | ||
| position: 'absolute', | ||
| top: '0px', | ||
| height: '0px', | ||
| paddingBottom: 'calc(56.8359% + 41px)', | ||
| position: 'relative', | ||
| width: '100%', | ||
| }} | ||
| /> | ||
| > | ||
| <iframe | ||
| src={src} | ||
| loading="lazy" | ||
| allowFullScreen | ||
| allow="fullscreen;" | ||
| style={{ | ||
| border: 'none', | ||
| colorScheme: 'light', | ||
| height: '100%', | ||
| left: '0px', | ||
| position: 'absolute', | ||
| top: '0px', | ||
| width: '100%', | ||
| }} | ||
| /> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Moving the Cursor Agent documentation broke two internal links and a redirect, which now point to a non-existent path and will cause 404 errors.
Severity: MEDIUM
Suggested Fix
Update the two broken links in
docs/organization/integrations/index.mdxanddocs/product/ai-in-sentry/seer/index.mdxto point to the new path:/organization/integrations/coding-agents/cursor/. Also, update the redirect inredirects.jsto point to this new destination.Prompt for AI Agent
Did we get this right? 👍 / 👎 to inform future reviews.