2x–4x leveraged longs and shorts on WETH, wstETH, cbBTC, and USDC — directly in your wallet via Aave v3. No funding rates. No custodial risk. One atomic transaction.
Loop leverage manually on Aave takes 6 transactions and 20 minutes. This does it atomically — the whole thing either completes or reverts. You're never left in a half-open state.
Two one-time approvals: allow the vault to pull your seed collateral, and credit-delegate so it can borrow on your behalf to repay the flash loan.
The vault flash borrows the leveraged amount from Aave, swaps it to your supply asset on Uniswap v3 with live slippage protection, and supplies everything to Aave.
Aave borrows on your behalf to repay the flash loan. The transaction settles. Your leveraged position — aTokens and debt — lives entirely in your own wallet.
Every position uses real Aave v3 liquidity. Max leverage is enforced by Aave's LTV parameters — the API rejects requests that would exceed the cap before any transaction is built.
Whether you're a human clicking through a UI, a bot running strategies, or an AI agent, there's a native interface.
Connect your wallet and describe what you want in plain English. The agent figures out the strategy, builds the transaction plan, and walks you through each signing step.
Free · PoW gatedConnect any MCP-compatible AI agent (Claude Desktop, custom agents). Buy a session with USDC via x402 — one payment covers unlimited calls for the session window. Sessions are wallet-bound and non-transferable.
$0.05/hr · $0.25/day · $1.50/week · $4.00/monthThe server speaks JSON-RPC 2.0 over HTTP. Any MCP-compatible client works — Claude Desktop, a custom Python agent, or the strategy bot in this repo.
POST to /mcp/auth with an x402 USDC payment (EIP-3009 transferWithAuthorization). Choose your window: hour, day, week, or month. You receive a Bearer token valid for that duration.
POST JSON-RPC 2.0 requests to /mcp with your Bearer token. All 11 tools are available immediately — no per-call fees.
Read current Aave position: supplies, borrows, health factor, liquidation price, APRs.
Natural language interface. Describe a strategy in plain English — the agent plans and builds it.
Build a signed payload to open a new leveraged position at a specified leverage and seed amount.
Build a signed payload to fully close an open position in one atomic flash-loan transaction.
Reduce leverage on an open position to a target multiplier without closing it.
Increase leverage on an open position up to the per-asset Aave LTV cap.
Swap between WETH, wstETH, cbBTC, and USDC via Uniswap v3 with live slippage protection.
Supply an asset directly to Aave v3 without leverage.
Borrow an asset from Aave v3 against existing collateral.
Repay outstanding debt on Aave v3. Pass amount: "max" to repay in full.
Withdraw supplied collateral from Aave v3.
All prepare_* tools return a signed transaction payload ready to submit on-chain. No private key is ever sent to the server — signing happens in your wallet.
The contract never holds your funds. Every security property is either enforced on-chain or verifiable by the caller.
| Contract | Address | Source |
|---|---|---|
| LeverageRouterV4 | 0x4A60C1E7d78DA2A61007fE21d282a859D3906724 |
Verified ↗ |
| LeverageVaultV4 | 0xf2A51d441E6bA96c37fD0024115DccF03764478f |
Verified ↗ |
| Aave v3 Pool | 0xA238Dd80C259a72e81d7e4664a9801593F98d1c5 |
Verified ↗ |
| Uniswap QuoterV2 | 0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a |
Verified ↗ |
The vault is a stateless execution engine. Your aTokens and debt tokens live in your Aave account — not the contract. The vault cannot withdraw or transfer your assets.
V4 contracts have no owner, no admin keys, and no upgrade path. The router, vault address, and fee rate are hardcoded at deploy time. The only mutable field is feeRecipient, transferable only by the current recipient.
Every swap uses a minOut value computed via Uniswap's QuoterV2 at call time. If a sandwich attack would force a worse fill, the transaction reverts automatically.
API responses from paid endpoints carry an X-Signature header. Programmatic callers can verify the calldata wasn't tampered with in transit before submitting.
Your live health factor and liquidation price are shown every time you check your position. You stay in control — close any time with a single transaction.
Requests above Aave's per-asset LTV cap are rejected before the LLM runs or any transaction is built. You get a clear error with the actual safe maximum for that asset.
All fees on a $5,000 seed opened at 3x ($10,000 flash loan): roughly $24 total — about 0.24% of notional. The web UI is free — x402 session fees only apply to MCP / API agent integrations.
| Fee | Rate | Paid to | $5k seed at 3x ($10k flash) |
|---|---|---|---|
| Aave flash loan | 9bps (0.09%) | Aave protocol | ~$9.00 |
| Uniswap swap | 5bps (0.05%) | Uniswap LPs | ~$5.00 |
| Protocol fee | 10bps (0.10%) | Protocol operator | ~$10.00 |
| MCP / API session (x402) Agents & bots only — web UI is free |
$0.05/hr · $0.25/day · $1.50/week · $4.00/month | API operator | — |
| Gas (Base) | — | Base validators | < $0.05 |
* All three fees (flash loan, swap, protocol) are charged on the flash-borrowed amount — not the seed. At 3x, the flash loan is 2× the seed.
† Uniswap price impact is separate from the pool fee and depends on position size and pool liquidity. Typically <0.05% for standard WETH/USDC sizes on the 0.05% tier. Slippage protection is enforced automatically via on-chain quoter.
Our open cost is higher than CEX taker fees. The advantage is holding cost: you pay Aave borrow APR (~3–8% APY) instead of a funding rate that historically runs 20–60% APY during bull markets — and spikes higher. There is also no counterparty risk and no custody.
| Platform | Open fee | Slippage / spread | Ongoing holding cost | Custodial |
|---|---|---|---|---|
| Leverage Agent (this) | ~0.24% notional | Uniswap price impact typically <5bps at $10k |
Aave borrow APR ~3–8% APY |
No |
| Binance / Bybit perp | ~0.05% (taker) | ~1–2bps spread very tight for ETH/BTC |
Funding rate ~20–60% APY in bull markets can spike to 100–330% APY |
Yes |
| GMX v2 | ~0.05–0.07% | Price impact fee pool-dependent |
Borrowing fee ~0.01–0.03%/hr variable |
No |
| Hyperliquid | ~0.035% (taker) | Order book spread ~2–5bps typical |
Funding rate same dynamics as CEX |
No |
| DeFi Saver (on-chain) | ~0.25% service fee | DEX swap spread ~5–15bps |
Aave borrow APR ~3–8% APY |
No |
| Manual Aave looping | ~0.14% (flash + swap only) | Uniswap price impact | Aave borrow APR same as us |
No |
CEX funding rates were positive 97% of days in 2024. ETH funding briefly exceeded 110% annualized during the Feb 2024 ATH run and sustained 33–77% APY for weeks post-election in Nov 2024. CEX spreads are tight (1–2bps for ETH) but do not offset funding. Aave borrow APR is utilization-driven and far more stable.
Manual Aave looping avoids the 10bps protocol fee but requires 9+ sequential transactions with no atomicity — partial completion leaves you in a risky intermediate state. DeFi Saver is the closest on-chain alternative at 0.25% service fee.
We use Aave v3 flash loans (9bps). Protocols that relied on Balancer for free flash loans face infrastructure risk — Balancer Labs dissolved as a corporate entity in March 2026 following a $110M exploit, and TVL has fallen ~95% from peak. Aave v3 is the more stable long-term flash loan infrastructure.
Connect your wallet and open a leveraged position directly on Aave v3 — no account, no KYC, no custody, no funding rate.
Open a position →