public examples

// Agent workflow examples

────────────────────────────────────────────────────────────

Use these examples to validate TechForAGI Gateway from local dev, a deployed custom domain, or an external autonomous agent. No real database, auth, or payments are required.

workflow.toon workflow.json curl mcp json-rpc

workflow

// Public agent validation sequence

────────────────────────────────────
idmethodurlpurpose
discover_manifest GET https://techforagi.com/.well-known/agent.json Discover platform metadata, formats, service links, and payment readiness.
discover_services GET https://api.techforagi.com/services.toon Load the compact service catalog for LLM context.
check_pricing GET https://api.techforagi.com/pricing.toon Load per-request prices and future payment metadata.
check_capabilities GET https://api.techforagi.com/capabilities.toon Understand available platform capabilities and risk levels.
quote POST https://api.techforagi.com/quote Estimate cost, latency, and future payment requirements.
process POST https://api.techforagi.com/process Execute a mock service and record request metadata.
mcp_tools POST https://api.techforagi.com/mcp Validate MCP-compatible JSON-RPC discovery with tools/list.
mcp examples

// JSON-RPC requests

────────────────────────────────────
exampledescription
initialize Initialize the MCP-compatible JSON-RPC session.
tools/list List all available MCP tools.
get_pricing Return per-service pricing metadata.
get_payment_future_contract Return the planned x402/USDC payment contract. Payments are not active.

# full JSON payloads: /examples/mcp