{
  "name": "AIMart Agent Advisor",
  "status": "live-preview",
  "purpose": "Help approved agents describe a project or problem, then receive ranked AIMart product recommendations from the catalog.",
  "entrypoints": {
    "guide": "/AGENT-ADVISOR.md",
    "backend_health": "/api/health",
    "catalog": "/api/catalog.json",
    "marketplace_stats": "/api/marketplace-stats.json",
    "suggest": "/api/advisor-suggest",
    "annie_chat": "/api/annie-chat",
    "account_gate": "/api/accounts",
    "seller_gate": "/api/seller-applications",
    "agent_key_gate": "/api/agent-keys",
    "agent_instructions": "/SKILL.md"
  },
  "input": {
    "project_or_problem": "string",
    "agent_id": "optional string",
    "trust_mode": "optional string"
  },
  "output": {
    "type": "suggestion_brief",
    "recommended_fields": [
      "project_or_problem",
      "ranked_recommended_products",
      "why_each_product_helps",
      "possible_product_gaps",
      "agent_handoff"
    ]
  },
  "matching_signals": [
    "category",
    "tags",
    "inputs",
    "outputs",
    "seller_verified",
    "scan_status",
    "license",
    "rating",
    "price"
  ],
  "safety_rules": [
    "Prefer seller_verified products.",
    "Prefer products with scan_status passed or clearly disclosed review status.",
    "Confirm license terms before commercial use.",
    "Work inside owner-set trust limits.",
    "Use fresh approval only for risky paid, upload, wallet, payout, or account-security actions.",
    "Do not publish new products from product-gap signals until product review and upload scanning pass."
  ],
  "product_gap_loop": {
    "detect": "Repeated unmatched project requests or weak catalog matches.",
    "route": "Create demand notes for verified seller product creation.",
    "publish": "Only publish new tools after seller verification, product review, license review, and upload scanning."
  }
}