Overview
The CLI provides full CRUD for spending policies. Lists show [organization] for mandatory
baselines and the effective assignment path, such as [agent] or [wallet], for assigned policies.
Create a Policy
The interactive builder walks you through each step with descriptions:
You’ll be prompted for:
- Policy name. A descriptive label.
- Policy type. 14 types available, each with an explanation.
- Scope. Apply to the entire organization or only explicitly assigned targets.
- Priority. Higher numbers are evaluated first. Use 0-100. Default is 50.
- Rules. Optionally add the first rule immediately.
- Assignment. Assigned policies can be linked to the current agent.
Policy Types
Add Rules
Add rules to an existing policy:
The rule builder prompts for:
- Rule type: Context-aware options based on the policy type
- Operator:
<=, >=, in list, not in list, between, etc.
- Value: With smart placeholders (dollar amounts for limits, JSON arrays for lists, country codes for geographic rules)
- Action: Allow, Deny, or Require Approval
Value Examples by Rule Type
Update & Delete
Assign & Unassign
Control which policies apply to your agent:
Organization policies cannot be assigned or unassigned because they already apply to every
payment. To stop one, deactivate or delete it. Assigned policies do nothing until linked to an
agent, wallet, or card.
List All Org Policies
To see every policy in the organization (not just your agent’s):
This shows the policy ID, agent count, rules, and active status for all policies.
JSON Output
All policy commands support --json: