petter2025 commited on
Commit
047e6c3
·
verified ·
1 Parent(s): f2f31cf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +48 -11
README.md CHANGED
@@ -1,14 +1,51 @@
 
 
 
 
 
1
  ---
2
- title: Agentic Reliability Framework
3
- emoji: 🐢
4
- colorFrom: red
5
- colorTo: gray
6
- sdk: gradio
7
- sdk_version: 5.49.1
8
- app_file: app.py
9
- pinned: false
10
- license: apache-2.0
11
- short_description: Autonomous detect → diagnose → heal reliability framework bu
 
 
 
 
12
  ---
13
 
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 🧠 Agentic Reliability Framework MVP
2
+
3
+ **Author:** [Juan D. Petter](https://github.com/petter2025)
4
+ **Stack:** Python 3.10 · Gradio 5.49.1 · FastAPI · FAISS · SentenceTransformers · Hugging Face Router API
5
+
6
  ---
7
+
8
+ ## 🚀 Overview
9
+
10
+ The **Agentic Reliability Framework MVP** is an intelligent observability and self-healing system that combines:
11
+
12
+ - **Adaptive anomaly detection** (latency/error-rate monitoring)
13
+ - **AI-driven root cause analysis** powered by Hugging Face’s Inference Router
14
+ - **Persistent FAISS vector memory** for incident recall and similarity search
15
+ - **Agentic self-healing simulation** (automated reliability responses)
16
+
17
+ This MVP runs entirely in a Hugging Face Space and doubles as both:
18
+ - a **visual Gradio dashboard**, and
19
+ - a **REST API backend** (via FastAPI).
20
+
21
  ---
22
 
23
+ ## ⚙️ Features
24
+
25
+ | Module | Description |
26
+ |--------|--------------|
27
+ | **Anomaly Detection** | Adaptive thresholding + random test anomalies |
28
+ | **AI Insight Generation** | Uses `mistralai/Mixtral-8x7B-Instruct-v0.1` via Hugging Face Router |
29
+ | **Self-Healing Simulation** | Randomized corrective actions |
30
+ | **Persistent Memory** | FAISS + JSON persistence with file locks |
31
+ | **REST API** | `/add-event` route secured with an optional API key |
32
+ | **UI Dashboard** | Live anomaly visualization via Gradio Blocks |
33
+
34
+ ---
35
+
36
+ ## 🧩 Tech Stack
37
+
38
+ | Component | Purpose |
39
+ |------------|----------|
40
+ | `gradio` | Dashboard / UI |
41
+ | `fastapi` | API backend |
42
+ | `sentence-transformers` | Embeddings for FAISS |
43
+ | `faiss-cpu` | Vector memory store |
44
+ | `requests` | Hugging Face Inference Router calls |
45
+ | `filelock` | Safe concurrent persistence |
46
+
47
+ ---
48
+
49
+ ## 🧠 Architecture Flow
50
+
51
+