Project
Agentic Liquidity Router
AI agent routing cross-border payments across African mobile money and onchain liquidity. Claude 3.5 reasoning.
Problem
Cross-border payments in Africa cost 5-15% in fees and take 2-5 days. The optimal route changes by the hour.
Solution
An autonomous AI agent that observes real-time rates from MTN, Orange, M-Pesa, Wave, and onchain pools, then reasons about the optimal path using Claude 3.5 Sonnet.
Architecture
Rust backend with Rig agent framework. Next.js frontend with OnchainKit. Streaming AI responses via Edge runtime. Tenderly for transaction simulation.
Implementation
fn system_prompt() -> &'static str {
"You are an autonomous liquidity routing agent.\n Expertise: Mobile money (MTN, Orange, M-Pesa, Wave).\n African currencies: XOF, XAF, NGN, GHS, KES, UGX, ZAR.\n Onchain: Uniswap, Curve on L2s.\n Always return structured route with confidence score."
}Vision
A Stripe-level API for African cross-border payments. One endpoint. Optimal routing. Settled in under 4 minutes at 2-3% all-in cost.