How umanagalla27/aegis-enterprise-ai works
Aegis is an AIOps/SRE platform whose user-facing workflow accepts telemetry or an incident through FastAPI, detects anomalies or diagnoses root causes, and can route remediation through a stateful agent workflow with security checks and human approval. Separate capabilities provide hybrid and topology-aware retrieval, model foundations, and a telemetry-to-reliability-marts ETL. The README documents additional streaming and evaluation features. Some links below rely on README-level architecture claims; unsampled implementations and integrations are not inferred beyond those claims.
Main entry points: main.py FastAPI backend · graph.py Agent workflow · hybrid_retriever.py Hybrid retrieval · daily_sre_etl.py SRE ETL orchestration
Components 30
Serving and AIOps
- FastAPI backend
src/api/main.py - Control center
src/api/dashboard.py - Anomaly engine
src/observability/anomaly_engine.py - Prometheus metrics
src/observability/prometheus_exporter.py - OpenTelemetry
src/observability/otel_instrumentation.py - MLflow tracking
src/observability/mlflow_tracker.py
Agent and Security
- Agent workflow
src/agents/graph.py - Workflow state
src/agents/state.py - Incident diagnosis
src/agents/rca_agent.py - MCP tools
src/mcp/server.py - Injection defense
src/security/injection_defense.py - PII redaction
src/security/presidio_redactor.py - Tool authorization
src/security/tool_allowlist.py
Retrieval and Models
- Hybrid retrieval
src/rag/hybrid_retriever.py - Topology retrieval
src/rag/graph_rag.py - Document chunking
src/rag/chunking.py - Query rewriting
src/rag/query_rewriter.py - Multimodal retrieval
src/rag/multimodal_rag.py - Transformer foundations
src/models/transformer_scratch.py - Prompt engine
src/models/prompt_engine.py - LLM serving
src/models/vllm_serving.py
Data Platform
- Kafka producer
data_platform/kafka/producer.py - Kafka consumer
data_platform/kafka/consumer.py - Telemetry aggregation
data_platform/spark/batch_aggregator.py - SRE ETL orchestration
data_platform/airflow/dags/daily_sre_etl.py - Reliability marts
data_platform/dbt_project/dbt_runner.py
Evaluation
- RAG evaluation
eval/ragas_evaluator.py - Agent evaluation
eval/agent_evaluator.py - AIOps evaluation runner
eval/run_aiops_eval.py
Other components
- SRE operator
Connections 37
- SRE operator → FastAPI backend: submits incident
- FastAPI backend → Control center: serves dashboard
src/api/main.py - FastAPI backend → Anomaly engine: checks telemetry
src/api/main.py - FastAPI backend → Incident diagnosis: requests diagnosis
src/api/main.py - FastAPI backend → Injection defense: inspects text
src/api/main.py - FastAPI backend → PII redaction: redacts PII
src/api/main.py - FastAPI backend → Prometheus metrics: exposes metrics
src/api/main.py - FastAPI backend → OpenTelemetry: instruments requests
- FastAPI backend → MLflow tracking: tracks experiments
- FastAPI backend → Agent workflow: starts workflow
- Agent workflow → Workflow state: updates state
src/agents/graph.py - Agent workflow → Injection defense: checks prompts
src/agents/graph.py - Agent workflow → PII redaction: redacts input
src/agents/graph.py - Agent workflow → Tool authorization: authorizes tools
src/agents/graph.py - Agent workflow → MCP tools: calls tools
src/agents/graph.py - Agent workflow → Incident diagnosis: diagnoses incident
- MCP tools → Hybrid retrieval: searches runbooks
src/mcp/server.py - MCP tools → Topology retrieval: queries topology
src/mcp/server.py - FastAPI backend → Hybrid retrieval: serves RAG
- FastAPI backend → Topology retrieval: serves topology
- Document chunking → Hybrid retrieval: provides chunks
- Query rewriting → Hybrid retrieval: rewrites queries
- Multimodal retrieval → Hybrid retrieval: extends retrieval
- Transformer foundations → LLM serving: supports serving
- Prompt engine → LLM serving: prepares prompts
- SRE operator → Kafka producer: emits telemetry
- Kafka producer → Kafka consumer: streams events
data_platform/kafka/consumer.py - Kafka consumer → Telemetry aggregation: feeds batches
- FastAPI backend → SRE ETL orchestration: triggers ETL
src/api/main.py - SRE ETL orchestration → Telemetry aggregation: aggregates telemetry
data_platform/airflow/dags/daily_sre_etl.py - SRE ETL orchestration → Reliability marts: runs models
data_platform/airflow/dags/daily_sre_etl.py - Telemetry aggregation → SRE ETL orchestration: returns metrics
data_platform/airflow/dags/daily_sre_etl.py - FastAPI backend → RAG evaluation: runs evaluation
src/api/main.py - FastAPI backend → AIOps evaluation runner: runs benchmark
src/api/main.py - AIOps evaluation runner → Incident diagnosis: evaluates diagnosis
eval/run_aiops_eval.py - AIOps evaluation runner → Anomaly engine: evaluates detection
eval/run_aiops_eval.py - Agent evaluation → Agent workflow: benchmarks workflow