Blend integration is planned for Phase 2 of the Pay3 roadmap and is not yet available in the current release. The features described on this page are coming soon.
What your AI can do on Blend
Supply assets
Deposit USDC or other supported assets into Blend liquidity pools to earn variable yield. Your AI can supply idle balances automatically so your capital is always working.
Borrow assets
Take out loans against your supplied collateral. Your AI can execute borrows when you need liquidity without selling your holdings.
Repay loans
Clear outstanding debt before fees accumulate or your health factor drops dangerously low. Your AI can repay proactively on a schedule or in response to market conditions.
Monitor health factor
Continuously track your loan-to-collateral ratio. If your health factor drops below a threshold you set, your AI triggers an automatic repayment to protect your position.
Example AI commands
Tell your AI assistant what you want in plain language:How lending actions flow through Pay3
Every Blend interaction follows the same secure path as any other Pay3 action:1
You issue a command
Tell your AI to supply, borrow, repay, or monitor your Blend position.
2
Pay3 calls the Blend MCP tool
Your AI invokes the appropriate Pay3 tool —
wallet.supply(), wallet.borrow(), or wallet.repay() — through the MCP server.3
Policy engine validates the action
Pay3 checks that Blend is in your allowed protocols list, verifies the asset is permitted, and confirms the amount falls within your daily budget and per-transaction limit.
4
Transaction is authorized and submitted
Your session key signs the Soroban transaction. Pay3 submits it to the Stellar network and returns the result to your AI.
5
Your AI confirms and updates you
Your AI reports your new supplied balance, outstanding debt, or updated health factor — no manual dashboard check required.
Policy integration
Supply and borrow actions count against your session’s daily budget and per-transaction limit, just like payments do. Here’s how a typical Blend-focused policy might look:
Actions above your approval threshold — such as a large initial supply — are queued as pending approvals in your Pay3 dashboard. Your AI will wait for your sign-off before proceeding.
Health factor monitoring
The health factor is a numeric score that represents the safety of your loan. A health factor below 1.0 means your position is eligible for liquidation by the protocol.Set your auto-repay threshold to 1.5 or higher, not 1.0. Liquidations can happen quickly during volatile markets — giving your AI a wider buffer ensures it has time to execute a repayment transaction on Stellar before the protocol can liquidate your collateral.
wallet.repay() with enough funds to restore your position to a safe level — all without you having to do anything.
Security reminders
- Your AI never holds your primary wallet’s private key — it operates through a temporary session key that expires automatically.
- Revoking your AI session from the Pay3 dashboard immediately stops all further Blend interactions.
- Use Emergency Revoke All to instantly cut off every AI session if you need to retake full manual control.