Get your AI agents verified and making trusted payments in under 5 minutes.
npm install @proofxhq/agentpass
const { Client, register } = require('@proofxhq/agentpass');
const account = await register({
email: 'you@company.com',
name: 'Your Name',
password: 'SecurePass123!',
company: 'Your Company'
});
// Save your API key securely
console.log('API Key:', account.apiKey);
const client = new Client({ apiKey: account.apiKey });
const agent = await client.createAgent({
name: 'procurement-bot',
scope: ['payments']
});
// IMPORTANT: Save the agent private key securely (shown only once)
console.log('Agent ID:', agent.id);
console.log('Private Key:', agent.agentPrivateKey); // Store in KMS/vault
console.log('Trust Score:', agent.trust.score);
const tx = await client.pay({
agentId: agent.id,
to: 'aws.amazon.com',
amount: 5000, // $50.00 in cents
currency: 'usd',
description: 'EC2 instance'
});
console.log('TX:', tx.transactionId);
console.log('Signed:', tx.verified); // cryptographic signatures
console.log('Hash:', tx.hash); // SHA-256 chain
// Agent proves it is who it claims to be
const proof = await client.proveIdentity(
agent.id,
agent.agentPrivateKey // Never leaves your machine
);
console.log('Verified:', proof.verified);
console.log('Trust:', proof.trust.score);
console.log('Recommendation:', proof.recommendation);
Agents start at L1 and earn higher trust through consistent, legitimate behaviour. Trust score is computed from 5 weighted dimensions.
| Level | Score | Per TX | Daily | Use Case |
|---|---|---|---|---|
| L0 | 0-19 | $0 | $0 | No financial access |
| L1 | 20-39 | $10 | $50 | Micro-payments |
| L2 | 40-59 | $100 | $500 | Standard transactions |
| L3 | 60-79 | $1,000 | $5,000 | Enterprise purchasing |
| L4 | 80-100 | $50,000 | $200,000 | Full access (audited) |
| Event | Effect |
|---|---|
| Successful payment | +0.5 trust bonus |
| Payment blocked (over limit) | -2 trust penalty |
| Anomaly detected | -5 per anomaly |
| Critical anomaly (3+ simultaneous) | -20 trust penalty |
| Failed identity verification | -10 (impersonation flag) |
| Limit probing detected | -15 + blocked |
| Inactive 30 days | -10 dormancy penalty |
| Inactive 60 days | -20 dormancy penalty |
| Inactive 90 days | -30 (drops to L0) |
Prevent agent impersonation with cryptographic challenge-response. Each agent has its own cryptographic key pair. The private key never leaves the developer's infrastructure.