Skip to main content
AGW CLI is an agent-first CLI for Abstract Global Wallet. It gives an agent structured JSON input and output for wallet operations without exposing the wallet’s private key to the agent runtime.

What it can do

  • read wallet address, balances, and token inventory
  • preview and execute transactions
  • sign messages and transactions
  • write to contracts and deploy contracts
  • discover apps on Abstract
  • query Abstract Portal data
  • serve the same capabilities over MCP

Why use it

Use AGW CLI when you want:
  • a CLI-first or MCP-first wallet integration
  • preview-first writes with explicit execution
  • session-key-style delegation through a companion approval flow
  • schema introspection for agent tooling

Command groups

GroupExamples
walletaddress, balances, tokens list
txpreview, send, calls, transfer-token
contractwrite, deploy
authinit, revoke
sessionstatus, doctor
applist, show
portalstreams list, user-profile get
mcpserve

Relationship to AGW SDK docs

This section covers the agent workflow. For direct app integration with AGW SDKs, use the Abstract Global Wallet docs. For the underlying session-key model, see Session keys.

Get started

Install and Authenticate

Install AGW CLI and link it to a wallet.

Run AGW as MCP

Expose AGW capabilities to MCP-capable hosts.