ZK-AgentMesh
ZK-AI agents+decentralized infra + revenue sharing
Created on 26th June 2025
•
ZK-AgentMesh
ZK-AI agents+decentralized infra + revenue sharing
The problem ZK-AgentMesh solves
Verifiable AI Claims: Currently, AI models make unverifiable claims about safety, bias testing, and compliance. ZK-AgentMesh enables developers to generate cryptographic proofs of training quality and ethical compliance, allowing regulated industries like healthcare and finance to deploy AI with mathematical guarantees rather than trust-based assertions.
AI Monetization Barriers: Independent developers struggle to monetize AI agents due to complex payment infrastructure, subscription overhead, and unfair revenue sharing on centralized platforms. ZK-AgentMesh enables granular per-query payments through x402pay with automated revenue splits via CDP Wallet, allowing developers to earn income directly from usage without platform intermediaries.
Expensive AI Infrastructure: Traditional cloud deployment costs prohibit small developers from competing with big tech AI services. ZK-AgentMesh reduces infrastructure costs by 70% through Akash Network's decentralized compute while maintaining enterprise-grade capabilities through Amazon Bedrock integration.
Lack of AI Composability: Existing AI services operate in silos without ability to build upon or verify each other's capabilities. ZK-AgentMesh creates composable proof inheritance where agents can reference and build upon other agents' verified capabilities, earning royalties for original proof creators and enabling complex multi-agent workflows.
Centralized AI Control: Current AI deployment relies on centralized platforms that can restrict access, change pricing, or censor content. ZK-AgentMesh provides permissionless deployment where developers maintain full control over their AI agents while benefiting from decentralized infrastructure and crypto-native economics.
Challenges I ran into
ZK Circuit Complexity for AI Verification: Designing zero-knowledge circuits that could prove training quality and compliance without revealing model weights was extremely challenging. Traditional ZK circuits aren't designed for ML workloads, so I had to create custom circuits that could verify training datasets, bias testing, and safety protocols. I solved this by breaking down AI verification into smaller, composable proof components that could be efficiently computed within ZK constraints.
CDP Wallet Revenue Split Logic: Implementing automated revenue distribution among multiple parties (model creators, verifiers, Akash providers) through CDP Wallet smart contracts proved complex due to gas optimization and handling edge cases like failed payments. I solved this by batching multiple payments and implementing a claim-based system where contributors pull their earnings rather than automatic pushes, reducing transaction costs significantly.
Pinata IPFS Storage Coordination: Managing decentralized storage of AI training datasets, model checkpoints, and ZK proofs through Pinata while maintaining data integrity across distributed agents was challenging. Large model files often failed to pin due to network issues, and coordinating x402pay payments for storage costs required careful timing. I solved this by implementing chunked uploads for large files and creating automatic retry mechanisms with exponential backoff for failed pins.
Cross-Platform State Management: Synchronizing agent state between Akash execution environments, Pinata-stored data, on-chain proof storage, and payment settlement required careful orchestration. I built a state management system using Pinata as the primary storage layer with event-driven architecture to ensure consistency across all platform components.

Tracks Applied (6)
Best Use of x402pay + CDPWallet
Best Use of CDP Wallet
Best Use of x402pay
Multiple Prizes: AWS Challenge: Best Use of Amazon Bedrock
Amazon Web Services
Best Overall Project and Best Use of Akash
Akash Network
Best Agentic Use of Pinata
Pinata
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

