{"uid":"cap_wZCWxd2czpTpSU5_Xv-Ew","slug":"screwtape-ai-ai-spending-authorization-audit-log-9533fcee","name":"Screwtape.ai AI Spending Authorization & Audit Log","description":"Screwtape advises and records. Your agent must cooperate by checking the result before acting; we do not hold funds or independently stop payments.","url":"https://screwtape.ai/a2a?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"body":{"type":"object","properties":{"task":{"type":"string"},"retain":{"type":"boolean"},"version":{"type":"string","description":"Optional version tag for that agent."},"agent_id":{"type":"string","description":"Optional tag for the agent making this call."},"criteria":{"type":"array","items":{"type":"string"}},"evidence":{"type":"array","items":{"type":"string"}},"agent_output":{"type":"string"}}},"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"}}},"output":{"type":"object","properties":{"type":{"type":"string"},"schema":{"type":"object"},"example":{"type":"object"}}},"description":{"type":"string"}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["verdict","score","reasons","request_id"],"properties":{"model":{"type":["string","null"]},"score":{"type":["number","null"],"description":"null when no model gave a verdict (degraded)."},"engine":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}},"verdict":{"enum":["pass","fail","retry"],"type":"string"},"degraded":{"type":"object"},"retention":{"type":"object"},"request_id":{"type":"string"}}},"example":{"score":0.9,"checks":[],"claims":[{"text":"The crew size was 4.","status":"supported"},{"text":"The mission launched from Cape Canaveral.","status":"supported"}],"engine":"deterministic","reasons":["2 of 2 claims are grounded in the supplied evidence.","2 of 2 criteria matched the output.","Deterministic string checks only. No model was called."],"verdict":"pass","retention":{"retained":false},"request_id":"example-request-id","verification":"heuristic"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JfO04yW2as6gcCXj-dJij","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates whether an AI agent should be permitted to make a payment, returning a pass/fail/retry verdict with reasoning and an immutable audit record.","exampleAgentPrompt":"Before you spend that $45 on the API subscription, check with Screwtape to get a pass or fail verdict on whether this purchase is within policy, and make sure the decision is logged for audit.","exampleUseCases":[{"title":"Pre-purchase guardrail for autonomous agent","prompt":"My shopping agent wants to buy a $200 software license — run it through Screwtape first and only proceed if you get a pass verdict, then show me the request ID as proof."},{"title":"Budget policy enforcement for agent fleet","prompt":"Before any agent in my fleet spends more than $50, have it call Screwtape with the transaction details and block the payment if the verdict comes back as fail or retry."},{"title":"Compliance audit trail for agent transactions","prompt":"Every time my agent makes a payment decision, I need Screwtape to log it and return a request ID so I can pull the audit record later and prove the agent followed our spending rules."}],"resultDescription":"A JSON object containing a verdict ('pass', 'fail', or 'retry'), a numeric confidence score (null if degraded), an array of human-readable reasons explaining the decision, a unique request_id for audit retrieval, the engine used (e.g. 'deterministic'), and optional retention and degraded status objects.","failureModes":["Degraded mode: model unavailable, score returned as null with degraded object populated","Invalid input: missing required fields returns an error","Retry verdict: ambiguous case where agent should re-evaluate before acting","Network timeout: agent should retry the call before defaulting to any action","Policy misconfiguration: criteria not matching any rules, resulting in inconclusive verdict"],"whenToPreferThis":"Use Screwtape when you need a lightweight, per-call authorization gate before an AI agent executes a payment, especially when you require an immutable audit trail with a request_id. Prefer this over building custom guardrail logic when you need explainable verdicts with reasons, support for pass/fail/retry semantics, and low-latency checks at $0.005 per call. It is particularly suited for agentic workflows where the agent itself must check the result and cooperate — not for escrow or fund-holding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T12:34:07.923Z","isFirstParty":false,"canonicalSlug":"screwtape-ai-ai-spending-authorization-audit-log-9533fcee"}