Claude + OpenAI in your terminal with 30+ native Base blockchain tools. Deploy contracts, inspect accounts, bridge ETH, swap tokens, read state — all from one command.
01 / Features
Not a generic AI wrapper. Every tool is purpose-built for Base L2 EVM development on Coinbase's network.
ETH balances, ERC-20/721/1155 tokens, contract deployment, ABI interaction, gas estimation — all native Base tools, no manual RPC juggling.
Bridge ETH and tokens between Ethereum Mainnet and Base L2 via Coinbase's official bridge. Monitor status, get estimates, execute in one command.
Auto-execute everything. No confirmations. No prompts. Just results. For when you trust the mage and need maximum throughput.
Claude Opus, Sonnet, Haiku. GPT-4.1, Mini, Nano. o3, o3-mini, o4-mini. Switch mid-conversation with /model to match task complexity.
Read, write, edit your Solidity and TypeScript files. Glob search, Regex grep. It reads your contracts, understands them, and modifies them.
25 messages per day. No API key. No signup. No credit card. Just install and start building on Base. Upgrade anytime for unlimited usage.
02 / Tools
Every tool maps to a real Base L2 or EVM primitive. No abstraction leaks, no hidden wrappers.
03 / NPM Package
A fully typed EVM SDK purpose-built for Base L2. Zero boilerplate for common patterns.
TypeScript SDK for Base L2 — contracts, tokens, bridge, gas, multicall
Returns the native ETH balance of an address on Base mainnet or Sepolia. Uses viem public client with automatic RPC failover.
Deploy a standard OpenZeppelin ERC-20 token to Base. Returns contract address, tx hash, and verified ABI. Auto-verifies on Basescan.
Initiate an ETH or ERC-20 bridge from Ethereum Mainnet to Base L2 via the official Coinbase bridge contracts. Includes relay monitoring.
Batch multiple read or write calls into a single transaction using Base's Multicall3 deployment. Reduces RPC round-trips by up to 90%.
Estimate L1 data cost + L2 execution cost for a transaction on Base. Returns baseFee, priorityFee, l1DataFee, and total in ETH and USD.
Subscribe to real-time contract events on Base using WebSocket RPC. Auto-reconnects on disconnect. Typed event payloads from ABI.
Submit contract source code to Basescan for verification. Supports Solidity compiler settings, constructor args, and proxy verification.
Execute token swaps on Base via Uniswap v3 or Aerodrome. Slippage protection, optimal routing, and permit2 support built in.
04 / Documentation
Powerful built-in commands for managing your Base development session.
05 / Token
The community token for MAGE CLI. Every dev who ships on Base with the mage earns their place onchain.
MAGE CLI is the AI dev agent for Base L2. Claude-powered. 30+ blockchain tools built in. Deploy contracts, bridge ETH, swap tokens, read state — all from your terminal.
$MAGE is the community token launching on https://bankr.bot/terminal — the Base-native token launchpad. Every dev needs an onchain mage.
06 / Examples
See the mage in action on real Base L2 workflows.