DEV Community

Akshay Patel
Akshay Patel

Posted on

Automation 12/30+: Put an AI agent inside Sentry

An alert fires. Someone opens the stack trace, guesses, and closes the tab. Repeat tomorrow.

What it does

  • A Sentry alert fires → the AI reads it against your repo and writes a root-cause sketch
  • That sketch is filed as a GitHub issue your team can actually act on
  • The same error comes back → it updates the existing issue instead of filing a duplicate
  • Every run's prompt and transcript is saved as a CI artifact, so you can check its reasoning

What it does not do

It never resolves or ignores Sentry issues, and never closes the GitHub issue it opened.

Honest note: beta — built and smoke-tested, needs live traffic to prove out.

Setup

clone → ./setup.sh → pick Sentry → answer a few questions
Enter fullscreen mode Exit fullscreen mode

~5 minutes. No server, no database, free.

Get it

The recipe is open source: github.com/akshaypatel-ai/ai-automations

This is one of 30+ automations in the series — the full write-up lives on my site.

Top comments (0)