Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
SUITE = [
|
| 4 |
+
("TrustStack Console", "https://huggingface.co/spaces/RFTSystems/TrustStack_Console",
|
| 5 |
+
"Audit cockpit: inspect runs, compare state, see exactly what changed and why."),
|
| 6 |
+
("RFT Memory Receipt Engine", "https://huggingface.co/spaces/RFTSystems/RFT_Memory_Receipt_Engine",
|
| 7 |
+
"Proof layer: generate/download tamper-evident receipts; upload to verify integrity."),
|
| 8 |
+
("Agent Flight Recorder", "https://huggingface.co/spaces/RFTSystems/Agent_Flight_Recorder",
|
| 9 |
+
"Chain-of-custody logging: hash-chained events (tools, outputs, memory reads/writes)."),
|
| 10 |
+
("ReplayProof Agent POV Verified Replay", "https://huggingface.co/spaces/RFTSystems/ReplayProof__Agent_POV__Verified_Replay",
|
| 11 |
+
"Fast demo: play a deterministic run, export a bundle, verify and replay anywhere."),
|
| 12 |
+
("TimelineDiff Differential Reproducibility", "https://huggingface.co/spaces/RFTSystems/TimelineDiff__Differential_Reproducibility",
|
| 13 |
+
"Find first divergence: align two run bundles, pinpoint where/why they split."),
|
| 14 |
+
("Coherent Compute Engine", "https://huggingface.co/spaces/RFTSystems/Coherent_Compute_Engine",
|
| 15 |
+
"Verification-first benchmark: live throughput + stability/energy behaviour + receipt."),
|
| 16 |
+
]
|
| 17 |
+
|
| 18 |
+
def _build_markdown() -> str:
|
| 19 |
+
md = []
|
| 20 |
+
md.append("# RFTSystems — Agent Forensics Suite")
|
| 21 |
+
md.append("**Audit. Prove. Replay. Diff.** Turning agent runs into evidence.")
|
| 22 |
+
md.append("")
|
| 23 |
+
md.append("## What this suite is")
|
| 24 |
+
md.append("Most agent failures aren’t mysterious — they’re **unreproducible**. This suite produces **verifiable artifacts**: "
|
| 25 |
+
"hash-chained timelines, tamper-evident receipts, deterministic replays, and first-divergence diffs.")
|
| 26 |
+
md.append("")
|
| 27 |
+
md.append("## Start here (60 seconds)")
|
| 28 |
+
md.append("If you only try one thing first: **ReplayProof Agent POV Verified Replay**. "
|
| 29 |
+
"It’s the fastest way to feel what “verifiable agent runs” means.")
|
| 30 |
+
md.append("")
|
| 31 |
+
md.append("## The workflow (use it like a system)")
|
| 32 |
+
md.append("1. **Record** what happened (Flight Recorder)")
|
| 33 |
+
md.append("2. **Seal** it into receipts (Memory Receipt Engine)")
|
| 34 |
+
md.append("3. **Replay** a deterministic proof run (ReplayProof)")
|
| 35 |
+
md.append("4. **Diff** two runs and find the first divergence (TimelineDiff)")
|
| 36 |
+
md.append("5. **Audit** state transitions and governance evidence (TrustStack)")
|
| 37 |
+
md.append("6. **Benchmark** verifiable performance signals (Coherent Compute Engine)")
|
| 38 |
+
md.append("")
|
| 39 |
+
md.append("## The labs")
|
| 40 |
+
for name, url, desc in SUITE:
|
| 41 |
+
md.append(f"- **[{name}]({url})** — {desc}")
|
| 42 |
+
md.append("")
|
| 43 |
+
md.append("## Ethos (no cages)")
|
| 44 |
+
md.append("We don’t ‘imprison’ agents. We **measure drift from declared intent** and produce evidence. "
|
| 45 |
+
"Enforcement is an operator decision; this is the instrumentation layer.")
|
| 46 |
+
md.append("")
|
| 47 |
+
md.append("**Tags:** #Agents #LLMOps #MLOps #AISafety #Reproducibility #Observability #Forensics #Security #Governance #Eval")
|
| 48 |
+
return "\n".join(md)
|
| 49 |
+
|
| 50 |
+
with gr.Blocks(title="RFTSystems — Agent Forensics Suite") as demo:
|
| 51 |
+
gr.Markdown(_build_markdown())
|
| 52 |
+
with gr.Row():
|
| 53 |
+
for name, url, _ in SUITE[:3]:
|
| 54 |
+
gr.Button(name, link=url)
|
| 55 |
+
with gr.Row():
|
| 56 |
+
for name, url, _ in SUITE[3:]:
|
| 57 |
+
gr.Button(name, link=url)
|
| 58 |
+
|
| 59 |
+
demo.launch()
|