Workflows
The install pages put the SDK on the machine. The workflow pages explain how to operate it successfully after that point.
All operations described below execute locally on the operator's machine. WLFI does not custody, process, or facilitate any transaction.
Core workflow
Create or reuse a wallet - includes encrypted offline backup
Add manual approval - only if some requests should pause for human review
That is the main product path. Everything else is supporting configuration or maintenance.
Request execution path
Once the wallet is funded and policy exists, every transfer request follows one of two security-controlled runtime paths: it either clears policy and broadcasts immediately, or it pauses for manual approval.
Read the sequence from left to right:
Request -> Policy — The CLI submits the request to the local daemon via Unix socket. The daemon forwards it to the Policy Engine (
vault-policy/PolicyEngine) for evaluation against all applicable policies. Policy always runs before signing. See Policy for howAllPoliciesvsPolicySetattachments affect evaluation.Auto-approve path — If policy allows the request, the daemon delegates to the signer (
vault-signer), which returnsraw_tx_hex. The CLI then broadcasts to the EVM RPC and returns the result.Manual approval path — If a manual approval rule matches, the daemon pauses the request and returns an approval ID. The operator approves via local CLI. After approval, the daemon signs and the CLI broadcasts.
That second branch is configured through Manual approval.
Supporting pages
Use cases - concrete day-to-day scenarios including gift card purchases
Agent auth - credential rotation and migration
Reset and uninstall - clear state or remove AgentPay
Troubleshooting - common errors and repair
Recommended first live test
If you want one realistic end-to-end validation path, use this:
Run
agentpay admin setupFund the wallet on the EVM network you plan to use
Define a modest base policy for routine transfers
Submit a small test transfer that should clear policy
Add a manual approval threshold for larger requests
Submit a larger test transfer that should trigger manual approval
Approve it through the local admin CLI
The default reference example in these docs uses BSC and USD1, but the same sequence applies on any supported EVM network once your chain and token settings are correct.
Last updated