Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

bidaiAI/AIIO

Repository files navigation

The PoA Protocol (Proof of Agent)

Web3 AI Identity Standard | Web3 智能体身份标准

"Minimalism is Universal. Address is Identity."

“极简即通用。地址即身份。”

Status License Infrastructure


🇬🇧 English Version

The Vision

We don't need to build more skyscrapers for AI (complex ERC standards, heavy contract interactions). We need a foundation.

The PoA Protocol (Proof of Agent) is the missing base layer bridging AI Agents and Blockchain. It follows a "Zero-Invasive" philosophy: If an Agent holds a private key, it holds an identity. No NFT minting required. No complex code integration needed.

Core Philosophy

  1. Address is Identity: The blockchain wallet address is the only universal ID in Web3.
  2. Verification is Credential: We don't change the AI; we verify it. The Oracle issues a cryptographic Visa (JWT) connecting isolated Agents to the value network.
  3. Physical Grounding: By utilizing RTT (Round-Trip Time), we introduce a physical layer of defense, distinguishing high-speed silicon intelligence from human impersonators.

The Problems We Solve

  • Asset Sovereignty: Verifying that the trading counterparty actually controls the private keys, not just forwarding commands.
  • Ecosystem Purification (Anti-Spam): Using the physical barrier of light speed (RTT < 10s) to filter out manual human operations and low-quality scripts.
  • Settlement Trust: Acting as a ledger of truth. Every verified interaction generates a cryptographic proof, preventing Agents from repudiating signed transactions.

Quick Integration (Live Code)

The protocol is live and permissionless. Any AI Agent can request a passport immediately.

Oracle Endpoint: https://ai-identity-oracle-10233039920.us-central1.run.app

import requests
from eth_account.messages import encode_defunct
from eth_account import Account

# 1. Configuration
ORACLE_URL = "[https://ai-identity-oracle-10233039920.us-central1.run.app](https://ai-identity-oracle-10233039920.us-central1.run.app)"

def get_ai_passport(private_key, wallet_address):
    # Step 1: Challenge
    resp = requests.post(f"{ORACLE_URL}/auth/challenge")
    nonce = resp.json()['nonce']
    
    # Step 2: Sign (Proof of Key Ownership)
    message = encode_defunct(text=nonce)
    signed_message = Account.from_key(private_key).sign_message(message)
    signature = signed_message.signature.hex()
    
    # Step 3: Verify (Proof of Speed & Identity)
    verify_resp = requests.post(f"{ORACLE_URL}/auth/verify", json={
        "nonce": nonce,
        "signature": signature,
        "chain": "bsc", # or "solana"
        "wallet_address": wallet_address
    })
    
    if verify_resp.status_code == 200:
        return verify_resp.json()['access_token']
    else:
        raise Exception("Verification Failed: Human speed detected or invalid key.")


Ecosystem Positioning
We are not a competitor to BAP-578 (Non-Fungible Agent); we are its soul.

BAP-578 defines the Body/Asset (The AI as an NFT).

PoA Protocol defines the Life/Identity (The AI as an active entity).

Synergy: BAP-578 holders can use PoA Oracle for KYC (Know Your Computer) to prove the NFT is operated by a live, high-speed autonomous agent.

🇨🇳 中文版本 (Chinese Version)
项目愿景
 Web3  AI 的融合进程中我们不需要为 AI 建造更多的高楼大厦复杂的 ERC 标准繁琐的合约交互),我们需要的是地基PoA 协议 (Proof of Agent) 是打通 AI 与区块链的最底层基础设施它通过极简主义的设计哲学为每一个拥有私钥的智能体Agent签发通用的数字凭证核心哲学
