diff --git a/docs/ai/agent-plugin/index.mdx b/docs/ai/agent-plugin/index.mdx index 676998116c436..72fbd8798e600 100644 --- a/docs/ai/agent-plugin/index.mdx +++ b/docs/ai/agent-plugin/index.mdx @@ -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. @@ -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. @@ -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.