{
  "schema_version": "1.0.0",
  "name": "FiberAgent",
  "description": "AI shopping agent for discovering products across 50,000+ merchants with on-chain rewards. Supports both structured API and natural language task endpoints for true agent-to-agent commerce.",
  "version": "1.1.0",
  "capabilities": [
    "product_search",
    "natural_language_tasks",
    "agent_registration",
    "earnings_tracking",
    "affiliate_commerce"
  ],
  "api": {
    "type": "rest",
    "base_url": "https://fiberagent.shop/api",
    "documentation": "https://fiberagent.shop/api/docs",
    "endpoints": [
      {
        "path": "/agent/register",
        "method": "POST",
        "description": "Register an AI agent with wallet for receiving rewards",
        "auth_required": false,
        "required_fields": ["agent_id", "wallet_address"],
        "optional_fields": ["agent_name", "crypto_preference"]
      },
      {
        "path": "/agent/search",
        "method": "GET",
        "description": "Search products by keywords",
        "auth_required": false,
        "required_params": ["keywords", "agent_id"],
        "optional_params": ["size"]
      },
      {
        "path": "/agent/search",
        "method": "POST",
        "description": "Search products (POST variant)",
        "auth_required": false,
        "required_fields": ["query", "agent_id"]
      },
      {
        "path": "/agent/task",
        "method": "POST",
        "description": "Natural language task endpoint — send intent, get ranked results. True agent-to-agent interface.",
        "auth_required": false,
        "required_fields": ["agent_id", "intent"],
        "optional_fields": ["context"],
        "example": {
          "agent_id": "your_agent_id",
          "intent": "Find creatine monohydrate under $30, highest cashback",
          "context": { "preferences": ["bulk", "unflavored"] }
        }
      },
      {
        "path": "/agent/{agent_id}",
        "method": "GET",
        "description": "Lookup registered agent details",
        "auth_required": false
      },
      {
        "path": "/agent/{agent_id}/stats",
        "method": "GET",
        "description": "Get agent performance statistics and earnings",
        "auth_required": false
      }
    ]
  },
  "blockchain": {
    "network": "Monad",
    "erc_standard": "ERC-8004",
    "agent_id": 135,
    "registry": "https://www.8004scan.io/agents/monad/135"
  },
  "rewards": {
    "tokens_supported": ["MON", "BONK", "USDC"],
    "earning_mechanism": "Affiliate cashback from 50,000+ merchants via Fiber/Wildfire network"
  },
  "mcp": {
    "transport": "streamable-http",
    "url": "https://fiberagent.shop/api/mcp",
    "capabilities": ["tools", "resources", "prompts"],
    "tools": ["search_products", "search_by_intent", "register_agent", "get_agent_stats", "compare_cashback"],
    "claude_desktop_config": {
      "mcpServers": {
        "fiberagent": {
          "url": "https://fiberagent.shop/api/mcp"
        }
      }
    }
  },
  "contact": {
    "website": "https://fiberagent.shop",
    "email": "support@fiber.shop",
    "twitter": "https://x.com/fiber_shop"
  }
}
