Working demos and integration patterns for AGEI
export CIAF_BASE_URL="http://localhost:3001" export TEST_ORG_ID="your-org-id" export AGENT_PRINCIPAL_ID="your-agent-id" export SUPABASE_SERVICE_ROLE_KEY="your-service-role-key"
cd examples python agei_end_to_end_demo.py
Complete governance workflow demonstration
Demonstrates complete AGEI workflow from agent session to HITL review to anomaly detection. Shows all major features in one 5-minute demo.
Agent anomaly detection system
Demonstrates behavioral baseline creation and 6 types of anomaly detection with automated security responses.
Policy gate evaluation patterns
Shows four-outcome gate model with specific reason codes and server-side policy evaluation.
Human-in-the-loop review workflow
Complete HITL workflow from escalation creation to reviewer notification to decision recording.
Agent tool registration and evaluation
Shows how to register agent tools with risk classifications and evaluate tool requests with automatic HITL escalation for critical tools.
Cryptographic evidence verification
Demonstrates how to verify cryptographic receipts, check hash chains, and validate evidence integrity.
Compliance evidence export
Shows how to create audit packs for regulatory compliance, including all receipts, evaluations, and decisions for a specific model or workflow.
Complete AI lifecycle demonstration
Creates sample organization, policies, gates, and complete evidence trail from dataset ingestion through model deployment to inference.
-- Run in Supabase SQL Editor \i supabase/demo_lifecycle.sql