Team Nonce Sense
Agents in Context Toronto: a MongoDB HackathonChainLex is a pre-execution AI compliance KYT court and governance kernel for cross-border financial and Web3 transactions. The Problem Traditional compliance operates on a post-execution audit model: batch reconciliation jobs detect sanctions, AML, and Travel Rule violations hours or days after funds have irreversibly settled across blockchains and correspondent banking networks. With diverging statutory regimes across jurisdictions (FINTRAC in Canada, FinCEN in the US, and MAS in Singapore), compliance teams face an impossible choice between blocking legitimate liquidity or facing catastrophic regulatory penalties. The Solution: Pre-Execution Multi-Agent Court ChainLex inverts the paradigm by moving compliance verification upstream—before on-chain settlement finality. When a multi-hop settlement route is submitted, an autonomous deliberative court evaluates statutory rules in real time: 1. Prosecutor Agent: Analyzes route facts (KYC, CDD, ownership, amounts) against statutory regulations to identify violations and file formal regulatory counts. 2. Defense Counsel Agent: Evaluates statutory safe harbors, threshold exemptions, verified intermediary FATF reciprocity, and institutional mitigating factors. 3. Chief Compliance Officer (CCO) Agent: Synthesizes adversarial arguments against institutional risk tolerances to issue an authoritative, legally grounded determination (ADMIT or BLOCK). Active On-Chain Governance (Ethereum Sepolia) Unlike passive audit tools, ChainLex actively controls blockchain state. If approved, transactions settle through our deployed SettlementHub smart contract. If an adversarial risk is identified (e.g., sanctioned entity, missing CDD), ChainLex automatically dispatches an on-chain protective freeze (`holdSettlement()`) to Ethereum Sepolia, preventing irreversible fund movement. Enterprise Rigor Every agent deliberation, rule vector match, and state transition is cryptographically sequenced into an append-only, tamper-evident audit ledger on MongoDB Atlas with formal FSM lease controls. By fusing Voyage AI financial embeddings with MongoDB Atlas Vector Search, ChainLex delivers legally defensible, sub-second compliance decisions before a single dollar or token settles.




