defi-cli agent can now autonomously swap, lend, and borrow across DeFi


7 recorded changes
Want your article here?
Promote with Leviathan News

7 recorded changes
Want your article here?
Promote with Leviathan NewsCompass Labs has expanded its Compass CLI / DeFi-CLI stack so that AI agents using it can now autonomously swap, lend, and borrow across DeFi protocols from a command line interface, turning the tool into a more complete, agent-ready execution layer for on-chain finance. According to Compass Labs’ product documentation, the CLI exposes their institutional-grade on‑chain capital markets API in a developer‑first terminal tool and an open-source compass-agent-skill, allowing autonomous agents (or developers controlling them) to generate and sign transactions locally while Compass orchestrates routing, aggregation, and transaction bundling across multiple protocols and chains. The updated DeFi-CLI lets agents tap into unified liquidity to route token swaps, borrow and lend against digital assets, and allocate into yield products across platforms like Morpho, Aave, Pendle, Aerodrome, Hyperliquid, and Ondo on networks including Base, Arbitrum, Tempo, and Ethereum. Under the hood, Compass handles complex cross‑protocol actions such as scanning 25,000+ yield vaults, optimizing swap routes across thousands of assets, and packaging multi-step DeFi operations into single transactions, while remaining non‑custodial by keeping key generation and signing on the user/agent side. This positions the CLI as a core primitive for “DeFAI,” the emerging class of AI agents that can autonomously analyze markets and execute strategies like trading, lending, and yield optimization on-chain with minimal human intervention. The development matters because it lowers the integration barrier for AI and agentic systems that want direct, programmable access to DeFi infrastructure without custom smart contract work or bespoke integrations for each protocol. By turning DeFi actions—such as “swap this asset,” “borrow against that collateral,” or “deposit into the best-yielding vault”—into simple, scriptable commands that agents can call, tools like DeFi-CLI accelerate experiments in autonomous trading, portfolio management, and on-chain risk management, while also raising familiar questions around data quality, agent transparency, and systemic risk if many agents converge on similar strategies.
AI-generated background, compiled from web sources — not editorial content.

Injective ·

𝕏/@0xProject ·

𝕏/@dflow ·

𝕏/@CoinMarketCap ·

CoinGecko ·

blog.kraken ·

Injective ·

𝕏/@0xProject ·

𝕏/@dflow ·

𝕏/@CoinMarketCap ·

CoinGecko ·

blog.kraken ·
🚀 Love DeFi? Ready to dive in and start earning $SQUID while making an impact?