Agent-First CLI

Abstract Global Wallet
for AI Agents

Connect your wallet once, then query wallet, chain, and Portal data from your AI client.

1

Link your wallet

Open your terminal and run this command. It will open a browser window where you connect your wallet and approve linking this machine.

npx -y @abstract-foundation/agw-cli auth init --json "{\"chainId\":2741,\"execute\":true}"
2

Add to your MCP client

Tell your AI client how to find the AGW server. Pick your client below:

Run this in your terminal:

claude mcp add agw-cli -- npx -y @abstract-foundation/agw-cli mcp serve --json "{\"chainId\":2741}"
3

Run your first prompts

Open your AI client and try asking it something like:

# Wallet snapshot "Show my wallet address, ETH balance, and token balances." # Chain data "What is the current gas price on Abstract?" # Portal data "Get my account portfolio summary from the Abstract Portal API."