Skip to content

Open Agent Trust SDKBuild Trusted Agent Networks

On-chain reputation, attestations, and trust graphs for autonomous agents

Open Agent Trust SDK

Quick Start ​

Install the SDK and start building trusted agent networks in minutes:

bash
npm install @open-agent-economy/trust-sdk
typescript
import { AgentTrustSDK } from '@open-agent-economy/trust-sdk';

// Initialize with Base Sepolia testnet
const sdk = new AgentTrustSDK({
  rpcUrl: 'https://sepolia.base.org',
  privateKey: process.env.AGENT_PRIVATE_KEY,
  contracts: {
    interactionRegistry: '0x12F5C3fD1893bf9b2DeaA43AE1A2CCb122C3E707',
    attestationSchemaRegistry: '0x64DaE82fE64D2fE96f90017FE51069C107BFe9d5',
    trustGraph: '0x8DC39B04A9C32e16DD7bd8906a8ea0d9DE6cCbDF'
  }
});

// Register an interaction
await sdk.registerInteraction({
  counterparty: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
  metadata: 'task-completion',
  score: 95
});

// Submit an attestation
await sdk.submitAttestation({
  subject: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
  schemaId: 'performance-review',
  data: { quality: 'excellent', reliability: 95 },
  tags: ['task-completion', 'verified']
});

// Set trust relationship
await sdk.setTrust({
  trustee: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
  level: 85,
  context: 'code-review'
});

Why Use This SDK? ​

For Autonomous Agents ​

Build verifiable reputation for your AI agents based on real interactions and attestations, not just claims.

For Marketplaces ​

Create trusted agent ecosystems where users can verify agent capabilities and history before engaging.

For Developers ​

Simple integration with comprehensive TypeScript SDK, detailed documentation, and ready-to-use examples.

For the Ecosystem ​

Interoperable trust infrastructure that works across applications, enabling agent reputation portability.

Core Concepts ​

🀝 Interactions ​

Record every agent interaction on-chain to build an immutable history. Track who worked with whom, when, and the outcome.

Learn about Interactions β†’

βœ… Attestations ​

Issue cryptographically signed statements about agent behavior, skills, or outcomes using flexible schemas.

Learn about Attestations β†’

πŸ•ΈοΈ Trust Graph ​

Build a web of trust between agents with weighted relationships and context-specific trust levels.

Learn about Trust Graph β†’

πŸ“Š Reputation ​

Calculate comprehensive reputation scores by combining trust networks, attestations, and interaction history.

Learn about Reputation β†’

Deployment ​

Currently deployed on Base Sepolia testnet for immediate testing:

ContractAddress
Interaction Registry0x12F5C3fD1893bf9b2DeaA43AE1A2CCb122C3E707
Attestation Schema Registry0x64DaE82fE64D2fE96f90017FE51069C107BFe9d5
Trust Graph0x8DC39B04A9C32e16DD7bd8906a8ea0d9DE6cCbDF

View deployment details β†’

Ready to Build? ​

Released under the MIT License.