# AgentPay Guard

Deterministic spend and risk policy for any Ulpi tool call.

- Type: Plugin
- Version: 0.3.0
- Updated: 22 Nov 2026
- Publisher: tmdry4530
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Deterministic spend and risk policy for any Ulpi tool call. A pre_tool_call hook reads the tool name and arguments, finds amount, currency and payee, and applies per-call and daily limits, a payee allowlist, a currency list and an approval threshold.

Hard-limit violations are blocked; over-threshold calls go to Ulpi's own approval prompt (escalate mode) or are blocked into a local approval queue that only a person can release with /guard approve \<id\> as a single-use, exact-call, expiring grant with limits rechecked (strict mode). Executed spend is recorded in a local ledger from post_tool_call; /guard status\|queue\|ledger\|policy\|kill and a read-only guard_check dry-run tool.

Disclosure — no network calls, no shell commands, no subprocesses, no background process, no credentials, no Python dependencies; writes queue, ledger, grants and kill switch only under \<ULPI_HOME\>/plugin-data/agentpay-guard (argument hashes, not raw arguments); reads an optional policy.json from that same directory.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `guard_check`

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [agentplaybooks-tools](https://www.ulpi.io/en/marketplace/plugins/agentplaybooks-tools): Connect AgentPlaybooks skills and hosted MCP/OpenAPI tools to Ulpi, with guided setup, profile selection, permission diagnostics and an authenticated MCP check.
- [AgentPurse](https://www.ulpi.io/en/marketplace/plugins/agentpurse): Search, quote, and buy from an AgentPurse allowance on the PayPal sandbox.
- [AgentStatus Index](https://www.ulpi.io/en/marketplace/plugins/agentstatus-index): Live public MCP Index.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
