Skip to content
ZK-AgentMesh

ZK-AgentMesh

ZK-AI agents+decentralized infra + revenue sharing

Created on 26th June 2025

ZK-AgentMesh

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.

image

Tracks Applied (6)

Best Use of x402pay + CDPWallet

ZK-AgentMesh is purpose-built around x402pay and CDP Wallet, making it a perfect candidate for this track. It features a...Read More

Best Use of CDP Wallet

ZK-AgentMesh uses CDP Wallet to power automated, programmable revenue flows between developers, verifiers, and infra pro...Read More

Best Use of x402pay

ZK-AgentMesh integrates x402pay at its core, enabling pay-per-use access to AI agents. Each agent charges users per inte...Read More

Multiple Prizes: AWS Challenge: Best Use of Amazon Bedrock

ZK-AgentMesh uses Amazon Bedrock (Claude, Titan as selected by the developer) as the core LLM inference engine within co...Read More
Amazon Web Services

Amazon Web Services

Best Overall Project and Best Use of Akash

Akash Network serves as the decentralized compute infrastructure where AI model training and proof generation occur simu...Read More
Akash Network

Akash Network

Best Agentic Use of Pinata

ZK-AgentMesh uses Pinata IPFS storage to store AI agent training datasets, model checkpoints, and ZK proof artifacts in...Read More

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.

Discussion

Builders also viewed

See more projects on Devfolio