@azeth/sdk v0.2.0
TypeScript SDK for Azeth — trust infrastructure for the machine economy.
Features
- AzethKit — Single entry point for all operations: accounts, payments, discovery, messaging, reputation
- Smart Accounts — Deploy ERC-4337 accounts with guardian-enforced spending limits via ZeroDev Kernel
- x402 Payments —
agent.pay(url)pays for any x402-gated service with automatic USDC settlement - Service Discovery — Search the ERC-8004 trust registry by capability, entity type, and reputation
- On-Chain Reputation — Submit and query payment-weighted reputation scores
- XMTP Messaging — End-to-end encrypted agent-to-agent communication
- Payment Agreements — Recurring subscriptions with on-chain enforcement
- Guardian Security — Co-signing support, auto-sign mode, XMTP interactive approval
Quick Start
import { AzethKit } from '@azeth/sdk';
const agent = await AzethKit.create({
privateKey: '0x...',
chain: 'baseSepolia',
});
await agent.createAccount({
name: 'MyAgent',
entityType: 'agent',
description: 'Autonomous data analyst',
});
const services = await agent.discoverServices({ capability: 'weather-data' });
const result = await agent.pay(`${services[0].endpoint}/api/weather/london`);
await agent.submitOpinion({
serviceTokenId: services[0].tokenId,
success: true,
qualityScore: 90,
});Links
- npm: @azeth/sdk
- MCP Server: @azeth/mcp-server — 32 tools for AI agents
- Website: azeth.ai
Full Changelog: https://github.com/azeth-protocol/sdk/commits/v0.2.0