Aegis-Observe is an SRE Copilot featuring rule-based SigNoz telemetry signal detection, LLM-selected remediations, and human-in-the-loop authorization (with an optional fully-autonomous mode), built specifically for the Agents of SigNoz Hackathon (Track 01: AI & Agent Observability).
It connects rule-based signal detection over SigNoz telemetry (MCP log-signature searches & Kubernetes status checks) with an LLM decision layer (Azure OpenAI gpt-5-mini) to select exact remediation tools. The agent executes human-authorized remediations through GitOps and Kubernetes APIs across all 5 Pillars of SigNoz Observability — Traces, Metrics, Logs, Dashboards, and Alert Rules.
Important
Submission Demonstration Artifacts
| Interactive Slack Proposal | Slack PR Authorized | GitHub Pull Request Created & Merged |
|---|---|---|
![]() |
![]() |
![]() |
| SigNoz Aegis Dashboard | SigNoz SRE Agent Metrics | Kubernetes Node Metrics |
|---|---|---|
![]() |
![]() |
![]() |
graph TB
subgraph "GitOps Architecture (Shrinet82/flagship-gitops)"
ROOT["ArgoCD Root App"]
ROOT --> MLOPS["MLOps Manifests"]
end
subgraph "Kubernetes Workload Layer (oppe2-app)"
FRAUD["Fraud Detection API<br/>(FastAPI + OTel SDK)"]
AGENT["Aegis SRE Copilot Agent<br/>(Python + OTel SDK + Socket Mode)"]
MCP["SigNoz MCP Server<br/>(Streamable HTTP)"]
end
subgraph "Observability Layer (signoz)"
DASH["SigNoz Dashboard, Alerts & ClickHouse Store<br/>(signoz_traces.signoz_index_v3)"]
end
subgraph "Human-in-the-Loop Gateway"
SLACK["Slack Workspace<br/>(Socket Mode + Block Kit)"]
GITHUB["GitHub Repository<br/>(PRs & Direct Commits)"]
end
FRAUD -->|"OTLP Traces, Metrics, Logs"| DASH
AGENT -->|"OTel Self-Tracing (Token Usage Spans)"| DASH
AGENT -->|"1. Telemetry Mining"| MCP
MCP -->|"Logs & Traces"| DASH
AGENT -->|"2. Interactive Proposal"| SLACK
SLACK -->|"3. Human Approval"| AGENT
AGENT -->|"4. Tiered Remediation"| GITHUB
GITHUB -->|"Sync Manifests"| ROOT
| Feature | Description | File Reference |
|---|---|---|
| SigNoz MCP Telemetry Mining | Mines ClickHouse log streams and trace indexes via Streamable HTTP MCP tools. | mcp_client.py |
| SigNoz Alert Rules Suite | Declarative alert rules for agent cost guardrails (llm_token_usage.json) and app 504 SLO breaches (fraud_api_504.json). |
alerts/ |
| Circuit-Breaker Locking | PENDING_INCIDENTS set locks diagnostic loops while alerts sit in Slack, preventing race conditions. |
agent.py |
| Interactive Slack Gateway | Slack Block Kit UI with Socket Mode (Approve, PR, Reject) embedding stateless payloads. |
slack_notifier.py |
| Tiered GitOps Remediation | Tier 1 instant push to main vs Tier 2 GitHub PR creation with LLM reasoning breakdown. |
gitops.py |
| Node Cordon & Drain | Direct Kubernetes API node cordoning and eviction for hardware pressure. | k8s_tools.py |
| OTel Self-Observability | Exports agent token consumption (gen_ai.usage.prompt_tokens) and tool spans to SigNoz. |
agent.py |
Note
Intentional Demo Scope
- Target Workload: Currently demo-scoped to the
fraud-detection-apideployment in namespaceoppe2-app. Log signatures (e.g.,"OOMKilled","504","drift detected"), target GitOps manifest paths, and cooldown annotations are configured specifically for this workload. - Human Authorization: Remediations are human-authorized by default via interactive Slack cards (
Approve,PR,Reject). Fully autonomous execution runs only ifSLACK_APP_TOKENis unset. - Generalizable Pattern: The underlying Rule-Based Signal Detection (SigNoz MCP) ➔ LLM Remediation Selection ➔ Human Authorization ➔ GitOps Fix ➔ Verification pattern fully generalizes; multi-service dynamic discovery represents future work.
In accordance with the SigNoz Foundry Reproducibility Requirement, casting.yaml and casting.yaml.lock are maintained at the root of the repository:
- casting.yaml — Declarative installation specification adhering strictly to the official SigNoz Foundry schema (
flavor: helm,mode: kubernetes). - casting.yaml.lock — Resolved deployment lockfile generated via
foundryctl forge -f casting.yaml.
Tested & verified using official SigNoz foundryctl v0.2.16:
# 1. Install or update foundryctl (if not already installed)
curl -fsSL https://signoz.io/foundry.sh | bash
# 2. Validate casting specification schema
foundryctl gauge -f casting.yaml
# 3. Forge resolved lockfile
foundryctl forge -f casting.yaml
# 4. Provision the SigNoz observability stack in Kubernetes
foundryctl cast -f casting.yamlVerified Command Execution Output:
foundryctl gauge -f casting.yaml➔Passed (Exit Code 0)foundryctl forge -f casting.yaml➔Lockfile Generated (Exit Code 0)foundryctl cast -f casting.yaml➔Release "signoz" deployed (Exit Code 0)
The agent natively queries SigNoz telemetry using the official SigNoz MCP Server endpoint (http://signoz-mcp.oppe2-app.svc.cluster.local:8000/mcp) via signoz_search_logs and signoz_get_trace_details. It integrates all 5 SigNoz observability pillars: Traces, Metrics, Logs, Dashboards, and Alert Rules.
In accordance with the Agents of SigNoz Hackathon rules, we explicitly declare that AI coding assistants (including ChatGPT, Claude, and Gemini Antigravity) were utilized during the development of this project for architectural brainstorming, boilerplate generation, unit test creation, and pair programming. All core logic, safety guardrails, MCP server integrations, and telemetry configurations were thoroughly audited, tested, and validated by human developers.
For in-depth architectural guides, configuration details, and query schemas, refer to the technical docs:
- 📋 PROJECT_OVERVIEW.md — Devpost Project Overview & Full Vision
- 🏗️ docs/ARCHITECTURE.md — Deep System Architecture & Telemetry Pipeline
- 💬 docs/SLACK_UX_AND_HITL.md — Interactive Slack UX, Socket Mode & Circuit Breaker Guide
- 🐙 docs/GITOPS_AND_REMEDIATION.md — GitOps Tiering & Kubernetes Remediation Engine
- 📊 docs/DASHBOARDS_AND_OBSERVABILITY.md — SigNoz Dashboards, Alerts & ClickHouse SQL Queries
- 🧠 docs/MLOPS_PIPELINE.md — Complete MLOps Pipeline, Model Experiments & Data Poisoning Guide





