What You Can Do
Agent Tools
Add Chimoney as a tool that LangChain agents can use for payments.
W3C DID Support
Each LangChain agent gets a W3C DID for identity verification.
Policy Controls
Set spending limits and approval workflows for agent payments.
Example Workflows
LangChain Agent with Wallet
Create a LangChain agent that can make payments using its Chimoney wallet.
Trigger: Agent Tool Call
→Action: Execute Payment via Chimoney
How to Get Started
1
Install Chimoney SDK
Install the Chimoney Python SDK: pip install chimoney
2
Create Agent Wallet
Create a wallet for your LangChain agent using the Chimoney API.
3
Add Chimoney Tool
Add Chimoney as a tool in your LangChain agent configuration.
4
Configure Policy
Set spending limits and policy controls for your agent.
API Integration (Alternative)
If you prefer direct API integration instead of LangChain, 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: 'LangChainAgent',
dailyLimit: 100,
currency: 'USD'
})
});
const wallet = await response.json();
console.log('Agent wallet created:', wallet);