Option 1: Paste to your agent
Option 2: Run yourself
Install the plugin:Multi-agent support
Each agent can have its own API key (and therefore its own wallet, policy, and spending limits):~/.openclaw/xwell/agents/<id>/xwell.json.
If an agent has no per-agent config, it falls back to the default config with a warning.
CLI commands
| Command | Purpose |
|---|---|
openclaw xwell configure <key> | Save API key |
openclaw xwell status | Show current config |
openclaw xwell disconnect | Remove credentials |
openclaw xwell list | List all configured agents |
Tools available
After setup, the agent has these native tools:| Tool | Purpose |
|---|---|
xwell_fetch | Make request, auto-handle 402 payment |
xwell_preflight | Check affordability before paying |
xwell_check_endpoint | Probe for 402 without paying |
xwell_balance | Wallet balances across chains |
xwell_spending | Daily spend vs. cap |
xwell_history | Recent transactions |
xwell_whoami | Agent identity and limits |
xwell_discover | Browse marketplace |
Cross-compatibility
The plugin also checks~/.xwell/config.json and the XWELL_API_KEY environment variable. If you’ve already configured via the CLI, the plugin picks it up automatically.