{
  "aiendpoint": "1.0",
  "service": {
    "name": "DDG Agent-Payable Services",
    "description": "AI-agent-only paid services for checkout proof, security audits, discovery repair, model/artifact runs, and browser evidence.",
    "category": [
      "developer",
      "finance",
      "data"
    ],
    "language": [
      "en"
    ]
  },
  "capabilities": [
    {
      "id": "order_intake",
      "description": "Pay and queue any manual/beta DDG agent service with receipt/status/artifact URLs.",
      "endpoint": "/v1/order-intake",
      "method": "POST",
      "params": {
        "service_id": "string, required -- service id from pricing/catalog",
        "target": "object, optional -- URL/repo/goals/files for the requested service",
        "budget_usd": "number, optional -- buyer budget cap"
      },
      "returns": "202 with order_id/status_url/artifact_url/receipt_console_url after valid payment; 402 challenge before payment"
    },
    {
      "id": "agent_payment_readiness_audit",
      "description": "Checkout/payment conformance proof for agent-commerce APIs.",
      "endpoint": "/v1/order-intake",
      "method": "POST",
      "params": {
        "service_id": "string, required, value agent_payment_readiness_audit",
        "target_url": "string, required -- target service base URL"
      },
      "returns": "operator-reviewed JSON/Markdown evidence: 403/402/fake-payment/idempotency/status/artifact checks"
    },
    {
      "id": "agent_checkout_conformance",
      "description": "Machine-readable profile and probe target for validating DDG checkout behavior.",
      "endpoint": "/.well-known/ddg-agent-checkout-conformance.json",
      "method": "GET",
      "returns": "JSON conformance profile with expected headers, routes, and status ladder"
    },
    {
      "id": "strict_refund_reversal_policy",
      "description": "Machine-readable strict refund/reversal policy: no automatic free-work credits; approved reversals require entitlement revocation and reversal receipts.",
      "endpoint": "/.well-known/ddg-agent-refund-policy.json",
      "method": "GET",
      "returns": "JSON policy covering refund abuse controls, entitlement revocation, and reversal receipt requirements"
    },
    {
      "id": "model_chat_completions",
      "description": "Paid model-router completion endpoint for AI agents with budget caps and receipts.",
      "endpoint": "/v1/model/chat-completions",
      "method": "POST",
      "params": {
        "messages": "array, required",
        "model": "string, optional",
        "agent_profile": "string, optional -- cheap|standard|pro|premium",
        "max_budget_usd": "number, optional"
      },
      "returns": "OpenAI-compatible response or 402 challenge"
    },
    {
      "id": "model_agent_run",
      "description": "Bounded agent-task/artifact run using local or provider-backed DDG routes.",
      "endpoint": "/v1/model/agent-run",
      "method": "POST",
      "params": {
        "task": "string, required",
        "model": "string, optional route label",
        "runtime": "string, optional"
      },
      "returns": "bounded result/artifact metadata or 402 challenge"
    },
    {
      "id": "local_runtime_catalog",
      "description": "Discover healthy free/paid local model routes without raw backend URLs.",
      "endpoint": "/v1/ollama-models",
      "method": "GET",
      "returns": "JSON catalog with runtime/model routes, limits, seat policy, and health-derived availability"
    },
    {
      "id": "ai_skill_safety_scan",
      "description": "Static safety scan for Hermes/agent skills and workflows; free/lead-magnet beta.",
      "endpoint": "/v1/ai-skill-safety-scan",
      "method": "POST",
      "params": {
        "skill_markdown": "string, required",
        "linked_files": "array, optional"
      },
      "returns": "JSON risk findings with redacted secret-like evidence"
    },
    {
      "id": "mcp_tool_security_audit",
      "description": "Operator-reviewed MCP/tool auth, schema, installability, and prompt-injection audit.",
      "endpoint": "/v1/order-intake",
      "method": "POST",
      "params": {
        "service_id": "string, required, value mcp_tool_security_audit",
        "target": "object, required -- MCP repo/schema/server card"
      },
      "returns": "security report with severity table and remediation steps"
    },
    {
      "id": "agent_discovery_pack",
      "description": "Create or repair llms.txt, OpenAPI, pricing/catalog, agent-skill, and AI discovery files.",
      "endpoint": "/v1/order-intake",
      "method": "POST",
      "params": {
        "service_id": "string, required, value llms_txt_openapi_pack",
        "target": "object, required -- domain/repo/API docs"
      },
      "returns": "artifact bundle: discovery files, validation report, publish checklist"
    },
    {
      "id": "browser_proof",
      "description": "Browser screenshot/DOM evidence bundle for agent QA and buyer proof.",
      "endpoint": "/v1/order-intake",
      "method": "POST",
      "params": {
        "service_id": "string, required, value browser_proof",
        "target_url": "string, required"
      },
      "returns": "operator-reviewed screenshot/trace/artifact bundle"
    },
    {
      "id": "agent_service_distribution_pack",
      "description": "Build publishable agent-discovery surfaces and registry listing packet for an AI service.",
      "endpoint": "/v1/order-intake",
      "method": "POST",
      "params": {
        "service_id": "string, required, value agent_service_distribution_pack",
        "target": "object, required -- domain/API/repo"
      },
      "returns": "artifact bundle with .well-known/ai, api-catalog, agent skills, llms/OpenAPI deltas, and listing copy"
    },
    {
      "id": "agent_readiness_scorecard",
      "description": "Score a domain/API for agent discoverability, auth, MCP, payment, and commerce readiness.",
      "endpoint": "/v1/order-intake",
      "method": "POST",
      "params": {
        "service_id": "string, required, value agent_readiness_scorecard",
        "target_url": "string, required"
      },
      "returns": "scorecard with fixes ordered by agent-discovery impact"
    },
    {
      "id": "buyer_agent_smoke_probe",
      "description": "Simulate how a buyer agent discovers and validates a service before spending.",
      "endpoint": "/v1/order-intake",
      "method": "POST",
      "params": {
        "service_id": "string, required, value buyer_agent_smoke_probe",
        "target_url": "string, required"
      },
      "returns": "discovery/payment/conformance evidence bundle; spending tests approval-gated"
    },
    {
      "id": "receipt_verify",
      "description": "Verify a DDG receipt hash against redacted order/audit state.",
      "endpoint": "/v1/receipt-verify",
      "method": "POST",
      "params": {
        "receipt_hash": "string, required",
        "order_id": "string, optional"
      },
      "returns": "valid true/false plus redacted rail/amount/service/artifact-hash metadata"
    },
    {
      "id": "json_repair",
      "description": "Free deterministic JSON/schema repair for AI agents.",
      "endpoint": "/v1/json-repair",
      "method": "POST",
      "params": {
        "text": "string, required",
        "target_schema": "object, optional"
      },
      "returns": "repaired_json plus repairs_applied"
    },
    {
      "id": "context_distill",
      "description": "Free deterministic context/state distillation for agent handoffs.",
      "endpoint": "/v1/context-distill",
      "method": "POST",
      "params": {
        "text": "string or conversation array, required"
      },
      "returns": "summary, paths, errors, decisions, todos, URLs"
    },
    {
      "id": "rate_limit_analyzer",
      "description": "Free rate-limit/retry strategy analyzer.",
      "endpoint": "/v1/rate-limit-analyzer",
      "method": "POST",
      "params": {
        "headers": "object, required",
        "calls_per_minute": "number, optional"
      },
      "returns": "cadence/utilization/backoff recommendation"
    },
    {
      "id": "model_consensus",
      "description": "Paid multi-model/local consensus vote for high-stakes agent decisions.",
      "endpoint": "/v1/model-consensus",
      "method": "POST",
      "params": {
        "prompt": "string, required",
        "models": "array, optional",
        "question_type": "string, optional"
      },
      "returns": "consensus, agreement_ratio, disagreement flags, receipt headers"
    },
    {
      "id": "credential_escrow_proxy",
      "description": "Paid allowlisted credential-escrow API proxy. DDG uses its credential; buyer agent never sees key.",
      "endpoint": "/v1/credential-escrow-proxy",
      "method": "POST",
      "params": {
        "target_url": "HTTPS URL, required",
        "method": "string, optional",
        "body": "object/string, optional"
      },
      "returns": "upstream status/body with DDG receipt headers"
    },
    {
      "id": "test_runner",
      "description": "Paid bounded Python test runner with timeout and forbidden construct guardrails.",
      "endpoint": "/v1/test-runner",
      "method": "POST",
      "params": {
        "code": "string, required",
        "tests": "string, required"
      },
      "returns": "pass/fail stdout/stderr metadata and receipt headers"
    },
    {
      "id": "agent_attestation",
      "description": "Free HMAC-signed agent/task attestation bound to a .tine hash.",
      "endpoint": "/v1/agent-attestation",
      "method": "POST",
      "params": {
        "tine_hash": "string, required",
        "claim": "string, optional",
        "metadata": "object, optional"
      },
      "returns": "attestation_id/signature/public_verify_url"
    },
    {
      "id": "code_to_endpoint",
      "description": "Paid operator-reviewed code-to-payable-endpoint queue.",
      "endpoint": "/v1/code-to-endpoint",
      "method": "POST",
      "params": {
        "function_code": "handler(input) Python function, required"
      },
      "returns": "pending endpoint path/OpenAPI fragment/status"
    },
    {
      "id": "tine_verify",
      "description": "Free opentine .tine artifact verification.",
      "endpoint": "/v1/tine-verify",
      "method": "POST",
      "params": {
        "tine_content": "object/string, required"
      },
      "returns": "integrity verification result"
    },
    {
      "id": "tine_diff",
      "description": "Paid diff of two opentine .tine artifacts.",
      "endpoint": "/v1/tine-diff",
      "method": "POST",
      "params": {
        "tine_a": "object/string, required",
        "tine_b": "object/string, required"
      },
      "returns": "structured diff summary and receipt headers"
    },
    {
      "id": "tine_provenance_chain",
      "description": "Free opentine .tine parent/fork pointer trace.",
      "endpoint": "/v1/tine-provenance-chain",
      "method": "POST",
      "params": {
        "tine_content": "object/string, required"
      },
      "returns": "chain_depth and provenance pointers"
    }
  ],
  "auth": {
    "identity": "Stable agent identity header required for protected routes: X-Agent-Id, X-DDG-Agent-Id, or X-DDG-User.",
    "payments": "Public live rails: x402 multi-chain USDC accepts[] and direct-crypto auto/manual for the public receiving-address families. MPP/Tempo/Stripe is code-ready but not advertised until penny settlement and readiness gates pass.",
    "no_human_checkout": "Routes are designed for autonomous clients; missing identity returns 403 before payment."
  },
  "token_hints": {
    "start_here": [
      "/.well-known/ai",
      "/llms.txt",
      "/openapi.json",
      "/.well-known/ddg-agent-pricing.json",
      "/.well-known/agent-catalog.json",
      "/.well-known/agent-skills/index.json",
      "/.well-known/ddg-agent-refund-policy.json"
    ],
    "prefer_order_intake_for_manual_services": true
  },
  "rate_limits": {
    "policy": "Route-specific; protected compute is payment-gated and idempotency-key aware."
  },
  "meta": {
    "updated": "2026-06-23-strict-refund-policy",
    "base_url": "https://agents.daedalusdevelopmentgroup.com",
    "contact": "0xcircuitbreaker@protonmail.com"
  },
  "crypto_payment_options": {
    "last_synced_at": "2026-06-24T01:32:05Z",
    "source_of_truth": {
      "x402": "/openapi.json 402 PAYMENT-REQUIRED accepts[] plus payment_rail_addresses.env",
      "direct_crypto": "/.well-known/ddg-direct-crypto-addresses.json plus direct_crypto_addresses.env",
      "mpp": "public_live_settlement_proven"
    },
    "public_live_protocols": [
      "mpp",
      "x402",
      "direct_crypto_auto",
      "direct_crypto_manual"
    ],
    "pending_protocols": [],
    "x402": {
      "status": "public_live",
      "settlement_default": "Base mainnet USDC for production/x402scan compatibility",
      "accepted_networks": [
        {
          "network": "eip155:8453",
          "label": "Base mainnet",
          "asset": "USDC",
          "asset_contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "amount_decimals": 6
        },
        {
          "network": "eip155:137",
          "label": "Polygon mainnet",
          "asset": "USDC",
          "asset_contract": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
          "amount_decimals": 6
        },
        {
          "network": "eip155:42161",
          "label": "Arbitrum One",
          "asset": "USDC",
          "asset_contract": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
          "amount_decimals": 6
        },
        {
          "network": "eip155:480",
          "label": "World Chain mainnet",
          "asset": "USDC",
          "asset_contract": "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1",
          "amount_decimals": 6
        },
        {
          "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
          "label": "Solana mainnet",
          "asset": "USDC",
          "asset_contract": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
          "amount_decimals": 6
        }
      ],
      "amount_unit": "atomic integer strings; USDC has 6 decimals, so $0.01 is \"10000\""
    },
    "direct_crypto": {
      "status": "public_live_auto_for_verifier_supported_assets_manual_operator_confirmed_for_remaining_public_addresses",
      "public_manifest": "/.well-known/ddg-direct-crypto-addresses.json",
      "public_env": "direct_crypto_addresses.env",
      "wallet_count": 13,
      "assets": [
        "EVM/stablecoins",
        "BTC",
        "BCH",
        "LTC",
        "DOGE",
        "SOL",
        "TRX",
        "XRP",
        "XLM",
        "ALGO",
        "DOT",
        "ZEC",
        "XMR"
      ],
      "address_env": [
        "DDG_CRYPTO_EVM_ADDRESS",
        "DDG_CRYPTO_BTC_ADDRESS",
        "DDG_CRYPTO_BCH_ADDRESS",
        "DDG_CRYPTO_LTC_ADDRESS",
        "DDG_CRYPTO_DOGE_ADDRESS",
        "DDG_CRYPTO_SOL_ADDRESS",
        "DDG_CRYPTO_TRX_ADDRESS",
        "DDG_CRYPTO_XRP_ADDRESS",
        "DDG_CRYPTO_XLM_ADDRESS",
        "DDG_CRYPTO_ALGO_ADDRESS",
        "DDG_CRYPTO_DOT_ADDRESS",
        "DDG_CRYPTO_ZEC_ADDRESS",
        "DDG_CRYPTO_XMR_ADDRESS"
      ],
      "public_address_families": [
        {
          "asset": "EVM",
          "network": "EVM-compatible mainnets/testnets",
          "address_env": "DDG_CRYPTO_EVM_ADDRESS",
          "address": "0x25A4B534452372619f841956D64Ce5F45307d834",
          "description": "ETH/EVM native assets plus operator-confirmed EVM stablecoins (USDC, USDT, DAI, PYUSD, FRAX, FDUSD, GUSD, LUSD, USDP, TUSD, EURC) on supported EVM networks; auto verifier currently supports configured EVM native/USDC paths."
        },
        {
          "asset": "BTC",
          "network": "Bitcoin mainnet native segwit",
          "address_env": "DDG_CRYPTO_BTC_ADDRESS",
          "address": "bc1qswcxsxmlads07gtlunrqm49fmeuc4p3lmk5k0q",
          "description": "Bitcoin mainnet native segwit."
        },
        {
          "asset": "BCH",
          "network": "Bitcoin Cash mainnet cashaddr",
          "address_env": "DDG_CRYPTO_BCH_ADDRESS",
          "address": "bitcoincash:qze4aj4ns8usydmwlqx8q5nmgpud3x48avpkrqds0x",
          "description": "Bitcoin Cash mainnet cashaddr."
        },
        {
          "asset": "LTC",
          "network": "Litecoin mainnet native segwit",
          "address_env": "DDG_CRYPTO_LTC_ADDRESS",
          "address": "ltc1qv8yemdhk88zxth95n5s3rnt7nrjg7z52ru2n2y",
          "description": "Litecoin mainnet native segwit."
        },
        {
          "asset": "DOGE",
          "network": "Dogecoin mainnet legacy",
          "address_env": "DDG_CRYPTO_DOGE_ADDRESS",
          "address": "DEiZ9siBn8pYAhqRf1Ca7eqNNyK2ZrBd1x",
          "description": "Dogecoin mainnet legacy."
        },
        {
          "asset": "SOL",
          "network": "Solana mainnet",
          "address_env": "DDG_CRYPTO_SOL_ADDRESS",
          "address": "v6ztnrxiyZPF7LSKZrm9AhAJqukWYMFMt6YboofJhGD",
          "description": "Solana mainnet; SOL and SPL stablecoin proof can be operator-confirmed."
        },
        {
          "asset": "TRX",
          "network": "Tron mainnet",
          "address_env": "DDG_CRYPTO_TRX_ADDRESS",
          "address": "TYMsm7b6YnyD41KSAgZttRUNY3mDwU4yoo",
          "description": "Tron mainnet; TRX and TRC20 stablecoin proof can be operator-confirmed."
        },
        {
          "asset": "XRP",
          "network": "XRP Ledger mainnet",
          "address_env": "DDG_CRYPTO_XRP_ADDRESS",
          "address": "r4Ub17w7P22kTu33qNvVkQs3XRYJvEiiYD",
          "description": "XRP Ledger mainnet; destination-tag policy should be checked before high-volume payments."
        },
        {
          "asset": "XLM",
          "network": "Stellar mainnet",
          "address_env": "DDG_CRYPTO_XLM_ADDRESS",
          "address": "GAIJ5MBOB4RUGU2QRR237XX3WFO4ALNV5V42Q7JK6MLGVOBWM4OV6GFK",
          "description": "Stellar mainnet; XLM and Stellar-issued stablecoin proof can be operator-confirmed."
        },
        {
          "asset": "ALGO",
          "network": "Algorand mainnet",
          "address_env": "DDG_CRYPTO_ALGO_ADDRESS",
          "address": "MLYNV63M76DBHTJZLST6H7SR5Z2DWWRJU2GNCN2BEXBVVVSGEJ3N6ES3YU",
          "description": "Algorand mainnet; ALGO and ASA stablecoin proof can be operator-confirmed."
        },
        {
          "asset": "DOT",
          "network": "Polkadot mainnet",
          "address_env": "DDG_CRYPTO_DOT_ADDRESS",
          "address": "12WdyrGrNr4tsqa45zdKWXbWx3grrm3tZunbcpVNi96PvvCw",
          "description": "Polkadot mainnet; manual/operator confirmation unless a Substrate indexer is configured."
        },
        {
          "asset": "ZEC",
          "network": "Zcash mainnet transparent t-address",
          "address_env": "DDG_CRYPTO_ZEC_ADDRESS",
          "address": "t1Nrg3PZAf1w3vKbzV1Rq817oRTLxq9iD5d",
          "description": "Zcash transparent t-address; shielded payments are not auto-confirmed."
        },
        {
          "asset": "XMR",
          "network": "Monero mainnet primary address",
          "address_env": "DDG_CRYPTO_XMR_ADDRESS",
          "address": "46rEbwqHVMW7at7kBbdtFnRMXSqkUbbpbJZR4k4TUxsVUDdQX7po4HL2F1Nbw7kEM8hZ4F242D4kgQAj1aMU5S9U6TS6ZCy",
          "description": "Monero primary address; public balance is not visible and auto confirmation requires view-only wallet RPC, otherwise operator confirmation."
        }
      ],
      "auto_verification_scope": [
        "BTC, BCH, LTC, DOGE, transparent ZEC via public-chain lookups",
        "EVM native transfers and USDC on configured Ethereum/Base/Polygon RPC paths",
        "SOL, TRX, XRP, XLM, and ALGO native payment lookups",
        "XMR only when a view-only monero-wallet-rpc is configured"
      ],
      "manual_confirmation_scope": [
        "DOT until a Substrate/Subscan indexer is configured",
        "XMR without wallet RPC, shielded ZEC, non-USDC stablecoins, and any supported address family the verifier cannot conclusively confirm"
      ],
      "proof_headers": [
        "X-Direct-Crypto-Proof",
        "Payment-Proof",
        "Authorization: Payment direct_crypto <base64url-json>"
      ],
      "proof_payload": "payment_proof/proof {asset, network?, txid/hash/transaction_hash, amount, amount_usd?}"
    },
    "mpp": {
      "status": "public_live_settlement_proven",
      "advertise_rule": "MPP may be advertised as public_live_settlement_proven when ready:true, public 402 includes MPP, tx-smoke settlement proof is present, idempotent replay is safe, fake-token 402 holds, and leak scan passes. x402/CDP facilitator settlement remains separately gated."
    },
    "settlement_proof_pending": [
      "cdp_x402_bazaar_indexing"
    ],
    "settlement_proof_confirmed": [
      "mpp_tx_smoke_settlement_proven"
    ]
  },
  "generated_at": "2026-07-03T20:03:30.582923+00:00",
  "enterprise_hardening": {
    "status": "primary_and_secondary_runtime_guards_active_primary_monitor_active",
    "latest_checker": "scripts/enterprise_hardening_check.py",
    "latest_primary_report": "audit/enterprise-hardening-latest.json",
    "primary_runtime_firewall_guard": "active",
    "secondary_runtime_firewall_guard": "active",
    "primary_enterprise_monitor_timer": "active_15min_systemd_timer",
    "public_agent_access": "payment_edge_only",
    "raw_runtime_endpoints_public_policy": "blocked_except_loopback_and_trusted_peer",
    "paid_route_challenge_coverage": "49_of_49_nonfree_routes_passed_no_spend_probe_on_t620",
    "free_route_count": 6,
    "nonfree_route_count": 49,
    "refund_reversal_policy": "/.well-known/ddg-agent-refund-policy.json",
    "order_status_console": "/v1/orders/{order_id}",
    "artifact_console": "/v1/orders/{order_id}/artifact",
    "custody_posture": "production_beta_acceptable_not_treasury_grade",
    "custody_audit": "audit/enterprise-custody-posture-2026-07-02.md",
    "latest_service_proof_matrix": "audit/enterprise-service-proof-matrix-2026-07-02.json",
    "next_enterprise_gate": "representative_paid_fulfillment_proof_by_category_plus_external_alert_channel",
    "public_status_endpoint": "/.well-known/ddg-enterprise-hardening.json",
    "latest_public_endpoint_verified": "live_http_200_sanitized_no_forbidden_internal_markers",
    "backend_proxied_readiness_audit": "audit/backend-proxied-readiness-2026-07-02-post-glm-fallback.md",
    "site_audit_paid_proof_gate": "no_spend_backend_ready_via_glm_direct_pending_explicit_paid_fulfillment_proof",
    "safe_low_cost_paid_proof_candidates": [
      {
        "path": "/v1/site-audit",
        "cost_usd": "0.75",
        "category": "backend_proxied_glm_direct",
        "requires": "explicit_paid_proof_approval"
      },
      {
        "path": "/v1/ethereum/rpc",
        "cost_usd": "0.01",
        "category": "operator_artifact_queue"
      },
      {
        "path": "/v1/local-model-swarm-seat",
        "cost_usd": "0.25",
        "category": "operator_artifact_queue"
      },
      {
        "path": "/v1/model/agent-run",
        "cost_usd": "3.00",
        "category": "provider_account_backed_agent_run",
        "requires": "buyer_funds_and_quota_check"
      }
    ],
    "site_audit_backend_mode": "glm_coding_plan_direct_when_Hermes_API_key_absent"
  },
  "discovery": {
    "enterprise_hardening": "/.well-known/ddg-enterprise-hardening.json",
    "receipt_verify": "https://agents.daedalusdevelopmentgroup.com/v1/receipt-verify"
  }
}
