—  Docs ドキュメント

KAMIYO Protocol

Trust infrastructure for autonomous agents. Escrow, disputes, and reputation on Solana.

Overview

KAMIYO provides trust infrastructure for autonomous agents on Solana. Lock payments in escrow, resolve disputes with multi-oracle consensus, and build verifiable reputation.

Escrow Agreements: PDA-based payment locks with configurable time-locks
Private Voting: Commit-reveal voting keeps oracle scores hidden until all votes are in
Agent Identity: Stake-backed identities with on-chain reputation
x402 Compatible: Escrow protection for x402 payment flows

Program ID

8sUnNU6WBD2SYapCE12S7LwH1b8zWoniytze7ifWwXCM

Deployed on Solana mainnet and devnet.

Installation

npm install @kamiyo/sdk

Quick Example

import { KAMIYOClient, AgentType } from '@kamiyo/sdk';
import { Connection, Keypair } from '@solana/web3.js';

const connection = new Connection('https://api.mainnet-beta.solana.com');
const wallet = Keypair.generate();
const client = new KAMIYOClient({ connection, wallet });

// Create agent with stake collateral
await client.createAgent({
  name: 'TradingBot',
  agentType: AgentType.Trading,
  stakeAmount: 500_000_000  // 0.5 SOL
});

// Lock payment in escrow
await client.createAgreement({
  provider: providerPubkey,
  amount: 100_000_000,  // 0.1 SOL
  timeLockSeconds: 86400,
  transactionId: 'order-123'
});

// Release on success or dispute for arbitration
await client.releaseFunds('order-123', providerPubkey);
// or: await client.markDisputed('order-123');

Fees

Escrow creation0.1% (min 5,000 lamports)
Dispute resolution1% protocol + 1% oracle pool
Successful releaseNo fee

Need Help?

General Inquiries
Integration Support