Giza ZKML Agent Visualization
Overview
Giza is a protocol for deploying verifiable AI agents on-chain using Zero-Knowledge Machine Learning (ZKML). This skill covers how Giza agents work, proof verification, and how to interpret the visualization dashboards in SperaxOS.
Key Concepts
Zero-Knowledge Machine Learning (ZKML)
ZKML allows AI model inferences to be verified on-chain without revealing the model weights or input data. This creates trustless AI — anyone can verify that a model produced a specific output from a specific input, without needing to trust the model operator.
Giza Agents
On-chain AI agents deployed via the Giza protocol. Each agent:
- Runs a specific ML model (e.g., price prediction, risk scoring)
- Generates ZKML proofs for each inference
- Can be deployed on multiple chains (Starknet, Ethereum, Arbitrum, etc.)
- Has a verifiable track record of accuracy and performance
Proof Systems
Giza supports multiple proof backends:
- Cairo — Native to Starknet, fastest proving time for StarkNet deployments
- Noir — Aztec Labs' DSL for ZK circuits, good for Ethereum L1
- RISC Zero — General-purpose zkVM, supports any computation
SperaxOS Visualization Tool
Agent Overview Dashboard
Shows all deployed Giza agents with:
- Status indicators — Green (active), Yellow (pending), Red (inactive)
- Summary stats — Total active agents, inference count, proof count
- Agent rows — Name, chain, inference count, proof count per agent
Proof History View
Visualizes ZKML proof verification pipeline:
- Verification rate bar — Color-coded segments showing verified/pending/failed ratios
- Proof rows — Individual proofs with status badge, proof type (Cairo/Noir/RISC0), chain, duration, and timestamp
- Use this to monitor proof verification health and identify failures
Model Performance Dashboard
Detailed metrics for a specific AI model:
- Accuracy gauge — Green >95%, Yellow 85-95%, Red <85%
- Inference latency — Average time per inference
- Proof generation time — Average time to generate ZKML proof
- Inference volume sparkline — 30-day trend of inference activity
- Chain deployment tags — Which chains the model is deployed on
Protocol Analytics
Protocol-wide dashboard with:
- Hero stats — Total agents, active agents, total proofs, 24h proof count
- Chain distribution bars — Horizontal bars showing agent and proof distribution per chain
- Dual trend chart — Overlapping proof volume (solid purple) and agent count (dashed green) trends
Common Use Cases
- "Show me Giza AI agents" → Agent Overview
- "What's the proof verification rate?" → Proof History
- "How is model X performing?" → Model Performance (requires modelId)
- "Give me Giza protocol stats" → Protocol Analytics
- "Which chains have the most Giza agents?" → Protocol Analytics chain breakdown
Technical Details
API Integration
The tool connects to api.gizatech.xyz/api/v1 with:
- Automatic retry with exponential backoff (2 retries)
- 12-second timeout per request
- Graceful fallback to curated demo data when API is unavailable
Data Freshness
- Agent and proof data is fetched in real-time from Giza's API
- Demo data is deterministically generated for consistent visualization when API is down
- Proof timestamps and agent creation dates reflect actual on-chain activity
Resources
1---2name: giza-zkml-visualization3description: Giza ZKML Agent Visualization — guide covering key concepts, implementation patterns, and best practices.4license: MIT5---67# Giza ZKML Agent Visualization89## Overview10Giza is a protocol for deploying verifiable AI agents on-chain using Zero-Knowledge Machine Learning (ZKML). This skill covers how Giza agents work, proof verification, and how to interpret the visualization dashboards in SperaxOS.1112## Key Concepts1314### Zero-Knowledge Machine Learning (ZKML)15ZKML allows AI model inferences to be verified on-chain without revealing the model weights or input data. This creates **trustless AI** — anyone can verify that a model produced a specific output from a specific input, without needing to trust the model operator.1617### Giza Agents18On-chain AI agents deployed via the Giza protocol. Each agent:19- Runs a specific ML model (e.g., price prediction, risk scoring)20- Generates ZKML proofs for each inference21- Can be deployed on multiple chains (Starknet, Ethereum, Arbitrum, etc.)22- Has a verifiable track record of accuracy and performance2324### Proof Systems25Giza supports multiple proof backends:26- **Cairo** — Native to Starknet, fastest proving time for StarkNet deployments27- **Noir** — Aztec Labs' DSL for ZK circuits, good for Ethereum L128- **RISC Zero** — General-purpose zkVM, supports any computation2930## SperaxOS Visualization Tool3132### Agent Overview Dashboard33Shows all deployed Giza agents with:34- **Status indicators** — Green (active), Yellow (pending), Red (inactive)35- **Summary stats** — Total active agents, inference count, proof count36- **Agent rows** — Name, chain, inference count, proof count per agent3738### Proof History View39Visualizes ZKML proof verification pipeline:40- **Verification rate bar** — Color-coded segments showing verified/pending/failed ratios41- **Proof rows** — Individual proofs with status badge, proof type (Cairo/Noir/RISC0), chain, duration, and timestamp42- Use this to monitor proof verification health and identify failures4344### Model Performance Dashboard45Detailed metrics for a specific AI model:46- **Accuracy gauge** — Green >95%, Yellow 85-95%, Red <85%47- **Inference latency** — Average time per inference48- **Proof generation time** — Average time to generate ZKML proof49- **Inference volume sparkline** — 30-day trend of inference activity50- **Chain deployment tags** — Which chains the model is deployed on5152### Protocol Analytics53Protocol-wide dashboard with:54- **Hero stats** — Total agents, active agents, total proofs, 24h proof count55- **Chain distribution bars** — Horizontal bars showing agent and proof distribution per chain56- **Dual trend chart** — Overlapping proof volume (solid purple) and agent count (dashed green) trends5758## Common Use Cases59601. **"Show me Giza AI agents"** → Agent Overview612. **"What's the proof verification rate?"** → Proof History623. **"How is model X performing?"** → Model Performance (requires modelId)634. **"Give me Giza protocol stats"** → Protocol Analytics645. **"Which chains have the most Giza agents?"** → Protocol Analytics chain breakdown6566## Technical Details6768### API Integration69The tool connects to `api.gizatech.xyz/api/v1` with:70- Automatic retry with exponential backoff (2 retries)71- 12-second timeout per request72- Graceful fallback to curated demo data when API is unavailable7374### Data Freshness75- Agent and proof data is fetched in real-time from Giza's API76- Demo data is deterministically generated for consistent visualization when API is down77- Proof timestamps and agent creation dates reflect actual on-chain activity7879## Resources80- [Giza GitHub](https://github.com/gizatechxyz)81- [Giza Documentation](https://docs.gizatech.xyz)82- [ZKML Explained](https://docs.gizatech.xyz/concepts/zkml)