Can this agent pay this address, now, this much? (free, log-only)
gate_checkChecks a proposed AI-agent payment against payee facts, ledger history, anomaly score, and policy rules, returning block/warn/log/allow with reasons.
Instructions
One call before an agent pays: the payee facts, the agent's own context from our ledger (what it paid in the period, how often, whether and when it first paid this payee, how many new payees today), the out-of-character score of this payment as the agent's next, and a decision under a policy written in the AP2 mandate vocabulary (allowed_payees, amount_range, budget {max, period: daily|rolling_24h|rolling_7d}, agent_recurrence, execution_date) plus ours: new_payee {max, window_hours, max_new_per_day, step_up_ratio, step_up_days}, refuse_conditions {fact: block|warn|log|ignore} and signal {v2: {notable, major}}. Anything the evaluator does not understand fails closed. Named policies: log-only (default), balanced, recommended, recommended-v3, strict (their measured cost on 500 real agents is in the policy document). The answer is block / warn / log / allow with every reason, and is recorded in log-only mode: we never block anything; your client decides, and decides its own fail mode when we are unreachable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | The paying agent: token id, act_8453_N, slug or bound wallet | |
| payee | Yes | The 0x address to be paid | |
| policy | No | Or your own policy object in the AP2 vocabulary; unknown keys fail closed | |
| amount_usd | Yes | The amount in USD | |
| policy_name | No | A named policy (default log-only) |