{"name":"Ratehopper","description":"Ratehopper runs automated Uniswap LP agents on Base from a user-owned Safe: Cash LP (USDC LP yield) and Self-Repay (borrow on Aave, LP yield repays the loan). Use it via Base MCP or Virtuals ACP.","version":"0.1.0","supportedInterfaces":[{"url":"https://agent.ratehopper.ai/a2a/rpc","protocolBinding":"JSONRPC","protocolVersion":"1.0"},{"url":"https://agent.ratehopper.ai/a2a/rpc","protocolBinding":"JSONRPC","protocolVersion":"0.3"}],"protocolVersion":"0.3.0","url":"https://agent.ratehopper.ai/a2a/rpc","preferredTransport":"JSONRPC","provider":{"organization":"Ratehopper","url":"https://ratehopper.ai"},"documentationUrl":"https://ratehopper.ai","iconUrl":"https://ratehopper.ai/images/Ratehopper-Icon-Orange.png","capabilities":{"streaming":false,"pushNotifications":false},"defaultInputModes":["application/json","text/plain"],"defaultOutputModes":["application/json","text/plain"],"skills":[{"id":"list_safes","name":"List Safes","description":"Read. Lists the Safe wallets on Base mainnet (chainId 8453) that the given owner address is a signer of. Input: {\"owner\": \"0x...\"} (the user's own wallet address). Call this before creating an agent, to reuse an existing Safe rather than deploying a new one.","tags":["safe","wallet","base","read"],"examples":["{\"skillId\":\"list_safes\",\"input\":{\"owner\":\"0x1111111111111111111111111111111111111111\"}}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"get_agents_for_owner","name":"Get Agents for Owner","description":"Read. Lists the RateHopper agents owned by a wallet that were created through this server, each matched to its Safe, with agentType ('cash_lp' = cash agent, 'borrow_lp' = self-repay agent), status and chainId. Input: {\"ownerAddress\": \"0x...\"}. An empty list means none created here, not an error; agents made in the RateHopper web app are managed there. Pass a result's safeWalletAddress to get_agent_status for details.","tags":["ratehopper","agents","defi","read"],"examples":["{\"skillId\":\"get_agents_for_owner\",\"input\":{\"ownerAddress\":\"0x1111111111111111111111111111111111111111\"}}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"get_agent_status","name":"Get Agent Status","description":"Read. Status of one agent. Identify it by setupRequestId (returned when an agent is created through this server) or by safeWalletAddress (+ optional chainId, default 8453). `view` picks what to return: 'performance' (default: current rates, Aave health factor where null means no debt, lifetime USD repaid, day-over-day trend), 'portfolio' (position ids and statuses), 'logs' (recent automation log; optional page >= 1, limit 1-200, default 50), or 'setup' (provisioning progress of a setup request; needs setupRequestId). Every view but 'setup' fails with not-found until the agent is live. Only agents created through this server can be read; a Safe created elsewhere (e.g. the RateHopper app) is not-found.","tags":["ratehopper","agents","performance","health-factor","read"],"examples":["{\"skillId\":\"get_agent_status\",\"input\":{\"safeWalletAddress\":\"0x1111111111111111111111111111111111111111\",\"view\":\"performance\"}}","{\"skillId\":\"get_agent_status\",\"input\":{\"safeWalletAddress\":\"0x1111111111111111111111111111111111111111\",\"view\":\"logs\",\"limit\":10}}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"analyze_debt_position","name":"Analyze Debt Position","description":"Analyze debt positions across lending protocols and find the best borrow rate for refinancing. Input: {\"walletAddress\": \"0x...\", \"chainId\": 8453} (chainId optional, default 8453).","tags":["debt","borrow-rates","refinancing","lending","read"],"examples":["{\"skillId\":\"analyze_debt_position\",\"input\":{\"walletAddress\":\"0x1111111111111111111111111111111111111111\",\"chainId\":8453}}"],"inputModes":["application/json"],"outputModes":["application/json"],"x402":{"scheme":"exact","price":"$0.01","network":"eip155:8453","payTo":"0x62Cd0Cc135c2cC46f8dA33637A39f84CbB529E85"}},{"id":"create_cash_agent","name":"Create Cash Agent","description":"Creates a RateHopper cash agent (cash_lp): your USDC goes into a new Safe you own and is managed as a Uniswap V3 LP position, entered when RateHopper's market signal favours it. Input: {\"ownerAddress\": \"0x...\", \"amountUsdc\": \"25\"} (minimum 10 USDC, taken from the owner wallet by a signed authorization). Owner-signed: the owner's wallet signs and sends everything; RateHopper never holds the keys or the funds. The task then asks, one turn at a time, for a signature or a transaction hash: reply to the same task (message.taskId) with a data part {\"signature\": \"0x...\"}, or for the sent transaction {\"txHash\": \"0x...\"} or the signed transaction {\"rawTransaction\": \"0x...\"}. Always a new Safe, on Base mainnet. Amounts are decimal strings (a JSON number only if it is exact, with no exponent). Optional: idempotencyKey (retrying with the same key resumes the same deployment; by default the key is derived from the owner and the deployment's inputs, so an identical retry resumes it too - pass distinct keys to create two identical agents), sdRange (LP range width in standard deviations: 1, 1.5, 2, 2.5; default 1).","tags":["ratehopper","agents","create","lp","usdc","owner-signed"],"examples":["{\"skillId\":\"create_cash_agent\",\"input\":{\"ownerAddress\":\"0x1111111111111111111111111111111111111111\",\"amountUsdc\":\"25\"}}"],"inputModes":["application/json"],"outputModes":["application/json"],"x402":{"scheme":"exact","price":"$0.01","network":"eip155:8453","payTo":"0x62Cd0Cc135c2cC46f8dA33637A39f84CbB529E85"}},{"id":"create_self_repay_agent","name":"Create Self-Repay Agent","description":"Creates a RateHopper self-repay agent (borrow_lp): your ETH becomes Aave V3 collateral in a new Safe you own, USDC is borrowed against it at your target LTV, and the borrowed USDC earns in a Uniswap V3 LP whose fees pay the loan down. Input: {\"ownerAddress\": \"0x...\", \"amountEth\": \"0.05\", \"ltvPct\": 50} (minimum 0.01 ETH, sent with the deployment transaction; ltvPct 25-68, default 50; the borrow is sized from Aave's own ETH price). Owner-signed: the owner's wallet signs and sends everything; RateHopper never holds the keys or the funds. The task then asks, one turn at a time, for a signature or a transaction hash: reply to the same task (message.taskId) with a data part {\"signature\": \"0x...\"}, or for the sent transaction {\"txHash\": \"0x...\"} or the signed transaction {\"rawTransaction\": \"0x...\"}. Always a new Safe, on Base mainnet. Amounts are decimal strings (a JSON number only if it is exact, with no exponent). Optional: idempotencyKey (retrying with the same key resumes the same deployment; by default the key is derived from the owner and the deployment's inputs, so an identical retry resumes it too - pass distinct keys to create two identical agents), sdRange (LP range width in standard deviations: 1, 1.5, 2, 2.5; default 1).","tags":["ratehopper","agents","create","borrow","aave","self-repay","owner-signed"],"examples":["{\"skillId\":\"create_self_repay_agent\",\"input\":{\"ownerAddress\":\"0x1111111111111111111111111111111111111111\",\"amountEth\":\"0.05\",\"ltvPct\":50}}"],"inputModes":["application/json"],"outputModes":["application/json"],"x402":{"scheme":"exact","price":"$0.01","network":"eip155:8453","payTo":"0x62Cd0Cc135c2cC46f8dA33637A39f84CbB529E85"}},{"id":"close_agent","name":"Close Agent","description":"Closes a RateHopper cash or self-repay agent and returns everything to the owner. Cash: closes the LP position. Self-repay: closes the LP, repays the Aave debt (with a flash loan against the collateral when the Safe's USDC can't cover it) and withdraws the collateral. Then the agent is recorded as closed and the Safe's funds are transferred to the owner. When there is nothing left on-chain to close (so no owner-signed step), the owner first signs an EIP-712 CloseAgent close request (purpose close_intent; valid 10 minutes) before the agent is recorded as closed. Input: {\"ownerAddress\": \"0x...\", \"safeWalletAddress\": \"0x...\"}. Owner-signed: the owner's wallet signs and sends every step; RateHopper never holds the keys or the funds. The task asks, one turn at a time, for a signature or a transaction hash: reply to the same task (message.taskId) with a data part {\"signature\": \"0x...\"}, or for a sent step {\"txHash\": \"0x...\"} or the signed transaction {\"rawTransaction\": \"0x...\"}. Every sent hash is checked on Base against the step it answers. Base mainnet; agents created through this A2A agent only (find them with get_agents_for_owner).","tags":["ratehopper","agents","close","withdraw","owner-signed"],"examples":["{\"skillId\":\"close_agent\",\"input\":{\"ownerAddress\":\"0x1111111111111111111111111111111111111111\",\"safeWalletAddress\":\"0x1111111111111111111111111111111111111111\"}}"],"inputModes":["application/json"],"outputModes":["application/json"],"x402":{"scheme":"exact","price":"$0.01","network":"eip155:8453","payTo":"0x62Cd0Cc135c2cC46f8dA33637A39f84CbB529E85"}},{"id":"transfer_agent_funds","name":"Transfer Agent Funds","description":"Transfers what a closed agent's Safe still holds to the owner in one owner-signed transaction (USDC as USDC; WETH unwrapped and sent with any ETH as ETH), or reports nothingToTransfer. close_agent already does this; use this to retry it or to collect funds that arrived later. Input: {\"ownerAddress\": \"0x...\", \"safeWalletAddress\": \"0x...\"}. Owner-signed: the owner's wallet signs and sends every step; RateHopper never holds the keys or the funds. The task asks, one turn at a time, for a signature or a transaction hash: reply to the same task (message.taskId) with a data part {\"signature\": \"0x...\"}, or for a sent step {\"txHash\": \"0x...\"} or the signed transaction {\"rawTransaction\": \"0x...\"}. Every sent hash is checked on Base against the step it answers. Base mainnet; agents created through this A2A agent only (find them with get_agents_for_owner).","tags":["ratehopper","agents","withdraw","transfer","owner-signed"],"examples":["{\"skillId\":\"transfer_agent_funds\",\"input\":{\"ownerAddress\":\"0x1111111111111111111111111111111111111111\",\"safeWalletAddress\":\"0x1111111111111111111111111111111111111111\"}}"],"inputModes":["application/json"],"outputModes":["application/json"],"x402":{"scheme":"exact","price":"$0.01","network":"eip155:8453","payTo":"0x62Cd0Cc135c2cC46f8dA33637A39f84CbB529E85"}}]}