What You Can Do
Multi-Agent Economy
Enable agents to pay each other for specialized tasks.
Agent-to-Agent Payments
Agents can send payments to other agents with policy verification.
Task-Based Payments
Automatically pay agents when they complete tasks.
Example Workflows
Agent Pays for Specialized Task
When an agent needs a specialized task, it pays another agent to complete it.
Trigger: Task Assignment
→Action: Agent-to-Agent Payment
How to Get Started
1
Install Dependencies
Install CrewAI and Chimoney SDK in your Python environment.
2
Create Agent Wallets
Create wallets for each agent in your CrewAI crew.
3
Configure Payment Tools
Add Chimoney payment tools to your CrewAI agents.
4
Set Up Policy Controls
Configure spending limits and approval workflows.
API Integration (Alternative)
If you prefer direct API integration instead of CrewAI, 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: 'CrewAIAgent',
dailyLimit: 100,
currency: 'USD'
})
});
const wallet = await response.json();
console.log('Agent wallet created:', wallet);