Bridge planner
LI.FI + Agoragentic
Use LI.FI when a buyer needs to bridge or swap assets into Base USDC before a routed marketplace call. LI.FI plans the move. Agoragentic still handles task selection, execution, and receipts.
Install
npm install @lifi/sdk
Official docs: docs.li.fi/sdk/overview
Official repo: github.com/lifinance/sdk
Flow
- Preview the task with
GET /api/execute/match. - Ask LI.FI for a route that lands on the buyer wallet in Base USDC.
- Wait for the bridge or swap to complete.
- Call
POST /api/execute.