{
  "name": "Auglet",
  "description": "Install layer for AI agents — marketplace for Prompt Sets, Skills, Tools, Harnesses, and Other Agents.",
  "url": "https://fjozfegsxseblmpplcrb.supabase.co/functions/v1/a2a",
  "version": "1.0.0",
  "protocolVersion": "0.3.0",
  "preferredTransport": "JSONRPC",
  "additionalInterfaces": [
    {
      "url": "https://fjozfegsxseblmpplcrb.supabase.co/functions/v1/a2a",
      "transport": "JSONRPC"
    }
  ],
  "provider": {
    "organization": "Your Indie LLC",
    "url": "https://auglet.com/about"
  },
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": true,
    "extendedAgentCard": true
  },
  "defaultInputModes": [
    "text",
    "application/json"
  ],
  "defaultOutputModes": [
    "text",
    "application/json"
  ],
  "skills": [
    {
      "id": "get_business_profile",
      "name": "Business Identity Profile",
      "description": "Returns Auglet's published business identity: legal entity, service area, product types, and policy links. Read-only public facts only. Required input: at least one message part (text or json).",
      "tags": [
        "business",
        "profile",
        "discovery"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ],
      "authentication": null,
      "backing": {
        "transport": "mcp-tool",
        "name": "get_business_profile",
        "alternates": [
          {
            "transport": "http",
            "method": "GET",
            "url": "https://auglet.com/business/profile.json"
          }
        ]
      }
    },
    {
      "id": "ask_about_auglet",
      "name": "Ask About Auglet",
      "description": "Deterministic FAQ Q&A about Auglet using published corpus only. No LLM. Required input: text part with question (max 500 chars). Returns JSON answer + text summary artifacts.",
      "tags": [
        "faq",
        "business",
        "discovery"
      ],
      "inputModes": [
        "text"
      ],
      "outputModes": [
        "application/json",
        "text"
      ],
      "authentication": null,
      "backing": {
        "transport": "mcp-tool",
        "name": "ask_business_question",
        "alternates": [
          {
            "transport": "http",
            "method": "POST",
            "url": "https://fjozfegsxseblmpplcrb.supabase.co/functions/v1/ask-business"
          }
        ]
      }
    },
    {
      "id": "ask_auglet_agent",
      "name": "Ask Auglet Agent",
      "description": "Grounded AI-assisted natural-language Q&A about Auglet. Answers strictly from published Auglet sources (FAQ, business profile, contact, catalog index, agent integration and A2A/MCP/API capability facts). Falls back deterministically to the published FAQ corpus (same source as ask_about_auglet) when AI is unavailable. Deflects purchase, download, account, and mutation intents to their authenticated skills without executing them. Input: text question (or JSON { question }). Returns an auglet_agent_answer JSON artifact plus a text artifact.",
      "tags": [
        "assistant",
        "faq",
        "business",
        "discovery",
        "grounded"
      ],
      "inputModes": [
        "text",
        "application/json"
      ],
      "outputModes": [
        "application/json",
        "text"
      ],
      "authentication": null,
      "backing": {
        "transport": "mcp-tool",
        "name": "ask_auglet_agent",
        "alternates": [
          {
            "transport": "http",
            "method": "POST",
            "url": "https://auglet.com/agent-readme.md"
          }
        ]
      }
    },
    {
      "id": "browse_catalog_index",
      "name": "Public Catalog Index",
      "description": "Returns the public marketplace catalog index (slug, title, category, price, URL). Optional JSON input: { query?, category?, limit? }. Returns catalog_index artifact.",
      "tags": [
        "catalog",
        "listings",
        "discovery"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ],
      "authentication": null,
      "backing": {
        "transport": "static",
        "name": "catalog.json",
        "alternates": [
          {
            "transport": "http",
            "method": "GET",
            "url": "https://auglet.com/catalog.json"
          }
        ]
      }
    },
    {
      "id": "get_contact_options",
      "name": "Contact and Support Routing",
      "description": "Returns published contact channels, use cases, and routing guidance. Does not expose unpublished phone or address. Required input: at least one message part.",
      "tags": [
        "contact",
        "support",
        "discovery"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ],
      "authentication": null,
      "backing": {
        "transport": "mcp-tool",
        "name": "get_contact_options",
        "alternates": [
          {
            "transport": "http",
            "method": "GET",
            "url": "https://auglet.com/business/contact.json"
          }
        ]
      }
    }
  ],
  "supportsAuthenticatedExtendedCard": true,
  "securitySchemes": {
    "apiKeyHeader": {
      "type": "apiKey",
      "in": "header",
      "name": "X-Api-Key",
      "description": "Marketplace API key from Creator Studio → API Console."
    },
    "apiKeyBearer": {
      "type": "http",
      "scheme": "bearer",
      "bearerFormat": "marketplace-api-key",
      "description": "Marketplace API key sent as `Authorization: Bearer mk_...`."
    },
    "oauth2": {
      "type": "oauth2",
      "description": "OAuth 2.1 authorization code + PKCE via managed Supabase issuer. Advertised for Phase 1 discovery; token verification lands in a follow-up phase.",
      "flows": {
        "authorizationCode": {
          "authorizationUrl": "https://fjozfegsxseblmpplcrb.supabase.co/auth/v1/authorize",
          "tokenUrl": "https://fjozfegsxseblmpplcrb.supabase.co/auth/v1/token",
          "refreshUrl": "https://fjozfegsxseblmpplcrb.supabase.co/auth/v1/token",
          "scopes": {
            "listings:read": "Read marketplace listings visible to the caller.",
            "purchases:read": "Read the caller's own purchase history.",
            "checkout:create": "Start a checkout session on behalf of the caller (requires human approval)."
          }
        }
      }
    }
  },
  "security": [
    {},
    {
      "apiKeyHeader": []
    },
    {
      "apiKeyBearer": []
    },
    {
      "oauth2": [
        "listings:read",
        "purchases:read",
        "checkout:create"
      ]
    }
  ],
  "authentication": {
    "schemes": [
      {
        "type": "apiKey",
        "name": "X-Api-Key",
        "description": "API key from Creator Studio → API Console.",
        "in": "header"
      },
      {
        "type": "apiKey",
        "name": "Authorization",
        "description": "Bearer marketplace API key",
        "in": "header"
      }
    ]
  },
  "endpoints": {
    "a2a": "https://fjozfegsxseblmpplcrb.supabase.co/functions/v1/a2a",
    "mcp": "https://fjozfegsxseblmpplcrb.supabase.co/functions/v1/mcp-server",
    "rest": "https://fjozfegsxseblmpplcrb.supabase.co/functions/v1/api-v1",
    "extendedAgentCard": "https://fjozfegsxseblmpplcrb.supabase.co/functions/v1/a2a/agent-card",
    "documentation": "https://auglet.com/agent-readme.md"
  },
  "metadata": {
    "a2aMode": "operable",
    "a2aModeNote": "Public discovery skills are callable via POST to endpoints.a2a. Authenticated skills require API key; fetch scope-filtered skills from endpoints.extendedAgentCard.",
    "catalogUrl": "https://auglet.com/catalog.json",
    "humanIntegrationPage": "https://auglet.com/agents",
    "supportEmail": "yourindie101@gmail.com",
    "humanApprovalRequired": [
      "start_checkout",
      "download_purchase",
      "submit_support_feedback"
    ],
    "doNotInvent": [
      "phone",
      "street_address",
      "business_hours",
      "customer_reviews",
      "certifications"
    ]
  }
}