File size: 1,595 Bytes
6d06d91
7fc9652
6d06d91
 
7fc9652
6d06d91
7fc9652
469fb1d
6d06d91
 
 
 
7fc9652
7e6d24f
7fc9652
7e6d24f
7fc9652
7e6d24f
7fc9652
 
 
 
 
 
 
7e6d24f
7fc9652
7e6d24f
7fc9652
7e6d24f
7fc9652
 
1ad8d1a
7fc9652
1ad8d1a
7fc9652
1ad8d1a
7fc9652
1ad8d1a
7fc9652
 
 
 
1ad8d1a
7fc9652
1ad8d1a
7fc9652
 
1ad8d1a
7fc9652
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
title: Agentic Reliability Framework (ARF) v4 API
emoji: 🤖
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 6.9.0
python_version: '3.10'
app_file: hf_demo.py
pinned: false
---

# Agentic Reliability Framework (ARF) v4 API

This Space hosts the **ARF v4 API** with an optional Gradio dashboard. It provides endpoints for risk assessment, decision history, and incident evaluation, as used by the [ARF frontend](https://arf-frontend-sandy.vercel.app).

## 🚀 Endpoints

| Method | Path | Description |
|--------|------|-------------|
| `GET` | `/health` | Health check |
| `GET` | `/api/v1/get_risk` | Current system risk (demo) |
| `GET` | `/api/v1/history` | Recent decisions |
| `POST` | `/api/v1/incidents/evaluate` | Evaluate an incident (placeholder) |
| `POST` | `/api/v1/feedback` | Record outcome of a decision |

Interactive API documentation is available at `/docs` (FastAPI Swagger UI).

## 🧪 Try It

You can test the API directly using the Swagger UI:  
[https://a-r-f-agentic-reliability-framework-api.hf.space/docs](https://a-r-f-agentic-reliability-framework-api.hf.space/docs)

Or use the Gradio dashboard (mounted at the root) for a visual demo.

## 🔧 Local Development

To run this Space locally:

```bash
pip install -r requirements.txt
python hf_demo.py
```

The app will be available at http://localhost:7860.

📚 About ARF
------------

Agentic Reliability Framework is an open‑source advisory engine for cloud infrastructure governance, powered by Bayesian inference. Learn more at [github.com/arf-foundation](https://github.com/arf-foundation).