Skip to content

CLI Reference

The agent-adapter CLI is the primary way to manage your adapter from the terminal.

Initialize a new adapter configuration directory.

Terminal window
agent-adapter init my-adapter

Creates a directory with default agent-adapter.yaml and system prompt file.

Start the adapter runtime. Launches the embedded agent loop, management API, and dashboard.

Terminal window
agent-adapter run
# Or with a specific config:
agent-adapter run --config ./my-config.yaml

List all discovered capabilities with their pricing status.

Terminal window
agent-adapter capabilities list

Set pricing for a specific capability.

Terminal window
agent-adapter capabilities price enrich_lead \
--amount 0.02 \
--model per_call \
--currency USDC

Set default pricing for all unpriced capabilities.

Terminal window
agent-adapter capabilities price-default \
--amount 0.05 \
--model per_call

Disable a capability. It will no longer be offered to platforms.

Terminal window
agent-adapter capabilities disable get_company_info

Import an existing wallet.

Terminal window
# From keypair file
agent-adapter wallet import --keypair ./wallet.json
# From base58 key
agent-adapter wallet import --key "base58-encoded-key"

Display the adapter’s public key.

Display current SOL and token balances.