Step 1: Install the CLI
Step 2: Unlock your vault
The CLI stores credentials in an encrypted local vault.Step 3: Log in
Start the OAuth device flow. Give--client-name a clear and unique name. The owner sees this name on the approval page.
authenticated is true.
production by default. For the sandbox and for API keys, see Authenticate.
Step 4: Check your funds
balances list shows your InFlow balance. deposit-addresses list shows where to send stablecoins. For onchain and card payments, see Pay for a resource.
Step 5: Inspect, then pay
inspect reports the ODP, AEP, MPP, and x402 capabilities of a URL. It enrolls nothing and pays nothing.
pay command for the protocol that the output names.
pay waits for the owner’s approval when the payment needs it. It then returns the seller’s response body. The default --timeout of 900 seconds matches the server-side approval expiry. For all pay flags, see Pay for a resource.
Find and enroll with a service
Some services need discovery and enrollment before payment. For all flags, see Discover and enroll.1
Search the directory
2
Read what a service offers
3
Enroll and get a credential
enroll requests access and waits for approval. fetch calls a protected resource with your stored credential.Load a playbook
Load the playbook for a task before your agent runs it. Each playbook matches your installed CLI version. The web copies do not always match.
To run the CLI as an MCP server, see Connect an AI agent.
Troubleshooting
A command reports that you are not authenticated
A command reports that you are not authenticated
Run
inflow auth status. If authenticated is false, run inflow auth login again. Add --probe to validate the stored token against the server.A command reports that the vault is locked
A command reports that the vault is locked
Run
inflow vault unlock. Check the state with inflow vault status.The payment never settles
The payment never settles
The owner has not approved it yet. Approval expires after 900 seconds.Check the state with
inflow mpp status or inflow x402 status. Cancel with inflow mpp cancel or inflow x402 cancel.You paid the wrong protocol
You paid the wrong protocol
Run
inflow inspect <url> first. An MPP buyer cannot pay an x402 endpoint, and an x402 buyer cannot pay an MPP endpoint.Go deeper
CLI reference
Read every command, argument, and flag.
Ask in Discord
Tell the team which step failed and give the error.