How aiyiyi121/sxdevops works
SxDevOps is an operations platform that combines observability evidence, event history, task execution, approvals, and a controlled AIOps agent. The main user journey starts in the Vue workbench, reaches Django APIs (or Channels for interactive shells), and returns diagnostic evidence or a governed action result. The README documents the agent’s preflight/confirmation and feedback loop, plus major product branches. Source excerpts confirm selected task, event, RBAC, Kubernetes, and cloud-service responsibilities; unsampled subsystem links are included only where the README explicitly documents them.
Main entry points: aiops Agent and tools · urls.py Django API · host_tasks.py Host task execution · main.js Vue workbench
Components 22
User workbench
- Vue workbench
frontend/src/main.js - Django API
backend/sxdevops/urls.py - Interactive channels
backend/ops/routing.py
AIOps agent
- Action routing
backend/aiops/action_handlers.py - Agent and tools
backend/aiops - Preflight and confirmation
backend/aiops - Agent audit
backend/aiops
Evidence and events
- Observability
backend/ops/observability_views.py - Alerts
backend/ops/alerting.py - Event center
backend/eventwall/services.py - Configuration inventory
backend/cmdb/models.py
Operations and workflows
- Host task execution
backend/ops/host_tasks.py - Task schedules
backend/ops/host_task_schedules.py - Kubernetes management
backend/ops/k8s_views.py - Deployments and approvals
backend/ops/models.py - SQL audit
backend/sqlaudit - Multicloud inventory
backend/multicloud/services.py
Access and records
- RBAC
backend/rbac/services.py - Operations audit
backend/ops/models.py
Other components
- Operator
- Infrastructure and telemetry
- Redis
Connections 27
- Operator → Vue workbench: uses
README.md - Vue workbench → Django API: calls APIs
README.md - Vue workbench → Interactive channels: opens sessions
README.md - Django API → Action routing: dispatches requests
README.md - Action routing → Agent and tools: selects mode
README.md - Agent and tools → Preflight and confirmation: preflights actions
README.md - Preflight and confirmation → Agent and tools: permits tool use
README.md - Agent and tools → Observability: queries evidence
README.md - Agent and tools → Event center: queries events
README.md - Agent and tools → Host task execution: queries tasks
README.md - Agent and tools → Agent audit: records calls
README.md - Preflight and confirmation → RBAC: checks permissions
README.md - Preflight and confirmation → Host task execution: submits confirmed work
README.md - Host task execution → Event center: records outcomes
backend/ops/host_tasks.py - Host task execution → Infrastructure and telemetry: executes remotely
README.md - Task schedules → Host task execution: triggers tasks
backend/ops/host_task_schedules.py - Kubernetes management → Infrastructure and telemetry: manages clusters
README.md - Observability → Infrastructure and telemetry: reads telemetry
README.md - Alerts → Observability: contributes evidence
README.md - Django API → Deployments and approvals: handles workflows
README.md - Django API → SQL audit: handles SQL review
README.md - Multicloud inventory → Configuration inventory: syncs configuration items
backend/multicloud/services.py - Configuration inventory → Infrastructure and telemetry: represents infrastructure
README.md - Django API → RBAC: enforces access
README.md - RBAC → Operations audit: supports audit trail
README.md - Interactive channels → Redis: uses channel layer
README.md - Event center → Operations audit: retains operations history
README.md