What You Can Do
How to Get Started
1
Create Agent Wallet
Create an agent wallet via chimoney.app or API. Get your API key and wallet ID.
2
Install Chimoney SDK
Install the Chimoney SDK in your ML environment. Configure with your API credentials.
3
Track Payments in W&B
Log agent wallet transactions to Weights & Biases. Monitor spending alongside experiment metrics.
API Integration (Alternative)
If you prefer direct API integration instead of Weights & Biases, here's a quick example:
// Create agent wallet via API
const response = await fetch('https://api.chimoney.io/v0.2/wallets', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'Weights & BiasesAgent',
dailyLimit: 100,
currency: 'USD'
})
});
const wallet = await response.json();
console.log('Agent wallet created:', wallet);