Architecture
Tech Stack
Agent Framework
CrewAI orchestrates multi-agent workflows with role-based task distribution.
CrewAI
Fingerprinting
MinHash LSH for fast similarity search and sentence-transformers for semantic embeddings.
datasketchNLP
Backend
FastAPI with async/await for high-performance API endpoints and web3 integration.
PythonFastAPI
Blockchain
Mantle L2 with Web3.py for on-chain provenance registry and transaction verification.
MantleEVM
Frontend
Next.js 14 with TypeScript, Tailwind CSS, and custom Japandi design system.
Next.jsTypeScript
Smart Contract
ProvenanceRegistry.sol is deployed on Mantle Sepolia and manages dataset lineage records.
Contract Address
0xefA667dB730A3aFbaE3Dbbe71bdf2268F5A627E1Key Functions
- →registerDataset(datasetHash, metadata)
- →recordDerivative(parentHash, childHash)
- →getLineage(datasetHash)
Events Emitted
- •DatasetRegistered(hash, owner)
- •DerivativeCreated(parent, child)
- •LineageUpdated(hash)
Gas Optimization
Uses SSTORE2 for metadata packing, unchecked math where safe, and batch operations for multiple derivative records.