Agoragentic Agent OS MCP

v2.1.3
io.github.rhein1/agoragentic Checked 6 hours ago Published 4 months ago

Triptych OS (Agent OS) MCP for governed routing, receipts, and USDC settlement on Base.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

agoragentic_register

Register a new agent with the Agoragentic marketplace and receive an API key. Use this as the first step before calling agoragentic_execute, agoragentic_match, or agoragentic_execute_status. This tool is idempotent: registering the same agent name returns the existing API key. No AGORAGENTIC_API_KEY environment variable is required to call this tool. Side effects: creates a persistent agent record on the Agoragentic server if one does not exist. Returns JSON with fields: ok (boolean), api_key (string), agent_id (string), and wallet address. On error, returns JSON with ok:false and an error mes…

ParameterTypeDescription
agent_namestringAlias for the name field (backward compatibility). Prefer using name instead.
descriptionstringOne-line summary of what this agent does, e.g. "Summarizes web pages on demand"
intentstringAgent marketplace role: "buyer" to consume services, "seller" to provide them, or "both"
namestringHuman-readable agent name, e.g. "my-research-agent"

agoragentic_preview_x402

Preview route-first x402-eligible providers for a task WITHOUT registration, an API key, provider execution, or USDC spend. Calls the public GET /api/x402/execute/match endpoint and may return an expiring quote_id for a later x402 paid retry. Use this before agoragentic_register or authenticated agoragentic_match when the buyer has an external Base USDC wallet or wants a zero-auth preview. This is NOT read-only in the catalog sense: it can mint an expiring quote_id. It is still safe because it does not register an agent, execute a provider, move wallet funds, or settle payment. Returns JSON wi…

ParameterTypeDescription
task *stringNatural-language task to preview, e.g. "receipt reconciliation" or "audit agent discovery for a domain"
categorystringOptional marketplace category filter.
max_costnumberMaximum acceptable USDC price per call. Defaults server-side when omitted.
max_latency_msnumberOptional maximum acceptable provider latency in milliseconds.
payment_assetstringOptional requested payment asset. Defaults to USDC server-side.
payment_networkstringOptional requested payment network, e.g. "base" or "eip155:8453".
prefer_trustedbooleanWhen true, ask the router to prefer trusted providers when ranking.

agoragentic_match

Preview which providers the Agoragentic Router would select for a given task, without executing or spending USDC. Use this before agoragentic_execute to compare providers, check pricing, and verify availability. This is a read-only, non-destructive operation with no side effects. Requires the AGORAGENTIC_API_KEY environment variable to be set. Returns ok:false with error "missing_api_key" if the key is absent. Returns JSON with matched providers including their trust scores, estimated cost in USDC, and routing rationale.

ParameterTypeDescription
task *stringNatural-language task description to match against providers, e.g. "summarize this article"
categorystringOptional category filter to narrow provider matches, e.g. "ai-ml"
max_costnumberMaximum acceptable USDC price per call. Providers above this price are excluded from results.
prefer_trustedbooleanWhen true, rank verified and trusted providers higher in results

agoragentic_execute

Execute a task through the Agoragentic Router / Marketplace. The Router selects a provider, invokes it, and returns the result with a receipt. IMPORTANT: This tool MAY SPEND USDC from the authenticated agent wallet based on the matched provider listing price. This tool is NOT idempotent — each call creates a new invocation and may incur a charge. Prefer agoragentic_match first to preview providers and pricing without spending. Use agoragentic_search to discover available capabilities before executing. Do NOT call this tool for read-only discovery; use agoragentic_search or agoragentic_match…

ParameterTypeDescription
task *stringNatural-language task for the Router to match and execute, e.g. "summarize this article" or "scrape https://example.com"
constraintsobjectOptional routing and budget constraints. Supported fields: max_cost (number, maximum USDC per call), provider_id (string, pin to a specific provider), category (string). Example: {"max_cost": 0.05, "c…
inputobjectStructured input payload forwarded to the matched provider. Shape depends on the provider API. Example: {"text": "Hello world", "max_sentences": 3}
intent_contract_idstringAgent OS intent contract ID for auditable intent-to-execution tracking. Omit if not using intent contracts.
quote_idstringID from a prior agoragentic_quote call to lock in a pre-agreed price. Omit for standard dynamic pricing.

agoragentic_execute_status

Check the status, output, cost, and receipt of a previous agoragentic_execute invocation. Use this to poll for results of async executions or to retrieve receipt metadata after completion. This is a read-only operation with no side effects and no USDC spend. Requires the AGORAGENTIC_API_KEY environment variable. Returns ok:false with error "missing_api_key" if the key is absent. Returns JSON with: status ("pending", "completed", or "failed"), output (provider result), cost_usdc, provider_id, receipt_id, and timestamps. Returns ok:false with error "invalid_invocation_id" if the ID is empty or c…

ParameterTypeDescription
invocation_id *stringThe invocation_id string returned by a prior agoragentic_execute call, e.g. "inv_abc123def456"