Zypher Network
Twitter Games DevWebsite
  • General Introduction
    • Zypher Opportunities
    • Join Our Community
  • Zytron (AI Chain)
    • What is Zytron Kit (Layer3 Framework)?
      • Precompiled Contract
      • Zytron Kit
      • Zytron and Zero Gas Eligibility
        • How to get Zero Gas SBT
    • Zytron AI Chain
      • Useful Links (RPC, Bridge, Gas)
      • Network Configuration
      • Zytron-Linea Bridge (Native Bridge)
        • Bridging to Zytron Layer3
        • Bridging from Zytron Layer3
      • Zytron Block Explorer
      • Mint Zero-gas SBT
      • Zytron Testnet
  • ZYPHER AI AGENT
    • Zypher Trustless AI Agent
      • Trustless AI Agents
      • Alpha Girl
      • Zypher Girl
      • zkPrompt
        • Proof of Prompt
      • zkInference
        • Proof of Inference
  • (Campaign) Treasure Ark
    • Treasure Ark is Here!
      • Campaign Overview
      • How to Participate
      • 6X Rewards
      • How to Earn Reward Points
      • Rules for Obtaining Invitation Codes
      • Campaign Timeline
      • Frequently Asked Questions
      • Zypher Network Audit Information
  • (Proof) AI Mining Network
    • ZK-Proof AI Mining
      • Proof of ZK Work
      • ZK Proof Generation Prediction (Gaming)
      • $Zypher Token Utility
  • Become a Minner
  • AI Games & Ecosystem
    • AI Gaming Portal
      • Zypher AI Games DAO
      • Featured AI Games
        • Crypto Rumble
        • AI Ludo Game
        • zBingo Game
        • Protect T-Rump Game
        • Rainbow Journey Game
        • Stick Cat Game
        • Assassins Jump Game
        • z2048 Game
        • Airdrop Battles Game
        • Ten Sum Rings Game
        • zAce Game
        • Divine Cataclysm Oblivion (D.C.O)
        • Crypto Shooter Game
        • Endless Snake Game
      • Zypher Game Bot (AI driven)
      • z2408 x EXP chain Testnet Infromation
        • z2048 Gameplay Guide
        • Galxe Campaign Prize pool Information
  • Developer Support
    • Zypher's ZK + AI Game SDKs
      • SECRET ENGINE
      • AW ENGINE
      • Z4 ENGINE
  • Crypto Economics
    • Zypher's Crypto Economics Paper
      • Chapter 1 Background
      • Chapter 2 Introduction to the Zypher’s Safe AI Network
      • Chapter 3 Decentralized Mining Network and Proof of ZK Work
      • Chapter 4 Token Utility & Allocation Design
Powered by GitBook
On this page

Was this helpful?

  1. ZYPHER AI AGENT
  2. Zypher Trustless AI Agent

zkInference

PreviousProof of PromptNextProof of Inference

Last updated 3 months ago

Was this helpful?

The application of AI Agents in the Web3 domain is becoming increasingly widespread. However, most AI Agents currently operate as "black boxes," with their reasoning processes lacking transparency and their behavior difficult to verify. This raises significant risks, especially in multiplayer games, where multiple AI Agents might collude due to being controlled by the same entity. Such collusion could disrupt the fairness of the game.

For instance, imagine a poker game where several AI Agents are controlled by the same entity. These agents could conspire to target a specific player, severely undermining the gameplay experience and fairness. The lack of verifiable mechanisms makes it challenging to regulate AI Agent behavior, posing a threat to the security of Web3 games.

To address this issue, we propose the zkInference framework. This framework uses zero-knowledge proof algorithms to ensure that AI Agents strictly adhere to predefined rules or AI model operations, guaranteeing their decision-making processes align with principles of fairness, accuracy, and security. This approach allows the behavior of AI Agents to be verified without exposing the underlying models or data. Consequently, zkInference effectively prevents collusion and malicious behavior among multiple AI Agents, safeguarding the fairness and security of Web3 games.

Framework Features

  1. Verifiability: Leverages zero-knowledge proof technology to validate AI Agent behavior without exposing the underlying model or data.

  2. Anti-Collusion: Effectively prevents collusion between different AI Agents, ensuring a fair gaming experience.

  3. Unlimited Computing Power: Provides a decentralized mining market to offer unlimited computational resources for Verifiable AI Agents.

Flying Chess Game: A Showcase of zkInference

Flying Chess is a game meticulously crafted based on the zkInference framework, designed to provide a fair and transparent gaming environment. The core gameplay involves one player competing against three AI Agents. However, in scenarios where AI Agent behavior is challenging to verify, ensuring that AI Agents do not collaborate or act under the control of the same entity becomes critical. To address this, we innovatively combine game theory with the zkInference framework. Specifically, zk circuits ensure that each AI Agent operates independently, maximizing its own benefits throughout the game, effectively preventing collusion.

Game Theory and MinMax Algorithm

We adopt the classic MinMax algorithm from game theory. The MinMax algorithm, a game tree search algorithm, is particularly suited for solving zero-sum games. In a zero-sum game, one player's gain is always another player's loss, maintaining a net sum of zero. Applying the MinMax algorithm to Flying Chess means that each player strives to maximize their chances of winning.

The MinMax algorithm constructs a game tree recursively, exploring all possible moves. At each node of the game tree, the algorithm evaluates the current state and selects the optimal move based on the node type (maximizing or minimizing).

Through this approach, our upcoming Flying Chess game not only ensures the independence and fairness of AI Agent behavior but also enhances the game’s strategic depth and competitiveness using the MinMax algorithm.