This project is an AI-powered DevOps agent that automates software upgrades, reads Jira tickets, manages Git branches and PRs, and generates Terraform code for infrastructure provisioning.
- Automate SonarQube/software upgrades
- Read and analyze Jira tickets
- Manage Git branches, commits, and pull requests
- Generate Terraform code for infrastructure
- End-to-end workflow automation
src/— Agent source codeinfra/— Infrastructure as code (Terraform)config/— Configuration filestests/— Test data and validation scriptsdocs/— Documentation
- Install Python 3.10+
- Install dependencies:
pip install -r requirements.txt - Run the agent:
python src/main.py
See docs/workflow.md for details.
This is a starter template. Expand features as needed.
User / Jira Ticket ↓ AI DevOps Agent ↓ Task Planner ↓ Code Generator ↓ Infrastructure Generator ↓ GitHub Integration ↓ Pull Request Creation ↓ CI/CD Pipeline ↓ Deployment
AI DevOps Automation Agent (High-Level Concept) Agent Name
AutoDevOps AI Agent (or you could call it VIPER AI Engineer)
Core Capabilities of the Agent
The agent can automate four major tasks.
- Software Upgrade Automation
Example:
Upgrade SonarQube 9.5 → 10.2 Upgrade Datadog Agent Upgrade Kubernetes Version Upgrade Terraform Modules How it Works
User prompt:
Upgrade SonarQube to latest version
Agent actions:
Detect current version
Check compatibility
Generate upgrade plan
Update configuration files
Create upgrade branch
Run tests
Raise PR
Result
Branch created sonarqube-upgrade-v10 PR created automatically 2. Jira Issue Automation
The agent can read Jira tickets and implement tasks automatically.
Example Jira Ticket:
Upgrade SonarQube to v10 Update Helm charts Add monitoring Agent Workflow
Read Jira ticket
Understand requirement using AI
Identify affected repositories
Generate required changes
Create branch
Implement changes
Create Pull Request
Example output
Branch created: sonar-upgrade Files updated: helm-chart.yaml terraform.tf deployment.yaml 3. Infrastructure Automation
The agent can automatically create infrastructure code.
Example prompt:
Create infrastructure for SonarQube in AWS
Agent generates:
Terraform code VPC EKS RDS Load Balancer IAM roles
Example Terraform generated:
resource "aws_instance" "sonarqube" { instance_type = "t3.large" }
Agent commits this code to repo.
- Code Generation + Pull Request
Agent automatically creates GitHub branches.
Workflow:
main branch ↓ AI creates new branch ↓ Generates code ↓ Pushes code ↓ Creates PR
Example PR
Title: Upgrade SonarQube to v10
Changes: Updated helm chart Updated terraform module Updated config files
After review and approval:
PR merged Deployment triggered Complete Agent Workflow User Prompt / Jira Ticket ↓ AI DevOps Agent ↓ Analyze Requirement ↓ Locate Repositories ↓ Generate Changes ↓ Create Branch ↓ Add Code / Terraform / Config ↓ Commit Code ↓ Create Pull Request ↓ Developer Review ↓ Merge ↓ Automatic Deployment Tools the Agent Will Integrate Development Tools GitHub GitLab Bitbucket DevOps Tools Terraform Helm Kubernetes ArgoCD Monitoring Tools SonarQube Datadog Snyk Ticketing System Jira Cloud AWS Azure GCP Example Real Scenario Jira Ticket Upgrade SonarQube from v9 to v10 Agent Execution 1 Analyze Jira ticket 2 Identify sonar infrastructure 3 Generate upgrade steps 4 Update Terraform 5 Update Helm chart 6 Update pipeline 7 Create branch 8 Push code 9 Create PR
Developer only reviews the PR.
High Level Architecture User / Jira Ticket ↓ AI DevOps Agent ↓ Task Planner ↓ Code Generator ↓ Infrastructure Generator ↓ GitHub Integration ↓ Pull Request Creation ↓ CI/CD Pipeline ↓ Deployment Technologies to Build This AI OpenAI / Claude LangGraph CrewAI Backend Python FastAPI Spring Boot Integrations GitHub API Jira API SonarQube API Terraform CLI AWS SDK What Makes This Idea Powerful
This agent would automate:
Tool upgrades Infrastructure creation Code generation Pull request automation Jira ticket implementation
Instead of engineers doing repetitive DevOps tasks, the AI agent does them automatically.
One Important Advice
Do NOT build everything at once.
Start with this first version:
Version 1 Agent
Capabilities:
Read Jira tickets Generate code changes Create GitHub branch Raise Pull Request Version 2
Add:
SonarQube upgrade automation Terraform generation Version 3
Add:
Full infrastructure provisioning Automatic deployments