Untch docs

Rulesets that govern agent spend, anchored on PolicyRegistry.

Policy

A policy is the ruleset Untch evaluates against every SpendIntent. You create it in the dashboard or via ASP admin tools. The ruleset is hashed. That hash is what the intent must commit to.

What a policy controls

AreaExamples
BudgetsDaily spend limit and token symbol
CapsPer-call maximum
EscalationAmounts above a threshold need human approval
CategoriesAllow or deny slugs such as market-data
RecipientsAddress allow/deny lists
AgentsWorker agent allow/deny
DuplicatesTTL for task + endpoint + params repeats
CooldownsMinimum minutes between calls to the same service
Rate limitsCalls per rolling hour
VendorsOptional LCB floor (Trust Bureau)
ProofOptional required proof tier by amount
AnchoranchorIntentsAbove for on-chain intent registration

Lifecycle

  1. Build rules (JSON or guided form in the dashboard).
  2. Register on PolicyRegistry (owner wallet signs).
  3. Receive policyId and durable store row.
  4. Update, pause, or resume as needed (operator-signed).

Paused or expired policies fail closed: preflight returns BLOCKED_NO_ACTIVE_POLICY.

Binding integrity

The intent’s policyHash must equal the stored policy’s hash. Mismatch returns POLICY_BINDING_MISMATCH. An agent cannot preflight under a different ruleset than it claimed.

Operator UX

Related