Skip to content

ArshVermaGit/SentinelOps-Autonomous-DevOps-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

161 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ SentinelOps

AI-Powered DevOps Co-Pilot
Built by Arsh Verma β€” Bringing intelligence to the dev pipeline.

License: MIT Status: Production Ready Python Next.js FastAPI

SentinelOps is an autonomous, AI-powered DevOps co-pilot that helps developers understand their delivery pipelines better. It stops the "fail-react" loop by predicting risks at the PR gate and explaining CI/CD failures in plain English.


✨ Key Features

  • πŸ“‚ Repo Manager & Sync: Link local repos, auto-detect changes, run health checks, and push to GitHub from one unified dashboard.
  • 🎭 Autonomous Gatekeeper: Reports risk-based commit statuses directly to GitHub to block unsafe merges. Setup Guide
  • πŸ§ͺ Digital Twin Simulation: Runs Monte Carlo simulations (1,000 iterations) to predict deployment stability before code reaches production.
  • 🧠 Automated Root Cause: LLM-powered log analysis provides natural language explanations for test/build failures.
  • πŸ” Similarity Search: Matches new failures against historical incident patterns using vector embeddings.

🎯 The Problem

Every engineering team suffers from the same pain:

  • CI failures that alert you after the damage is done.
  • Raw logs with no context β€” resulting in hours of manual debugging.
  • PRs that look fine but carry hidden structural risks.
  • The same incidents repeating because patterns go unrecognized.

The Reality: A typical engineering team loses 12+ hours to CI failures and debugging alone every month.


πŸ’‘ The Solution

SentinelOps is a real-time engineering insights system that mitigates risk entirely:

Feature Description
πŸ“‚ Repo Manager & Sync Link repos, auto-detect changes, health checks, one-click push to GitHub.
🎭 GitHub Gatekeeper Reports success/failure to GitHub to block risky PRs autonomously.
πŸ§ͺ Digital Twin Engine Runs 1K Monte Carlo iterations to simulate deployment reliability.
🧠 LLM Root Cause Analysis OpenAI explains why the CI failed + suggests a patch diff.
πŸ” Failure Similarity Search Vectorized search: "95% similar to Incident #234 β€” memory leak pattern".
πŸ“Š CI Health Analytics Build trends, anomaly detection, and "System Pulse" health score.

πŸ› οΈ Tech Stack

Frontend: Next.js 14 Β· TypeScript Β· Tailwind CSS Β· Recharts Β· React Flow Β· Framer Motion
Backend: FastAPI (Python) Β· Celery Β· PostgreSQL Β· Redis Β· WebSockets
AI/ML: OpenAI GPT-4o Β· scikit-learn (Logistic Regression) Β· SentenceTransformers
Infrastructure: Docker Β· Docker Compose

For a deep dive into how these systems interact, see our Architecture Deep Dive.


πŸš€ Quick Start

Prerequisites

  • Docker & Docker Compose
  • Node.js 18+
  • Python 3.11+
  • OpenAI API Key
  • GitHub Personal Access Token

1. Clone the repository

git clone https://github.com/ArshVermaGit/SentinelOps-Autonomous-DevOps-AI
cd SentinelOps

2. Standardized Setup

We provide a Makefile to simplify development. Run the following command to install all dependencies and configure your environment:

make setup

This will:

  • Install root dependencies.
  • Setup the frontend (install packages, create .env.local).
  • Setup the backend (create virtual environment, install requirements, create .env).

Note: For the ultimate local setup utilizing Docker for databases and workers, see the Detailed Setup Guide.

3. Start Developing

Start both the frontend and backend with a single command:

make dev

πŸ“‚ Real-World Workflow

  1. Dashboard: See your aggregate system pulse at a glance.
  2. Repo Manager: Link your local repository folders.
  3. Local Sandbox: Get real-time risk detection as you code.
  4. PR Gatekeeper: Receive AI-scored risk profiles for every upstream change.

πŸ“ Project Structure

sentinelops/
β”œβ”€β”€ sentinelops-backend/        # FastAPI Python backend
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ api/                # REST endpoints
β”‚   β”‚   β”œβ”€β”€ core/               # Configuration & DB
β”‚   β”‚   β”œβ”€β”€ ml/                 # Risk analyzer & embeddings
β”‚   β”‚   β”œβ”€β”€ models/             # SQLAlchemy DB schemas
β”‚   β”‚   └── services/           # LLM, Digital Twin, Gatekeeper
β”‚   β”œβ”€β”€ scripts/                # Seed data & utilities
β”‚   └── tests/                  # Pytest test suite
β”‚
β”œβ”€β”€ sentinelops-frontend/       # Next.js 14 frontend
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ dashboard/          # Main dashboard
β”‚   β”‚   β”œβ”€β”€ incidents/          # Incident explorer
β”‚   β”‚   β”œβ”€β”€ repositories/       # Repo Manager & Sync
β”‚   β”‚   β”œβ”€β”€ pull-requests/      # PR gatekeeper
β”‚   β”‚   └── analytics/          # Engineering insights
β”‚   β”œβ”€β”€ components/             # Reusable UI UI
β”‚   β”œβ”€β”€ hooks/                  # Custom React hooks
β”‚   └── lib/                    # API client + utilities
β”‚
β”œβ”€β”€ Makefile                    # Standardized tooling
β”œβ”€β”€ README.md                   # You are here
β”œβ”€β”€ SETUP.md                    # Detailed Docker setup
└── ARCHITECTURE.md             # Theoretical overview

🀝 Contributing

We love contributions! SentinelOps is built to be modular and easy to extend.

  1. Check the Contributing Guide for architecture details and coding standards.
  2. Standard Commands:
    • make lint: Run all linters.
    • make format: Auto-format code.
    • make test: Run the test suite.
    • make build: Production build.

πŸ“± Connect with Me

I'd love to hear your feedback or discuss potential collaborations!

GitHub LinkedIn Twitter Gmail


Built with ❀️ by Arsh Verma

About

πŸ›‘οΈ Autonomous DevOps AI Co-Pilot. We predict failures before they happen and fix them when they do. Powered by ML & Generative AI. πŸš€πŸ›‘οΈ

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors