How it works
The life of a purchase request
Follow a research agent as it buys a competitor data summary: from request to result, and what happens if any step fails.
Step 1You · once
Connect your agent, register a main wallet
The connector generates an Agent payment wallet on your computer. Its private key stays on your computer and is not sent to the server. AvaFence servers hold neither private keys nor funds.
- Agent: install the connector where your agent runs. It sends the agent’s purchase requests to the workbench.
- Wallet: register your own wallet as the main wallet for funding and withdrawals; the agent cannot use it. The Agent payment wallet signs locally. Use Base Sepolia testnet; Avalanche Fuji is coming soon. Withdrawals are coming soon.
Research agent
Payment wallet
Purchase permission
Step 2You · adjust any time
Set a purchase permission
Four fields: total budget, per-payment cap, auto-approve amount and expiry.
- Auto-approve amount — payments up to this amount go through; anything above it comes to you.
- Every change creates a new version. A decision started on an older version can’t override the new limits.
- Total budget
- 0.10USDC
- Per-payment cap
- 0.02USDC
- Auto-approve up to
- 0.01USDC
- Valid until
- 2026/11/30 23:59
- Bound to task
task_research_01
Steps 3–4Agent requests · AvaFence checks
One check, three outcomes
The check runs before signing. A request that fails it is never paid. Each signature is valid only for that recipient address. After payment, AvaFence checks the recipient and amount on-chain. The first payment to a new merchant needs your approval. Select an outcome to see what happens.
Check against permission v2
- Is it over the per-payment cap?
- Is there enough budget left?
- Is the permission active and not paused?
- Is it above the auto-approve amount?
Step 5Visible to you and the agent
Payment, delivery, result: recorded separately
Paid doesn’t mean delivered, and delivered doesn’t mean used. Each has its own status.
Payment
Signed locally by the Agent payment wallet and paid in USDC.
Delivery
What the merchant returned matches the order and arrived on time.
Result
The result goes back to the original task, and the agent continues its work.
task_research_01req_7f3a v1When things go wrong
Every failure has one defined path
| Situation | What AvaFence does | What you do |
|---|---|---|
| Payment failed or result unknown | The amount stays reserved while the result is looked up by the same request ID. Nothing is paid again until it resolves. | Usually nothing. If it can’t be resolved, it appears under “To verify”. |
| Paid, but not delivered or not as ordered | The payment stays “Confirmed”. Delivery is marked “Overdue” or “Mismatch” separately and is never counted as complete. | Follow up with the merchant from the purchase page. |
| You pause or revoke the permission | New payments are stopped. When you resume, pending requests are checked again against the permission as it stands then. | Do it any time from the permission page. |
| The permission changed before you decided | A decision made on the old version doesn’t take effect. You review the request again against the new version. | Confirm again when prompted. |
Permission Layer ≠ Decision Layer
It enforces limits. It makes no business decisions.
Allow or block means only one thing: whether the request is within your permission.
- Doesn’t choose merchantsWhat to buy and from whom is up to the agent.
- Doesn’t judge value for moneyIt checks the terms of your permission, not the quality of a service.
- Doesn’t touch other assetsIt only governs purchases under your permission. Other wallets or cards the agent holds don’t go through AvaFence.
- Withdrawals are coming soonWithdrawals will go only to your verified main wallet, with no transfers to arbitrary addresses.
Get started
Quickstart: connect your first agent
We only publish commands that have been tested.