policy-gate

v0.2.0
dev.workers.3labsio.policy-gate/policy-gate Checked 4 days ago Published 3 months ago

Deterministic allow/require_approval/deny verdicts for agent actions, before they happen.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

policy_example

Free. Worked allow/require_approval/deny verdicts from the live policy engine, so you can judge the service before paying for it.

policy_rules

Free. The full built-in policy: every tier, rule, condition and rationale. Nothing about how a verdict is reached is hidden.

policy_check

Evaluate a proposed agent action against a policy and return allow / require_approval / deny with the matched rule and rationale. Paid per call via x402 ($0.005 USDC on Base); returns signing instructions when unpaid.

ParameterTypeDescription
request *object
ledgerobjectOptional cumulative exposure for the window. A per-action gate cannot see repetition: 49 payments of $40 each pass a $50 rule individually. Omit it and any policy declaring a cumulative bound returns…
policyobjectYour own policy document, evaluated instead of ours
policy_idstringBuilt-in policy id; see policy_rules. "default-action-tiers-capped" adds a cumulative spend bound.

first_42_sponsor

Pay Fieldproof $42. Returns every live rail: Stripe card_uri, EIP-681 usdc_uri, BIP-21 btc_uri, x402 POST /v1/sponsor, Zelle, and GET /v1/invoice. One settlement meets the first-$42 bar.