Photo Credit: Unsplash/rc.xyz NFT gallery
Zerion unveils AI-assisted DeFi withdrawal process with new open-source CLI toolkit
The command-line tool pairs with Anthropic's Claude Code to let AI agents execute onchain actions across 8,000 DeFi protocols and 40 blockchains.
Zerion launched the Zerion CLI on May 14, an open-source toolkit that lets users, and AI coding agents like Anthropic’s Claude Code, interact with more than 8,000 DeFi protocols across over 40 blockchains. The core pitch: you can analyze your portfolio, quote swaps and bridges, sign transactions, and exit DeFi positions without ever opening a traditional frontend.
How the CLI actually works
Installation is deliberately minimal. A single command, npx -y zerion-cli init, gets users up and running. From there, the toolkit handles portfolio analysis, swap and bridge quoting, and transaction signing across EVM-compatible networks and Solana.
The CLI is designed to serve as a bridge between human users and autonomous AI agents. It outputs data in JSON format, which means coding agents like Claude Code can parse portfolio states, evaluate exit strategies, and execute transactions programmatically. Private key management stays local, which sidesteps the obvious security nightmare of handing wallet credentials to a cloud-based AI model.
Authentication comes in three flavors: traditional API keys, a pay-per-call structure priced at $0.01 USDC via the x402 protocol, and something called MPP. The pay-per-call model means casual users don’t need to commit to a subscription or prepay for API access.
AI, tech, and the markets they move—in one daily briefing.
Daily. Free. Join 34,000+ readers across crypto, finance, and policy.
Extending functionality with skills
The CLI isn’t a static tool. Zerion built in a “skills” system that lets developers add protocol-specific capabilities. Want deeper integration with Uniswap? There’s a skill for that. Need custom logic for a yield farming strategy on Aave or Compound? Build a skill.