Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions docs/ai/agent-plugin/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ keywords:
- AI coding assistant
- vibe coding
- AI setup
- dotagents
---

Whether you're adding Sentry to a new project, debugging a spike in errors, or wiring up alerts, just ask. The plugin gives your assistant the context it needs to do it right.
Expand All @@ -23,13 +24,19 @@ Supports **Claude Code**, **Cursor**, **Codex**, and **Grok**.

## Install

Run this in your terminal:
Run one of these in your terminal:

```bash
npx @sentry/ai install
```bash {tabTitle:@sentry/agent-plugin}
npx @sentry/agent-plugin install
```

```bash {tabTitle:dotagents}
npx @sentry/dotagents add getsentry/agent-plugin
```

The installer detects which assistants you have on your machine, lets you pick the ones you want, and wires the plugin into each. Already have it? The same command updates you to the latest version.
`@sentry/agent-plugin` detects which assistants you have on your machine, lets you pick the ones you want, and wires the plugin into each. Already have it? The same command updates you to the latest version.

[dotagents](/ai/dotagents/) is an alternative if you already manage agent tooling that way.

Restart your AI tools afterward so they load the plugin.

Expand Down Expand Up @@ -70,7 +77,7 @@ The plugin configures the [Sentry MCP server](https://mcp.sentry.dev) for you du
## Remove the Plugin

```bash
npx @sentry/ai remove
npx @sentry/agent-plugin remove
```

This only offers the assistants that currently have the plugin and removes just the Sentry plugin, leaving each tool's marketplace registered. Restart your AI tools afterward to drop it.
Expand Down
Loading