Your first governed agent.
In 5 minutes.

No GPU. No cloud account. Just a terminal and pip install maref.

1

Install

MAREF is a pure Python package. Zero native dependencies, zero GPU required. It installs on any modern Python 3.11+ environment — macOS, Linux, Windows, or container.

Install MAREF
pip install maref

That's it. One command. ~2 MB download.

2

Diagnose

Run the built-in diagnosis to verify your environment is ready. It checks Python version, detects your OS, tests SM4-GCM cryptography, and confirms all subsystems report healthy.

Run diagnosis
maref diagnose

Expect green ✅ across all checks. If something's missing, the diagnosis tells you exactly what to fix.

3

Launch the Demo

The demo starts a local web UI where you can watch governance decisions happen in real time. No configuration needed — it runs with sensible defaults and a toy agent so you can see every layer working before you connect your own agents.

Launch demo
maref demo --port 8080

Open http://localhost:8080 in your browser. The dashboard shows the 8-layer defense pipeline, trust scores, and audit log — all live.

4

Check Governance Status

See exactly how MAREF is protecting your system — which defense layers are active, current trust scores, and recent governance decisions.

Check governance status
maref status

The output shows each defense layer's state, recent BLOCK/ALLOW decisions, and the current Lyapunov convergence indicator.

Requirements

Python
3.11+
OS
macOS 13+ · Linux · Windows 11
RAM
512 MB (idle) · 2 GB (production)
Disk
~15 MB (package)
GPU
Not required
Dependencies
Zero native — pure Python