Agent Automation
Agent Automation
Agent Automation lets you define rules that automatically trigger Rollbar's AI agents on errors in your project. Instead of manually launching a root cause analysis or a fix PR from an item, you configure conditions once and Rollbar's agents act the moment a matching error arrives.
Where to find it
Agent Automation is a project-level setting. Navigate to Project Settings → Agent Automation to create and manage rules.
Prerequisites
Root cause analysis and Fix PR creation both require a GitHub App installation. This applies whether you trigger them manually from the Root Cause tab or via an automation rule. See the Source Control Integration doc for setup instructions.
Creating a rule
Each rule has two parts: conditions that define which errors trigger it, and an outcome that defines what the agent does.
Conditions
- Environment — limit the rule to a specific environment (e.g.
production). Leave blank to match all environments. - Level — limit the rule to errors at or above a severity level (Critical, Error, Warning, Info, Debug).
Both conditions can be combined. A rule with Environment: production and Level: Error triggers only on errors at Error level or above in production.
Outcomes
- Root cause analysis — Rollbar's RCA agent analyzes the error and writes a root cause summary to the item. The result appears in the item's Resolve tab and in the item timeline.
- Fix PR creation — after completing root cause analysis, the agent opens a pull request in the connected GitHub repository with a proposed fix.
Rules are evaluated against every new occurrence of an item, not just the first. If a rule's conditions are met, the agent runs.
Item timeline indicator
When an RCA is triggered by an automation rule rather than manually, the item timeline shows a "triggered by rule" indicator with a link back to the rule that fired. This lets you trace automated activity back to its source without digging through settings.
Notifications
You can receive email or Slack notifications when agent tasks complete. To configure them, go to Project Settings → Notifications and add rules for the Root cause analysis succeeded/failed or Fix PR creation succeeded/failed trigger types. A shortcut to Notifications is available directly from the Agent Automation screen.
See the Notifications doc for full configuration details.
Account-level AI toggle
If your account administrator has disabled AI features at the account level, the Resolve tab and Agent Automation settings will not appear in any project. To re-enable them, an account owner can go to Account Settings → Agents and turn the toggle on. See Account Settings for details.
Updated 39 minutes ago