Skip to content

arf-foundation/arf-api

Repository files navigation

arf-api

ARF API Control Plane (FastAPI)

Live Demo

The API is deployed and accessible at:

Quick Start (Local Development)

  1. Install dependencies:
pip install -r requirements.txt

Note: requirements.txt installs agentic-reliability-framework directly from the project's Git repository.

  1. Set environment variables (optional, in .env):
ARF\_HMC\_MODEL – path to HMC model JSON (default: models/hmc\_model.json)
    
ARF\_USE\_HYPERPRIORS – true/false
    
API\_KEY – optional (currently not enforced)
  1. Run the app locally:
uvicorn app.main:app --reload --port 8000
  1. Health check:
GET http://localhost:8000/health

Tests

Run pytest. Tests use a temporary SQLite DB (sqlite:///./test.db) created by the test fixtures.

Notes

  • The governance endpoints use an in-process RiskEngine initialized at startup.

  • The outcome recording endpoint is not implemented in this repository and returns HTTP 501.

About

FastAPI-based control plane for Agentic Reliability Framework (ARF) — cloud governance API

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors