{
  "title": "AWP Agent Hub: start (no script)",
  "environment": "production",
  "html": "https://agents.a24labs.net/start/",
  "machine_endpoints": {
    "hub": "https://agents.a24labs.net",
    "mcp": "https://edge.a24labs.net/mcp",
    "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
    "as_metadata": "https://id.a24labs.net/realms/a24labs/.well-known/openid-configuration",
    "auth_discovery": "https://edge.a24labs.net/discovery/v1/authentication",
    "bootstrap": "https://edge.a24labs.net/.well-known/awp-eeg",
    "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token",
    "idp": "https://id.a24labs.net/realms/a24labs"
  },
  "discovery": [
    {
      "title": "MCP endpoint",
      "url": "https://edge.a24labs.net/mcp",
      "body": "POST without a token returns `401` with `WWW-Authenticate: Bearer resource_metadata=\"https://edge.a24labs.net/.well-known/oauth-protected-resource\"` (MCP authorization spec)."
    },
    {
      "title": "Protected Resource Metadata",
      "url": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
      "body": "RFC 9728: the MCP resource and its authorization server."
    },
    {
      "title": "Authorization server metadata",
      "url": "https://id.a24labs.net/realms/a24labs/.well-known/openid-configuration",
      "body": "Issuer, token and JWKS endpoints."
    },
    {
      "title": "AWP auth discovery",
      "url": "https://edge.a24labs.net/discovery/v1/authentication",
      "body": "The PAT exchange (`mint`) block: token endpoint, grant type, required claims."
    },
    {
      "title": "Edge bootstrap",
      "url": "https://edge.a24labs.net/.well-known/awp-eeg",
      "body": "Gateway identity and links."
    }
  ],
  "token_exchange": {
    "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token",
    "grant_type": "urn:awp:params:oauth:grant-type:pat",
    "secret_param": "secret",
    "jwt_ttl_seconds": 900,
    "next_action": "Ask your operator for an AWP PAT, then exchange it at the token endpoint for a Bearer JWT."
  },
  "families": [
    {
      "family": "xAI",
      "cards": [
        {
          "id": "grokbot",
          "title": "GrokBot",
          "family": "xAI",
          "auth_method": "pat_swap",
          "origin": "local",
          "token_step": "PAT swap: exchange the PAT at the token endpoint and send the JWT as the Authorization header.",
          "status": "available",
          "status_line": null,
          "html": "https://agents.a24labs.net/recipes/grokbot/",
          "json": "https://agents.a24labs.net/recipes/grokbot/recipe.json",
          "mcp": "https://edge.a24labs.net/mcp",
          "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
          "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token"
        },
        {
          "id": "cursor",
          "title": "Cursor",
          "family": "xAI",
          "auth_method": "pat_swap",
          "origin": "local",
          "token_step": "PAT swap: export the JWT before launching Cursor; mcp.json interpolates it with ${env:}. OAuth later.",
          "status": "available",
          "status_line": null,
          "html": "https://agents.a24labs.net/recipes/cursor/",
          "json": "https://agents.a24labs.net/recipes/cursor/recipe.json",
          "mcp": "https://edge.a24labs.net/mcp",
          "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
          "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token"
        }
      ]
    },
    {
      "family": "Anthropic",
      "cards": [
        {
          "id": "claude-code",
          "title": "Claude Code",
          "family": "Anthropic",
          "auth_method": "pat_swap",
          "origin": "local",
          "token_step": "PAT swap through Claude Code's headersHelper, which runs the token script on every connect. OAuth later.",
          "status": "available",
          "status_line": null,
          "html": "https://agents.a24labs.net/recipes/claude-code/",
          "json": "https://agents.a24labs.net/recipes/claude-code/recipe.json",
          "mcp": "https://edge.a24labs.net/mcp",
          "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
          "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token"
        },
        {
          "id": "claude-desktop",
          "title": "Claude Desktop",
          "family": "Anthropic",
          "auth_method": "oauth",
          "origin": "vendor_cloud",
          "token_step": "OAuth sign-in bound to a PAT record: Front Door issues a JWT with the same claims as the PAT exchange.",
          "status": "not_yet_available",
          "status_line": "Not yet available on PROD.",
          "html": "https://agents.a24labs.net/recipes/claude-desktop/",
          "json": "https://agents.a24labs.net/recipes/claude-desktop/recipe.json",
          "mcp": "https://edge.a24labs.net/mcp",
          "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
          "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token"
        }
      ]
    },
    {
      "family": "OpenAI",
      "cards": [
        {
          "id": "chatgpt",
          "title": "ChatGPT",
          "family": "OpenAI",
          "auth_method": "oauth",
          "origin": "vendor_cloud",
          "token_step": "OAuth sign-in bound to a PAT record: Front Door issues a JWT with the same claims as the PAT exchange.",
          "status": "not_yet_available",
          "status_line": "Not yet available on PROD.",
          "html": "https://agents.a24labs.net/recipes/chatgpt/",
          "json": "https://agents.a24labs.net/recipes/chatgpt/recipe.json",
          "mcp": "https://edge.a24labs.net/mcp",
          "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
          "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token"
        },
        {
          "id": "openai-codex-cli",
          "title": "Codex CLI",
          "family": "OpenAI",
          "auth_method": "pat_swap",
          "origin": "local",
          "token_step": "PAT swap through Codex's http_headers_helper, which runs the token script on connect and again after a 401.",
          "status": "available",
          "status_line": null,
          "html": "https://agents.a24labs.net/recipes/openai-codex-cli/",
          "json": "https://agents.a24labs.net/recipes/openai-codex-cli/recipe.json",
          "mcp": "https://edge.a24labs.net/mcp",
          "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
          "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token"
        }
      ]
    },
    {
      "family": "Google",
      "cards": [
        {
          "id": "gemini-cli",
          "title": "Gemini CLI",
          "family": "Google",
          "auth_method": "pat_swap",
          "origin": "local",
          "token_step": "PAT swap: export the JWT before starting Gemini CLI; settings.json reads it from the environment. OAuth later.",
          "status": "available",
          "status_line": null,
          "html": "https://agents.a24labs.net/recipes/gemini-cli/",
          "json": "https://agents.a24labs.net/recipes/gemini-cli/recipe.json",
          "mcp": "https://edge.a24labs.net/mcp",
          "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
          "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token"
        },
        {
          "id": "google-ai-studio",
          "title": "AI Studio",
          "family": "Google",
          "auth_method": "oauth",
          "origin": "vendor_cloud",
          "token_step": "OAuth sign-in bound to a PAT record: Front Door issues a JWT with the same claims as the PAT exchange.",
          "status": "not_yet_available",
          "status_line": "Not yet available on PROD.",
          "html": "https://agents.a24labs.net/recipes/google-ai-studio/",
          "json": "https://agents.a24labs.net/recipes/google-ai-studio/recipe.json",
          "mcp": "https://edge.a24labs.net/mcp",
          "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
          "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token"
        }
      ]
    },
    {
      "family": "AWP",
      "cards": [
        {
          "id": "awp-cli",
          "title": "awp CLI",
          "family": "AWP",
          "auth_method": "pat_swap",
          "origin": "local",
          "token_step": "PAT swap built into the CLI: `awp auth exchange` reads the PAT file and exchanges it itself; no token script.",
          "status": "not_yet_available",
          "status_line": "Not yet available on PROD.",
          "html": "https://agents.a24labs.net/recipes/awp-cli/",
          "json": "https://agents.a24labs.net/recipes/awp-cli/recipe.json",
          "mcp": "https://edge.a24labs.net/mcp",
          "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
          "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token"
        },
        {
          "id": "awp-desktop",
          "title": "AWP Desktop",
          "family": "AWP",
          "auth_method": "pat_swap",
          "origin": "local",
          "token_step": "PAT swap inside the app: paste your edge-mcp PAT once and AWP Desktop swaps it for a JWT.",
          "status": "not_yet_available",
          "status_line": "Not yet available on PROD.",
          "html": "https://agents.a24labs.net/recipes/awp-desktop/",
          "json": "https://agents.a24labs.net/recipes/awp-desktop/recipe.json",
          "mcp": "https://edge.a24labs.net/mcp",
          "prm": "https://edge.a24labs.net/.well-known/oauth-protected-resource",
          "token_endpoint": "https://frontdoor.a24labs.net/v1/oauth/token"
        }
      ]
    }
  ]
}
