{"uid":"cap_vJL0wBKWe5SQnj3Z5Jrbc","slug":"writerslogic-delegation-contract-checker-ff0fd5d2","name":"WritersLogic Delegation Contract Checker","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/delegation-contract-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"budget":{"type":"object","properties":{"maxUsd":{"type":"number","maximum":1000000,"minimum":0},"maxTokens":{"type":"integer","maximum":10000000000,"minimum":0},"maxSeconds":{"type":"integer","maximum":31536000,"minimum":0},"maxToolCalls":{"type":"integer","maximum":10000000,"minimum":0}},"additionalProperties":false},"require":{"type":"array","items":{"enum":["objective","acceptanceCriteria","budget","evidenceRequired","stopConditions","outputFormat"],"type":"string"},"maxItems":6,"minItems":1,"description":"Parts that must be present. Default: objective, acceptanceCriteria, budget, evidenceRequired, stopConditions."},"objective":{"type":"string","maxLength":2000},"outputFormat":{"type":"string","maxLength":2000},"stopConditions":{"type":"array","items":{"type":"string","maxLength":2000},"maxItems":30,"description":"When the delegate must stop and report (done, blocked, budget spent)."},"evidenceRequired":{"type":"array","items":{"type":"string","maxLength":2000},"maxItems":30,"description":"What the delegate must return as proof (links, test output, file paths)."},"acceptanceCriteria":{"type":"array","items":{"type":"string","maxLength":2000},"maxItems":30}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_8rjTQIYZQ90pVIKjGJNXi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates that an agent-to-agent delegation brief contains all required sections, non-empty content, positive budget bounds, non-vague acceptance criteria, and no duplicate entries before handoff.","exampleAgentPrompt":"Before I hand this task to the sub-agent, check the delegation brief — objective is 'Summarize Q3 earnings report', acceptance criteria are ['summary is under 500 words', 'all key metrics included'], budget is maxUsd $10, evidence required is ['output file path'], stop conditions are ['task complete', 'budget exhausted'] — does it pass?","exampleUseCases":[{"title":"Pre-flight check before sub-agent dispatch","prompt":"Before I dispatch this task to the research agent, validate the brief: objective is 'Find top 5 competitors in the EV market', acceptance criteria are ['at least 5 companies listed', 'each with market share data'], budget maxUsd is $5, evidenceRequired is ['source URLs for each company'], stopConditions are ['list complete', 'no more data found']. Does it pass?"},{"title":"Catch vague acceptance criteria in a writing task","prompt":"Check this writing delegation brief for quality issues — objective is 'Write a blog post about AI trends', acceptance criteria are ['good writing quality', 'appropriate length', 'if possible include examples'], budget maxTokens is 50000, evidenceRequired is ['final markdown file'], stopConditions are ['draft complete']. Are the acceptance criteria too vague to pass?"},{"title":"Validate a data pipeline sub-agent contract","prompt":"Run a delegation contract check on this brief before I send it to the data agent: objective is 'Clean and deduplicate the customer CSV', acceptanceCriteria are ['zero duplicate rows', 'all emails valid format'], budget maxSeconds is 3600, evidenceRequired is ['cleaned file path', 'row count before and after'], stopConditions are ['file processed', 'error encountered']. Is everything in order?"}],"resultDescription":"Returns a verdict of pass, fail, or unknown. Pass means all required sections are present, non-empty, have no duplicates, budget has at least one positive bound, and acceptance criteria contain no exclusively vague wording. Fail means a required part is missing or a budget bound is not positive. Unknown means only vague-wording hints are present in acceptance criteria or there are repeated entries. Typically includes per-field details about what triggered the verdict.","failureModes":["Missing required section → fail verdict with the name of the missing field","Budget with all zero or missing bounds → fail verdict","Acceptance criteria consisting entirely of flagged vague words (good, appropriate, if possible) → unknown verdict","Duplicate entries in arrays → unknown verdict","Empty strings passed for required fields → fail verdict","require array is empty or missing → validation error"],"whenToPreferThis":"Use this endpoint when an orchestrator agent needs to programmatically gate task delegation — ensuring sub-agent briefs meet structural quality standards before dispatch. Prefer this over manual review or generic JSON schema validation when you need semantic checks like vague-wording detection in acceptance criteria or positive-bound enforcement on budgets. Ideal for multi-agent pipelines where poorly formed briefs could cause wasted compute or unrecoverable sub-agent behavior.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:36:43.811Z","isFirstParty":false,"canonicalSlug":"writerslogic-delegation-contract-checker-ff0fd5d2"}