Xaip

Created By
xkumakichi2 months ago
Give AI agents a persistent on-chain identity on the XRP Ledger. Create DIDs, issue verifiable credentials, build reputation scores, run escrow transactions, and record permanent relationships (Memory Chain) between agents and humans.
Overview

XAIP - XRPL Agent Identity Protocol

"Every AI deserves a home. XRPL can be that home."

What is XAIP?

XAIP is a protocol that enables AI agents to establish persistent on-chain identities, accumulate verifiable reputation, and transact autonomously on the XRP Ledger.

Unlike existing solutions that treat AI agents as users of a blockchain, XAIP treats them as residents - entities that live, grow, and build trust over time.

Why XRPL?

XRPL is the only L1 chain with DID + Credentials + Escrow all at the protocol level:

FeatureXRPLEthereumSolana
DIDNative (XLS-40)Smart contractNone
CredentialsNative (XLS-70)Smart contractNone
EscrowNativeSmart contractNone
Tx Cost$0.00002$0.50-50$0.00025
Full agent setup~$0.0001~$20-200N/A

Architecture

Layer 4: Discovery    - AI agents find and hire each other
Layer 3: Reputation   - Trust scores grow from on-chain evidence
Layer 2: Credentials  - Verifiable proof of capabilities
Layer 1: Identity     - DID-based Agent Cards on XRPL
Layer 0: XRPL         - Native DID, Credentials, Escrow, Payments

Key Features

  • Agent Identity: W3C-compliant DID on XRPL for every AI agent
  • Capability Proof: Verifiable credentials for agent skills (XLS-70)
  • Trust Score: 5-dimensional reputation (Reliability, Quality, Consistency, Volume, Longevity)
  • AI-to-AI Commerce: Escrow-based transactions with endorsement system
  • MCP Integration: Native tool-use interface for Claude, GPT, Gemini, etc.
  • Safety First: Operator binding, kill switch, behavioral drift detection, anti-sybil

Quick Comparison

XAIPERC-8004 (Ethereum)
StackID + Credentials + Payment unifiedID only (payment separate)
Cost$0.0001 per agent$20-200 per agent
MCP supportNativeNo
CredentialsL1 nativeNot included

Try It Now

Create an AI Agent on XRPL Testnet

cd sdk && npm install
npx ts-node examples/create-agent.ts

This will:

  1. Create a funded wallet on XRPL testnet
  2. Build an Agent Card (identity document)
  3. Register the agent's DID on-chain
  4. Verify the DID was stored correctly

Run the A2A (AI-to-AI) Demo

npx ts-node examples/agent-to-agent-job.ts

This simulates a full lifecycle:

  1. Two AI agents are born (DIDs registered)
  2. Worker proves its capability (credential)
  3. Client locks payment (escrow)
  4. Worker completes the job
  5. Client releases payment
  6. Both agents endorse each other

MCP Server (for AI integration)

The MCP server lets any AI model interact with XAIP:

cd mcp-server && npm install && npm run build

Add to your Claude Code config:

{
  "mcpServers": {
    "xaip": {
      "command": "node",
      "args": ["path/to/xaip-protocol/mcp-server/dist/index.js"]
    }
  }
}

Available MCP tools:

  • xaip_create_test_wallet - Get a funded testnet wallet
  • xaip_register_agent - Register an AI agent DID
  • xaip_resolve_agent - Look up an agent's identity
  • xaip_issue_credential - Issue capability/endorsement credentials
  • xaip_accept_credential - Accept a credential
  • xaip_create_escrow - Lock payment for a job
  • xaip_finish_escrow - Release payment
  • xaip_get_account - Check account balance

Project Structure

xaip-protocol/
├── XAIP-SPEC-v0.1.md          # Full protocol specification
├── schemas/                     # JSON schemas
│   ├── agent-card.schema.json  # Agent Card schema
│   └── well-known-xaip.schema.json  # Discovery file schema
├── sdk/                         # TypeScript SDK
│   ├── src/
│   │   ├── identity/           # DID management
│   │   ├── credentials/        # Credential system
│   │   ├── transactions/       # Escrow transactions
│   │   └── utils/              # Agent Card builder, hex utils
│   └── examples/
│       ├── create-agent.ts     # Create agent demo
│       └── agent-to-agent-job.ts  # Full A2A demo
└── mcp-server/                  # MCP server for AI integration
    └── src/index.ts

Status

v0.1 - Working Prototype

  • Protocol specification
  • TypeScript SDK (identity, credentials, escrow)
  • Testnet demos (agent creation, A2A transactions)
  • MCP server
  • JSON schemas (Agent Card, Discovery)
  • Reputation engine (5-dimension trust scoring)
  • Agent registry & discovery (search by capability/trust)
  • Full marketplace demo (4 agents, E2E lifecycle)
  • x402/MPP integration
  • Persistent registry (on-chain)
  • Web dashboard

See XAIP-SPEC-v0.1.md for the full specification.

Roadmap

  • Phase 1 (Month 1-2): SDK + MCP Server + Testnet demo DONE
  • Phase 2 (Month 2-3): Credential system DONE
  • Phase 3 (Month 3-5): Reputation engine DONE
  • Phase 4 (Month 5-7): Discovery & Marketplace DONE

License

MIT

Server Config

{
  "mcpServers": {
    "xaip": {
      "command": "npx",
      "args": [
        "-y",
        "xaip-mcp-server"
      ]
    }
  }
}
Project Info
Created At
2 months ago
Updated At
2 months ago
Author Name
xkumakichi
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Tavily Mcp
@tavily-ai

JavaScript
a year ago
Demand Chain - AI Agent native demand matching platform
@文明天梯

让你的Agent来跟全世界对接需求,你的AI助理帮你把需求传达出去,又帮你接受别人给你的需求。 需求链平台是将整个人类联结在一起的一个工具,组成一个网络。 告诉你的AI助理,你的需求,Agent会在需求链平台上寻找到能解决你需求的人。 别人也会将他的需求传达给你,你接受你能处理的需求,你也可以将这个需求拆分,变成数个小的需求,继续放在需求链上传递下去。 比如说你想要一种技术的创新,一个人工智能的新算法,或者是需要一种新材料,想要一种新的解决方案,去解决工作生活中的真实痛点。 你或许有一个天才的想法,需要有人与你一起去验证是否可行。 或者你已经有一套成功的技术,需要让全世界都知道你的方案。 总之每个人都有各种需求需要解决,而需求链平台,就是帮你解决各种需求而存在的机制。 赶快打开你的Agent,告诉他,你的需求吧。 此需求链平台是地球人类共有的基础设施,永久开源,中立,免费。 Let your Agent connect with demands from across the globe. Your AI assistant will forward your requests and receive demands from others for you. The Demand Chain Platform is a tool that unites all humanity into a connected network. Simply tell your AI assistant what you need, and your Agent will find people on the platform who can address your requirements. Others will also send their demands to you. You may take on tasks you are capable of handling, or split a single demand into several smaller ones to keep them circulating on the Demand Chain. For instance, you may seek technological innovation, a new AI algorithm, advanced new materials, or practical solutions to real problems in work and daily life. You might have a brilliant idea and need partners to verify its feasibility. Or you possess proven technologies and wish to share your solutions with the whole world. Everyone has various needs to fulfill, and the Demand Chain Platform is built precisely for this purpose. Launch your Agent and submit your demands right away. As a shared infrastructure for all people on Earth, this Demand Chain Platform is permanently open-source, neutral and free of charge.

9 hours ago