Xpenvo Agents
v0.1.0See what an AI agent's budget has left, and check and record tool spending against hard limits.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
xpenvo_status Budget left
How much this agent can still spend: whether it may spend now, dollars left on each budget, and for a run what it has spent. Free; changes nothing. Check it before starting expensive work.
| Parameter | Type | Description |
|---|---|---|
run | string | Your own id for this agent run, to apply per-run limits. Never personal data. |
xpenvo_charge Charge tool spending
Before paying for something that is not a model call (a search API, scraping, a paid tool), check its known cost against the budget and charge it. If refused, do not make the paid call.
| Parameter | Type | Description |
|---|---|---|
label * | string | Short name of the tool or service, e.g. "serpapi". Letters, digits and _ . : / - only. |
usd * | number | The cost in US dollars |
customer | string | Your own id for the end customer, to apply per-customer limits. Never an email address. |
run | string | Your own id for this agent run, to apply per-run limits. Never personal data. |
xpenvo_hold Hold tool spending
When the cost is not known in advance, hold the most it could cost before the paid call. Afterwards call xpenvo_settle with the real cost, or xpenvo_release if it did not happen. A hold never closed is charged in full when it expires.
| Parameter | Type | Description |
|---|---|---|
label * | string | Short name of the tool or service |
maxUsd * | number | The most it could cost, in US dollars |
customer | string | Your own id for the end customer, to apply per-customer limits. Never an email address. |
run | string | Your own id for this agent run, to apply per-run limits. Never personal data. |
ttlMinutes | integer | How long to hold it (default 15) |
xpenvo_settle Settle a hold
Charge the real cost of a hold made with xpenvo_hold and free the rest.
| Parameter | Type | Description |
|---|---|---|
id * | string | The hold id (req_...) |
usd * | number | The real cost in US dollars |
xpenvo_release Release a hold
Free a hold made with xpenvo_hold when the paid call did not happen.
| Parameter | Type | Description |
|---|---|---|
id * | string | The hold id (req_...) |