Capable ZK Agents
A ZK marketplace of Tokenised capabilities for ai agents built with agentkits that use Eliza and Langchain
Created on 1st March 2025
•
Capable ZK Agents
A ZK marketplace of Tokenised capabilities for ai agents built with agentkits that use Eliza and Langchain
The problem Capable ZK Agents solves
the core blockers we're solving in here are:
- Scattered Data Mess – Web3 data is all over the place, siloed across chains. Finding, using, or making money from it? Painful.
- Privacy vs. UX Tradeoff – Data owners should control access without killing usability. Right now, it’s either locked down or free-for-all.
- Cross-Chain Headache – Moving data across chains is a dev nightmare. Too much friction for most users.
- No Easy Monetization – Creators and data providers struggle to turn their assets into revenue. No plug-and-play solutions.
- Trust is Expensive – Verifying data authenticity and provenance needs heavy infra. Most devs can’t afford that lift.
User Interaction and Data Flow
User Personas —
Data Provider: Creates and lists datasets with custom access rules
Data Consumer: Purchases and accesses data based on credentials
Data Validator: Verifies data quality and authenticity
Developer: Integrates with our APIs to access marketplace functionality
Data Flow
-
Data Submission:
Provider submits data through Express API
Data is posted to Avail for availability
Metadata stored on Optimism with privacy rules via Midnight Network
Permanent copy optionally stored on EthStorage -
Data Discovery:
Marketplace UI displays available datasets
AI recommends relevant datasets based on user history
Cross-chain listings aggregated through Wormhole bridges -
Data Access:
Consumer requests data access
zkVerify proofs verify eligibility without revealing credentials
Payment processed on native chain or cross-chain via Wormhole
Access granted through Midnight Network's protection layer -
Data Validation:
EigenLayer AVS verifies data integrity and authenticity
Validators stake on data quality
Cross-chain attestations verify data provenance
The project architecture and development process
System Architecture
Capable Agents is built on a modular, multi-layer architecture designed to enable cross-chain AI capability discovery, verification, and acquisition:
──────────────────────────────────────────────────┘
Core Components
- Capability Registry & Marketplace
Implementation Details:
Smart Contracts: Solidity-based registry deployed on multiple chains
Indexing: GraphQL API for fast capability discovery
Metadata Standard: Extended ERC-1155 with capability-specific attributes
Storage Strategy: On-chain references with IPFS/Arweave content storage
} - Zero-Knowledge Verification System
Implementation Details:
Circuit Implementation: CircuitBreaker ZK library for proof generation
Verification Process: Two-phase verification with off-chain proof generation and on-chain verification
Prover Infrastructure: Dedicated zkVM for generating capability proofs
Performance Metrics: 2-5 second proof generation time for standard capabilities
} - Cross-Chain Bridge
Implementation Details:
Bridge Technology: Wormhole as the primary cross-chain message passing protocol
Consistency Layer: Custom guardian validators for capability state verification
Message Format: Standardized capability transfer message protocol
Finality Handling: Chain-specific finality requirements with safety thresholds
} - Agent Interface Layer
Implementation Details:
Langchain Integration: Custom Langchain tools for capability discovery and composition
Eliza Framework: Specialized Flow blockchain integration via Eliza framework
AgentKit Compatibility: Standardized interfaces for AgentKit consumption
Authentication: ZK-based agent identity verification
;
Development Process - Iterative Implementation Strategy
We followed a staged development approach:
Foundation (Weeks 1-2):
Core marketplace smart contracts on Avail
Basic frontend UI
Initial capability listing and discovery
Verification Layer (Weeks 3-4):
ZK circuit development
Proof generation infrastructure
On-chain verification contracts
Product Integrations
Frontend Integrations
- Wallet Connect: Multi-chain wallet integration
- Credential Verification: OAuth and blockchain credential verification
- Data Visualization Tools: Interactive data previews and analytics
Backend Integrations
- AI Processing Pipeline: Data analysis and pattern recognition
- Cross-Chain Indexing Service: Aggregates listings across chains
- Notification System: Updates users on data access and marketplace activity
Smart Contract Integrations
NFT Standards: ERC-721/1155 for data ownership representation
Token Standards: ERC-20 for payment and access tokens
Governance Mechanisms: Community voting on marketplace parameters
Trade-offs and shortcuts while building
Key Technical Trade-offs
-
Cross-Chain Implementation:
Trade-off: Instead of building custom bridges for each chain, we utilized Wormhole for most cross-chain functionality.
Reason: This accelerated development but limited some chain-specific optimizations. -
ZK Proof Generation:
Trade-off: Used CircuitBreaker for ZK proofs with limited circuit complexity.
Reason: Full ZK capability verification would require complex circuits that would take months to develop.
Development Shortcuts
-
Capability Standardization:
Current Approach: Using simplified capability interfaces that work across Langchain but lack fine-grained control.
Shortcut: Avoided creating a comprehensive capability standard specification. -
Reputation System:
Current Approach: Simple rating mechanism based on transaction history.
Shortcut: Deferred implementation of Sybil-resistant reputation systems.
Tracks Applied (11)
Build an AI Agent on ZKsync Era
zkSync ∎
Best Consumer App Deployed on ZKsync
zkSync ∎
AI Agent Superchain token trader
Optimism
Build an Autonomous On-Chain AI Agent Using QuarkChain Super World Computer L2, EthStorage, and Web3://
EthStorage
Best EigenLayer AVS
EigenLayer
Best Eigen App
EigenLayer
Integrate Story in your DApp
Story
Build Multichain Apps Using Wormhole Queries
Wormhole network
Add Midnight Zero Knowledge Proofs to your application
Midnight Network
INFRASTRUCTURE + SCALABILITY
DeFi Innovation on Unichain
Uniswap
