Skip to main content

Cashmere Agent SDK

The official TypeScript SDK for programmatic and AI-agent-driven USDC transfers:
The SDK supports all 16 chains, CCTP V1/V2, and includes built-in tool schemas for OpenAI Assistants, LangChain, and crewAI.
See the Agent Integration guide for AI framework-specific setup (LangChain, OpenAI function calling, crewAI).

Direct Integration (No SDK)

You can also integrate without the SDK:
  1. Call the Gas API to fetch fees and signatures.
  2. Interact directly with the CashmereCCTP contracts.
  3. Use the Monitoring API for analytics and monitoring.
This approach keeps client code transparent and portable across frameworks.

Helper Snippets

TypeScript Utility

Go Utility

Rust (Solana Client)

Ed25519Quote should mirror the Gas API response fields (signature, message, publicKey, fee, deadline, isNative, version).

Resources