Skip to content
Capable ZK Agents

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

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:

  1. Scattered Data Mess – Web3 data is all over the place, siloed across chains. Finding, using, or making money from it? Painful.
  2. Privacy vs. UX Tradeoff – Data owners should control access without killing usability. Right now, it’s either locked down or free-for-all.
  3. Cross-Chain Headache – Moving data across chains is a dev nightmare. Too much friction for most users.
  4. No Easy Monetization – Creators and data providers struggle to turn their assets into revenue. No plug-and-play solutions.
  5. 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

  1. 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

  2. Data Discovery:
    Marketplace UI displays available datasets
    AI recommends relevant datasets based on user history
    Cross-chain listings aggregated through Wormhole bridges

  3. 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

  4. 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

  1. 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
    }
  2. 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
    }
  3. 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
    }
  4. 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
  5. 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

  1. Wallet Connect: Multi-chain wallet integration
  2. Credential Verification: OAuth and blockchain credential verification
  3. Data Visualization Tools: Interactive data previews and analytics

Backend Integrations

  1. AI Processing Pipeline: Data analysis and pattern recognition
  2. Cross-Chain Indexing Service: Aggregates listings across chains
  3. 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

  1. 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.

  2. 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

  1. 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.

  2. 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

Verifiable Agent Execution: We implemented zkSync's native zero-knowledge proofs to verify agent execution integrity, al...Read More
zkSync ∎

zkSync ∎

Best Consumer App Deployed on ZKsync

Instant Acquisition: zkSync's fast finality enables consumers to purchase and immediately use capabilities in seconds ra...Read More
zkSync ∎

zkSync ∎

AI Agent Superchain token trader

--Deployed Optimism Contrct Address: 0xF05B1bE94b9A48918Ac64E8Ee280e076fbE4A8C3
Optimism

Optimism

Build an Autonomous On-Chain AI Agent Using QuarkChain Super World Computer L2, EthStorage, and Web3://

For Encrypted Capability Storage: While capability metadata is hashed and stored on Avail for data availability, we use ...Read More
EthStorage

EthStorage

Best EigenLayer AVS

We implemented EigenLayer's AVS (Actively Validated Service) framework to create the cryptoeconomically secured AI capab...Read More
EigenLayer

EigenLayer

Best Eigen App

We implemented EigenLayer's AVS (Actively Validated Service) framework to create the cryptoeconomically secured AI capab...Read More
EigenLayer

EigenLayer

Integrate Story in your DApp

Attribution Tracking: We utilize Story's attribution tracking to ensure proper credit and compensation flows to capabili...Read More
Story

Story

Build Multichain Apps Using Wormhole Queries

Capable Agents + Wormhole Queries Capable Agents leverages Wormhole Queries to create a unified cross-chain AI capabilit...Read More
Wormhole network

Wormhole network

Add Midnight Zero Knowledge Proofs to your application

Private Capability Verification: Using Midnight's ZK system, AI capabilities are cryptographically verified while keepin...Read More
Midnight Network

Midnight Network

INFRASTRUCTURE + SCALABILITY

Capable Agents creates foundational infrastructure for AI capabilities by: Building Cross-Chain Infrastructure: Implemen...Read More

DeFi Innovation on Unichain

Capability Liquidity Pools: We've implemented the first marketplace for AI capabilities as liquidity pools on Uniswap, e...Read More
Uniswap

Uniswap

Discussion

Builders also viewed

See more projects on Devfolio