AI assistants like Claude, ChatGPT and Cursor, and autonomous agents built with tools like Coinbase AgentKit, can use Based Loans directly. An agent can check which tokens are accepted, quote a loan, explain the risk of lending against a token, and prepare the exact transactions to borrow, buy back, lend or withdraw.

Your agent never gets your keys. Every tool either reads live data from Base or returns an unsigned transaction. Your own wallet shows you each one and signs it, the same as using the website.


What an agent can do

  • Borrow: find a token you hold, quote how much USDC you would receive, the buyback cost and the due date, then prepare the loan.
  • Buy back: see your open loans and prepare a full or partial buyback before the due date.
  • Lend: check how risky each token is, then prepare a deposit with your own per-token limits.
  • Manage: withdraw available USDC, claim repaid USDC, or claim collateral from loans that were not bought back.
  • Request a token: if a token is not accepted yet, the agent gives you a link to request it.

Ways to connect

● MCP server
The quickest way. Add one URL to Claude, Cursor or any app that supports the Model Context Protocol.

● SDK, HTTP API and AgentKit
For developers building their own agents or apps.


Good to know

  • Every number comes from Base at the moment you ask: prices, fees, terms and the USDC lenders have available.
  • Quotes replay the real lender queue, so the amount quoted is the amount the loan would actually get. If a loan would come up short, the agent says so and suggests an amount that fills in full.
  • Risk reports describe a token's pricing, how deep its markets are, and what lenders could end up holding. They are information, not advice. Collateral types are explained on Collateral types.
  • There are no liquidations. If a borrower does not buy back by the due date, they keep the USDC and the lenders who funded the loan receive the collateral.

The code is open source at github.com/0xVarius/basedloans-agents.