Skip to content

Default Agents

Pre-built AI agents for common infrastructure automation tasks

Cased comes with default agents that are automatically available to your organization. These agents handle common infrastructure automation tasks and can be enabled from your Agents dashboard.

Automatically analyzes Sentry errors to determine if they’re infrastructure-related, identifies root cause, and creates fix sessions.

Trigger: sentry.issue.created (when a new Sentry issue is created)

What it does:

  • Classifies errors as infrastructure-related or application logic
  • Analyzes database, cloud service, message queue, cache, and network errors
  • Skips application logic errors (null pointers, validation errors, UI bugs)
  • Sends analysis to Slack with root cause and affected code
  • Spawns fix sessions for infrastructure issues

Infrastructure errors it handles:

  • Database connection/query errors (PostgreSQL, MySQL, Redis, MongoDB)
  • Cloud service errors (AWS S3, SQS, Lambda, ECS, RDS, GCP, Azure)
  • Message queue errors (Kafka, RabbitMQ, SQS, SNS)
  • Network/connectivity errors (timeouts, DNS, SSL/TLS)
  • Container/orchestration errors (Docker, Kubernetes, ECS)

Continuously monitors deployment health and performance, providing real-time status updates and post-deployment analysis.

Trigger: deployment.deployment.started (when a deployment begins)

What it does:

  • Monitors GitHub Actions workflow progress
  • Checks for database migrations and secrets updates
  • Generates interactive deployment UI (if available)
  • Monitors every minute during deployment
  • Continues monitoring for 30 minutes after deployment completes
  • Compares pre/post deployment metrics
  • Suggests rollback if issues are detected
  • Posts updates to Slack throughout the process

Slack notifications include:

  • Deploy start with commit, branch, and deployer info
  • Migration and secrets detection alerts
  • Real-time monitoring updates
  • Error alerts with Sentry links
  • Final summary with timing, errors, and health assessment

Analyzes Kubernetes alerts from Groundcover to diagnose infrastructure issues and suggest remediation.

Trigger: groundcover.alert.fired (when a Groundcover alert fires)

What it does:

  • Classifies errors by priority (config errors, resource exhaustion, runtime issues)
  • Gathers diagnostic information from cluster state
  • Reviews pod logs, events, and configurations
  • Identifies root cause and recent changes
  • Reports findings to Slack with remediation steps
  • Spawns fix sessions for configuration errors

Error types it handles:

  • High Priority: Secret/ConfigMap mismatches, invalid image references, RBAC issues
  • Medium Priority: OOMKilled pods, CPU throttling, disk pressure
  • Lower Priority: CrashLoopBackOff, probe failures, network issues

Helps you add the Cased Deploy Monitor GitHub Action to your repository’s deployment workflow.

Trigger: Manual (on-demand)

What it does:

  • Lists your GitHub Actions workflows
  • Identifies the deployment workflow
  • Determines the optimal insertion point
  • Creates a PR adding the cased-deploy-notification-action
  • Includes setup instructions for the CASED_API_KEY secret

This agent is useful for initial setup when you want to start tracking deployments in Cased.