@agentwallex/cli
v0.9.1
Published
AgentWallex CLI — manage AI agent payments from the command line
Downloads
927
Maintainers
Readme
@agentwallex/cli (awx)
Command-line tool for managing AgentWallex agents, payments, policies, and more.
Installation
npm install -g @agentwallex/cliOr run directly:
npx @agentwallex/cliQuick Start
# Authenticate
awx login
# Create an agent on Base
awx agents create research-bot --chain base
# Check balance
awx balance <agent-id>
# Send a transfer
awx transfer <agent-id> --to 0xRecipient... --amount 25.00 --chain baseCommands
| Command | Description |
|---------|-------------|
| awx login | Authenticate with your AgentWallex API key |
| awx status | Show current authentication and account status |
| awx agents create | Create a new AI agent |
| awx agents list | List all agents |
| awx agents get <id> | Get agent details |
| awx agents update <id> | Update agent info |
| awx agents delete <id> | Delete an agent |
| awx balance <id> | Check agent wallet balance |
| awx transfer <id> | Send a USDC transfer |
| awx transactions list | List transactions |
| awx transactions get <id> | Get transaction details |
| awx policies create | Create a spending policy |
| awx policies list | List policies |
| awx policies update <id> | Update a policy |
| awx policies delete <id> | Delete a policy |
| awx approvals list | List pending approvals |
| awx approvals approve <id> | Approve a request |
| awx approvals reject <id> | Reject a request |
| awx account | View account info |
| awx topup | Top up account balance |
| awx webhooks create | Create a webhook |
| awx webhooks list | List webhooks |
| awx webhooks delete <id> | Delete a webhook |
Interactive Mode
Running commands without required arguments enters guided prompts. For example:
awx agents create
# Prompts for: name, chain, descriptionSupported Chains
- Base — Fast, low-cost L2
- Ethereum — Mainnet
- BSC — Binance Smart Chain
- Tron — TRC-20 transfers
- Polygon — Polygon PoS
- Solana — SPL token transfers
Links
License
MIT
