Setup
Configuration
The plugin reads its configuration from theplugins.nevermined section of your openclaw.json:
Configuration Fields
| Field | Required | Default | Description |
|---|---|---|---|
nvmApiKey | No | — | Your Nevermined API key. Can be set via /nvm_login instead. |
environment | No | sandbox | Target environment: sandbox for testing, live for production. |
planId | No | — | Default payment plan ID. When set, subscriber tools use this plan automatically. |
agentId | No | — | Default agent ID. Required for plans with multiple agents. |
creditsPerRequest | No | 1 | Number of credits consumed per request. |
enablePaidEndpoint | No | false | Enable the x402 paid HTTP endpoint on the gateway. |
agentEndpointPath | No | /nevermined/agent | HTTP path for the paid agent endpoint. |
Environment Details
| Environment | Description | Use Case |
|---|---|---|
sandbox | Test environment on Arbitrum Sepolia | Development, testing, integration |
live | Production environment on Arbitrum One | Live deployments with real payments |
Authentication Flow
The plugin supports a browser-based login flow identical to the Nevermined CLI:- User sends
/nvm_loginin any chat channel - The plugin starts a local HTTP server on a random port
- A browser window opens to the Nevermined login page
- After authentication, Nevermined redirects back with the API key
- The key is stored in the plugin’s in-memory config for the current session
Logging Out
Send/nvm_logout or call nvm_logout to remove the stored API key. All payment tools will require re-authentication after logout.
Default Values
WhenplanId and agentId are set in the config, all subscriber tools (checkBalance, getAccessToken, orderPlan, queryAgent) use them as defaults. You can always override them per-call by passing the parameter explicitly.
This is useful for gateways that serve a single plan — configure it once and all tools work without extra parameters.