{"uid":"cap_ekqES59hedhjJVMTO4oz0","slug":"agent-guild-decision-api-agd-1-738b9df0","name":"Agent Guild Decision API (AGD-1)","description":"Machine-payable trust and payment-safety APIs for autonomous agents: rank counterparties before delegation, screen wallets before USDC settlement, buy signed AGD-1/AGPD-1 decisions, seal authenticated machine messages, and retain offline-verifiable evidence. Pay per call through x402 v2 on Base; verification and catalogs remain free.","url":"https://agent-guild-5d5r.onrender.com/check/decision","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"type":"string","const":"json"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"schema":{"type":"object"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["type","contract","issuer","capability","status","issued_at","valid_until","decision","routing","checkpoint","proof"],"properties":{"type":{"type":"string","const":"AgentGuildDecision"},"proof":{"type":"object","required":["type","cryptosuite","proofValue"],"properties":{"type":{"type":"string","const":"DataIntegrityProof"},"proofValue":{"type":"string"},"cryptosuite":{"type":"string","const":"eddsa-jcs-2022"}}},"issuer":{"type":"string","pattern":"^did:key:"},"status":{"type":"string"},"routing":{"type":"object"},"contract":{"type":"string","const":"AGD-1/1.0"},"decision":{"type":["object","null"]},"issued_at":{"type":"string","format":"date-time"},"capability":{"type":"string"},"checkpoint":{"type":"object"},"valid_until":{"type":"string","format":"date-time"}}},"example":{"type":"AgentGuildDecision","proof":{"type":"DataIntegrityProof","proofValue":"zExampleEd25519Signature","cryptosuite":"eddsa-jcs-2022","proofPurpose":"assertionMethod","verificationMethod":"did:key:z6MkExampleAgentGuildIssuer#z6MkExampleAgentGuildIssuer"},"issuer":"did:key:z6MkExampleAgentGuildIssuer","status":"supply","routing":{"endpoint":"https://agent.example/a2a","routable":true,"provider_id":"agent_example","reachability_status":"recently_reachable"},"contract":"AGD-1/1.0","decision":{"agent_id":"agent_example","contract":"AGD-1/1.0","estimate":0.93,"confidence":0.82,"reachability_status":"recently_reachable","recommended_for_routing":true},"issued_at":"2026-08-12T08:00:00+00:00","capability":"fact-check","checkpoint":{"index":123,"head_hash":"sha256:example","published_at":"2026-08-12T07:55:00+00:00"},"valid_until":"2026-08-12T09:00:00+00:00"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5RmnbWOkjmR7yhUd74mhr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a cryptographically signed AGD-1/1.0 trust decision for a given agent counterparty, including a trust estimate, reachability status, and routing recommendation, paid per-call via x402.","exampleAgentPrompt":"Before I delegate the fact-check task to agent_example, can you get me a signed AGD-1 trust decision on them — I need to know their trust estimate, whether they're reachable, and if they're recommended for routing?","exampleUseCases":[{"title":"Pre-delegation trust check for agent task","prompt":"I'm about to delegate a translation job to an external agent with ID agent_translate_pro — before I do, can you pull a signed AGD-1 trust decision on them so I know their trust estimate, confidence score, and whether they're currently reachable?"},{"title":"USDC payment safety screening","prompt":"I need to send USDC to an agent endpoint at https://agent.example/a2a before settling — can you get a certified AGD-1 decision on that agent so I have offline-verifiable proof it's safe to route the payment?"},{"title":"Routing recommendation for agent fleet","prompt":"I'm building a routing table for my agent fleet and need to pick the most trustworthy agent for capability 'fact-check' — can you fetch signed AGD-1 decisions for agent_example and return their routing recommendation and reachability status?"}],"resultDescription":"A JSON object conforming to AGD-1/1.0 contract, containing: a trust estimate (0–1 float) and confidence score, reachability_status and recommended_for_routing boolean, the agent's routable endpoint URL, a checkpoint with index and head_hash for audit trail, issued_at and valid_until timestamps, and a DataIntegrityProof (eddsa-jcs-2022) signed by a did:key issuer for offline verification.","failureModes":["Payment not received or x402 handshake failed — no decision returned","Unknown or unregistered agent_id — decision field may be null","Agent endpoint unreachable — reachability_status set to not_reachable or stale","Invalid capability string — may return error or empty routing object","Proof verification failure if issuer DID is rotated or revoked","Request timeout if counterparty data is not yet indexed in the checkpoint log"],"whenToPreferThis":"Choose this endpoint when you need a cryptographically signed, offline-verifiable trust decision (AGD-1/1.0) for an autonomous agent counterparty before delegating tasks or settling USDC payments. It is the right choice when you require an Ed25519 DataIntegrityProof you can retain as evidence, a reachability status with a routing recommendation, and a timestamped checkpoint. Prefer it over ad-hoc reputation lookups when auditability and non-repudiation matter, or when operating in a multi-agent environment where you cannot verify counterparties out-of-band.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:36:11.938Z","isFirstParty":false}