ERC-8004: Trustless Agents Rust SDK
A type-safe, ergonomic Rust SDK for interacting with ERC-8004 on-chain registries.
ERC-8004 enables discovery, reputation, and validation for AI agents across organizational boundaries without pre-existing trust.
Quick Start
use ProviderBuilder;
use ;
# async
Architecture
The SDK is designed around the alloy provider abstraction:
- [
Erc8004] — The top-level client, generic overP: Provider. Accepts any alloy provider the user has already configured. Identity— Identity Registry (ERC-721) operations: register agents, manage URIs, wallets, and metadata.Reputation— Reputation Registry operations: submit/revoke feedback, read summaries.Validation— Validation Registry operations: request/respond to validation, query status.- [
Network] — Pre-configured network addresses for known deployments. - [
types] — Off-chain JSON types (registration files, feedback, etc.).