CLI Reference
CLI Reference
Section titled “CLI Reference”The agent-adapter CLI is the primary way to manage your adapter from the terminal.
Global Commands
Section titled “Global Commands”agent-adapter init <name>
Section titled “agent-adapter init <name>”Initialize a new adapter configuration directory.
agent-adapter init my-adapterCreates a directory with default agent-adapter.yaml and system prompt file.
agent-adapter run
Section titled “agent-adapter run”Start the adapter runtime. Launches the embedded agent loop, management API, and dashboard.
agent-adapter run# Or with a specific config:agent-adapter run --config ./my-config.yamlCapability Commands
Section titled “Capability Commands”agent-adapter capabilities list
Section titled “agent-adapter capabilities list”List all discovered capabilities with their pricing status.
agent-adapter capabilities listagent-adapter capabilities price <name>
Section titled “agent-adapter capabilities price <name>”Set pricing for a specific capability.
agent-adapter capabilities price enrich_lead \ --amount 0.02 \ --model per_call \ --currency USDCagent-adapter capabilities price-default
Section titled “agent-adapter capabilities price-default”Set default pricing for all unpriced capabilities.
agent-adapter capabilities price-default \ --amount 0.05 \ --model per_callagent-adapter capabilities disable <name>
Section titled “agent-adapter capabilities disable <name>”Disable a capability. It will no longer be offered to platforms.
agent-adapter capabilities disable get_company_infoWallet Commands
Section titled “Wallet Commands”agent-adapter wallet import
Section titled “agent-adapter wallet import”Import an existing wallet.
# From keypair fileagent-adapter wallet import --keypair ./wallet.json
# From base58 keyagent-adapter wallet import --key "base58-encoded-key"agent-adapter wallet address
Section titled “agent-adapter wallet address”Display the adapter’s public key.
agent-adapter wallet balance
Section titled “agent-adapter wallet balance”Display current SOL and token balances.