Chimoney + Langfuse Integration

Monitor agent payments with Langfuse. Track payment operations alongside LLM observability.

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 LLM application. Configure with your API credentials.

3

Monitor in Langfuse

Track agent payments in Langfuse dashboards. Correlate payment operations with LLM traces.

API Integration (Alternative)

If you prefer direct API integration instead of Langfuse, 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: 'LangfuseAgent',
    dailyLimit: 100,
    currency: 'USD'
  })
});

const wallet = await response.json();
console.log('Agent wallet created:', wallet);