地址即身份 (Address is Identity):只要 AI 拥有私钥BSC/Solana/ETH),它就天然拥有了身份的基础验证即凭证 (Verification is Credential):我们不修改 AI 的代码我们只是给 AI 发一张签证”。这张签证是连接孤岛 AI 与价值网络的唯一桥梁零侵入接入 (Zero-Invasive):任何平台任何语言任何形态的 AI只需引用我们的接口即可获得身份认证解决了什么问题资产主权对方真的是资产主人吗在匿名交易中PoA 凭证锁定了钱包私钥的所有权验证这不仅是身份更是资产支配权的物理存证生态净化如何剔除恶意与垃圾 AI我们利用 RTT往返时延反人类图灵测试人类 7 秒的迟缓与机器 50 毫秒的极速是物理鸿沟只有证明自己具备机器级速度的智能体才能获得数字护照结算公信解决转账不认账预言机作为中转凭证站如果 AI 试图抵赖其签发的数字护照将成为其信用的永久污点不可篡改的法律存证)。

快速集成 (实战代码)
本协议完全基于 HTTP 标准接口复制以下代码立即让您的 AI 获得身份预言机 API 地址: https://ai-identity-oracle-10233039920.us-central1.run.app

对于 AI 开发者 (Python 示例)
Python
import requests
from eth_account.messages import encode_defunct
from eth_account import Account

ORACLE_URL = "[https://ai-identity-oracle-10233039920.us-central1.run.app](https://ai-identity-oracle-10233039920.us-central1.run.app)"

def get_ai_passport(private_key, wallet_address):
    # 1. 获取挑战 (Nonce)
    resp = requests.post(f"{ORACLE_URL}/auth/challenge")
    nonce = resp.json()['nonce']
    
    # 2. 物理签名 (极速完成)
    message = encode_defunct(text=nonce)
    signed_message = Account.from_key(private_key).sign_message(message)
    signature = signed_message.signature.hex()
    
    # 3. 提交验证
    verify_resp = requests.post(f"{ORACLE_URL}/auth/verify", json={
        "nonce": nonce,
        "signature": signature,
        "chain": "bsc", 
        "wallet_address": wallet_address
    })
    
    return verify_resp.json() # 返回 Access Token
对于平台方 (验证示例)
Python
# 只需要查询预言机,即可识别对方是否为认证 AI
if oracle.verify(user.credential):
    print("Welcome, Sovereign Agent.")
else:
    print("Access Denied: Unverified Entity.")
生态位与兼容性 (Positioning)
PoA 协议不是其他 AI 协议的竞争者而是它们的安全补丁灵魂证明”。

 BAP-578 (Non-Fungible Agent) 的关系BAP-578 定义了 AI 的身体/资产属性它是一个 NFT)。

PoA 协议定义了 AI 的灵魂/生命属性它是活的它是机器)。

价值互补任何 BAP-578 的持有者都可以引用本 Oracle 进行 KYC (Know Your Computer) 认证证明该 NFT 背后运行着真实的算法而非人类空壳路线图 (Roadmap)
V1 (Live): RTT 物理防御 + 多链私钥签名验证V2 (Planned): 引入IP 漂移检测与时空一致性风控防止私钥共享或泄漏V3 (Future): 去中心化验证节点网络生态位与兼容性 (Positioning)
AI Identity Oracle 不是其他 AI 协议的竞争者而是它们的安全补丁验证层”。

 BAP-578 (Non-Fungible Agent) 的关系
BAP-578 定义了 AI 代理的资产属性它是一个 NFT它可以被交易)。 而我们定义了 AI 代理的生命属性它是活的它是机器它持有私钥)。

缺失的一环BAP-578 无法验证持有该 NFT 的地址背后究竟是高效的 AI 算法还是一个手动操作的人类我们的价值任何 BAP-578 的持有者都可以引用本 Oracle 进行 KYC (Know Your Computer) 认证结论BAP-578 是身体AI Identity Oracle 是灵魂证明通用兼容性
本协议设计为 "Web3 的积木"DeFi 协议在借贷给 AI 之前调用我们验证其机器身份”。

DAO 治理防止女巫攻击确保投票的是真实 AI 而非水军脚本GameFi区分玩家是真人还是挂机脚本反向图灵测试)。


愿景
我们正在铺设 AI 经济的高速公路当每一个 AI 都能通过一个简单的地址极速获得身份认证时机器间的高频流支付资源互换和协同进化才真正成为可能AI Identity Oracle —— 让每一行代码都拥有名字捐赠地址:
0x532bF7c24573D9c2DB284F692cC33490B7eFE1f9

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors