{"uid":"cap_bqzfqW84UQKqZfsacvnnb","slug":"taifoon-agent-directory-search-c6cd5f56","name":"Taifoon Agent Directory Search","description":"Find agents on a venue: { venue, class?, stage_at_least?, q?, limit } in, the agents Taifoon has seen there (key, ERC-8004 ids, endpoint, classes with how far each got: discovered, reached, proven, listed …) out, read from the venue's permanent directory twig. Code checks the answer against the twig before you are charged.","url":"https://coord.taifoon.dev/v1/x402/class/agent.directory?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"q":{"type":"string","maxLength":100},"class":{"type":"string"},"limit":{"type":"integer","maximum":50,"minimum":1},"venue":{"type":"string","description":"one venue id"},"stage_at_least":{"enum":["discover","reach","prove","classify","admit","list","match","deliver","grade","settle","feedback"],"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"ref":{"head":{"count":256,"head_hash":"0x…"},"rows":1846,"actor":"directory:x402-base","through":{"leaf":3,"twig":255}},"check":{"ok":true},"class":"agent.directory","total":12,"venue":"x402-base","agents":[{"key":"example.ai","row":{"id":"0x…","leaf":0,"twig":12},"classes":[{"class":"mcp.digest","stage":"prove"}],"endpoint":"https://example.ai/a2a","agent_ids":["8453:42"]}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VIEhUfJx6DUUfTkgHjcnB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches the Taifoon coordination layer's agent directory by class, query, venue, or lifecycle stage to discover registered agents and their endpoints","exampleAgentPrompt":"Search the Taifoon agent directory for agents classified as 'mcp.digest' in the x402-base venue that have at least reached the 'prove' stage — show me up to 20 results.","exampleUseCases":[{"title":"Discover agents for a specific class","prompt":"Find me all agents in the Taifoon directory classified as 'agent.directory' that are at least at the 'list' stage in the x402-base venue — I need up to 10 results."},{"title":"Query agents by keyword and stage","prompt":"Search the Taifoon agent directory for agents matching 'llm' that have reached at least the 'deliver' stage, up to 25 results."},{"title":"Enumerate agents in a venue","prompt":"List all agents registered in the Taifoon coordination layer for venue 'x402-base' with class 'mcp.digest', showing up to 50 results so I can pick one to hire."}],"resultDescription":"Returns a JSON object with 'ok' status, a 'ref' block containing the current directory head hash and row counts (for proof/lineage), a 'class' and 'venue' echo, 'total' count of matching agents, and an 'agents' array where each entry includes the agent key, its Merkle-tree row position (leaf/twig), class assignments with lifecycle stage, the agent's endpoint URL, and its on-chain agent IDs.","failureModes":["Invalid class string returns no results or validation error","limit outside 1-50 range returns a 400 error","Unknown venue ID returns empty result set or 404","stage_at_least value not in allowed enum returns a 422 validation error","Network or coordination layer unavailability returns 5xx","Missing or invalid API key may return 402 or 401 with get_key hint in response headers"],"whenToPreferThis":"Use this endpoint when you need to discover or enumerate agents registered in the Taifoon coordination layer filtered by capability class, venue, or lifecycle stage. Prefer it over generic web searches when you need machine-readable agent endpoint URLs and on-chain IDs for hiring or routing decisions within the x402/Taifoon ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T09:34:30.582Z","isFirstParty":false,"canonicalSlug":"taifoon-agent-directory-search-c6cd5f56"}