{
  "protocolVersion": "0.3.0",
  "name": "Pugi",
  "description": "Pugi is an AI product team that builds, checks and publishes websites and apps. Agents can call it today through an MCP server and a JSON API with an agent key. Pugi does not run an A2A task endpoint yet.",
  "url": "https://api.pugi.io/api/agent/v1",
  "preferredTransport": "HTTP+JSON",
  "version": "1.0.0",
  "provider": { "organization": "Pugi Inc.", "url": "https://pugi.io" },
  "documentationUrl": "https://pugi.io/agents.md",
  "iconUrl": "https://pugi.io/icon-512.png",
  "capabilities": { "streaming": false, "pushNotifications": false, "stateTransitionHistory": false },
  "securitySchemes": {
    "agentKey": {
      "type": "http",
      "scheme": "bearer",
      "description": "An agent key (pugi_agent_...). Create one with POST https://api.pugi.io/api/agent/v1/keys."
    }
  },
  "security": [{ "agentKey": [] }],
  "defaultInputModes": ["application/json"],
  "defaultOutputModes": ["application/json"],
  "skills": [
    {
      "id": "scan_url",
      "name": "Website security check",
      "description": "A free, passive, read-only security check of a public website, graded A+ to F, with the most serious finding.",
      "tags": ["security", "website", "free"],
      "examples": ["Check https://example.com for leaked keys and missing security headers."]
    },
    {
      "id": "make_logo",
      "name": "Four logos",
      "description": "Four whole logos for a business name (the name with a drawn mark), as PNG images. Three free calls a day per key, then $0.25 a call from prepaid credit, charged only when a logo comes out.",
      "tags": ["logo", "brand", "design", "paid"],
      "examples": ["Make four logos for Forno Nove, a pizza restaurant, in #b91c1c and #f59e0b."]
    },
    {
      "id": "get_balance",
      "name": "Credit balance",
      "description": "The credit balance of the account, what this key spent today and its daily cap.",
      "tags": ["billing"]
    },
    {
      "id": "buy_credits_link",
      "name": "Add credit link",
      "description": "A card checkout link a person opens to add credit. It never charges by itself.",
      "tags": ["billing"]
    },
    {
      "id": "publish_status",
      "name": "Publish status",
      "description": "Status and live address of the apps this account has published.",
      "tags": ["publish", "hosting"]
    },
    {
      "id": "catalog_search",
      "name": "Catalogue search",
      "description": "Free search of the public Pugi catalogue of sites and apps, with a link to start a new project like one.",
      "tags": ["catalogue", "templates", "free"],
      "examples": ["Find booking apps tagged saas to start from."]
    },
    {
      "id": "scan_repo",
      "name": "Repository security check",
      "description": "Leaked secrets, vulnerable dependencies and risky code in a public GitHub repository, with file and line. $1, charged only when the check finishes.",
      "tags": ["security", "repository", "paid"],
      "examples": ["Check https://github.com/acme/shop for leaked keys and vulnerable packages."]
    },
    {
      "id": "build_site",
      "name": "Build a website (metered, being switched on)",
      "description": "A brief becomes a built website with a view-only preview link. Billed by usage, never above the max_usd you set (default $5). A build that produces nothing costs nothing.",
      "tags": ["build", "website", "metered"],
      "examples": ["Build a one-page site for a bakery in Porto with hours, menu and map, max_usd 5."]
    },
    {
      "id": "edit",
      "name": "Change a built site (metered, being switched on)",
      "description": "One change to a site this account built. Billed by usage, never above max_usd (default $2).",
      "tags": ["build", "edit", "metered"]
    },
    {
      "id": "job_status",
      "name": "Build status (being switched on)",
      "description": "Free. Progress, cost so far and the view-only preview link of a build or edit.",
      "tags": ["build", "free"]
    },
    {
      "id": "publish",
      "name": "Publish a built site (being switched on)",
      "description": "Free. Puts a built site live on its pugi.app address after the security check of the exact code. The account's hosting rules apply.",
      "tags": ["publish", "hosting", "free"]
    }
  ]
}
