{
  "protocolVersion": "0.3",
  "name": "mai",
  "description": "mai runs persistent terminal and AI coding-agent sessions that survive reboots and disconnects. This card describes the mai product and the interfaces it exposes on a user's own machine; the sessions themselves are driven locally, not through this website.",
  "version": "0.10.3",
  "url": "https://buy-mai.com/",
  "preferredTransport": "HTTP+JSON",
  "supportedInterfaces": [
    {
      "url": "https://buy-mai.com/",
      "protocolBinding": "HTTP+JSON",
      "protocolVersion": "0.3"
    }
  ],
  "provider": {
    "organization": "mai",
    "url": "https://buy-mai.com/"
  },
  "documentationUrl": "https://buy-mai.com/index.md",
  "iconUrl": "https://buy-mai.com/assets/mai-logo.png",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "defaultInputModes": ["text/plain"],
  "defaultOutputModes": ["text/plain", "text/markdown"],
  "securitySchemes": {},
  "security": [],
  "skills": [
    {
      "id": "session-orchestration",
      "name": "Session orchestration",
      "description": "Create, prompt, read, fork and kill persistent terminal and AI-agent sessions in a running mai instance. Exposed as an MCP server (`mai mcp`) and a CLI on the user's own machine; see the MCP server card.",
      "tags": ["sessions", "mcp", "terminal", "orchestration"],
      "examples": [
        "List every session that is waiting on a human right now.",
        "Create a session in ~/project and ask it to run the test suite.",
        "Read the last screen of session mai-1785160208-c2699f."
      ],
      "inputModes": ["text/plain"],
      "outputModes": ["text/plain"]
    },
    {
      "id": "extension-marketplace",
      "name": "Extension marketplace",
      "description": "Browse and submit mai extensions — themes, icon packs, sounds, modules, tools, MCP server entries and memory packs — over the public HTTP API described in /openapi.json.",
      "tags": ["marketplace", "extensions", "http"],
      "examples": [
        "List the available mai themes.",
        "Submit a public repository containing a mai-extension.json for listing."
      ],
      "inputModes": ["text/plain"],
      "outputModes": ["application/json"]
    }
  ]
}
