{
  "manifest_version": "1.0.0",
  "template": {
    "id": "aeb92d5b-c2f3-41b7-8dd6-8833f077af53",
    "slug": "hermes-agent-webui",
    "name": "Hermes Agent + WebUI",
    "description": "Hermes Agent with Hermes WebUI. Password protected, auto-updated.",
    "url": "https://railway.com/deploy/hermes-agent-webui",
    "upstream": {
      "repo_url": "https://github.com/aimranov27/hermes-webui-railway"
    }
  },
  "services": [
    {
      "name": "Hermes",
      "source": {
        "repo": "https://github.com/aimranov27/hermes-webui-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/opt/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HERMES_WEBUI_PASSWORD",
      "service": "Hermes",
      "description": "Password for the Hermes WebUI login. Generated for you. The service will not start without it. Change it here and redeploy to set a new one.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hermes-agent-webui"
      }
    },
    "cli": "railway deploy --template hermes-agent-webui",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "aeb92d5b-c2f3-41b7-8dd6-8833f077af53",
            "serializedConfig": {
              "services": {
                "f79eb5e0-5000-4481-b617-e2eb354ec7f3": {
                  "icon": "https://raw.githubusercontent.com/nesquena/hermes-webui/bfe40ffba8a09b6342189cd50c55535220a30d48/static/favicon-512.png",
                  "name": "Hermes",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "aimranov27/hermes-webui-railway"
                  },
                  "variables": {
                    "NOUS_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Nous Portal API key for Hermes models.",
                      "defaultValue": ""
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. OpenAI API key for GPT models.",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Anthropic API key for Claude models.",
                      "defaultValue": ""
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. OpenRouter API key. One key gives access to models from most providers. You can also add keys later in the WebUI under Settings → Providers.",
                      "defaultValue": ""
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "Optional. Bot token from @BotFather to chat with Hermes on Telegram. Also set TELEGRAM_ALLOWED_USERS.",
                      "defaultValue": ""
                    },
                    "HERMES_WEBUI_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the Hermes WebUI login. Generated for you. The service will not start without it. Change it here and redeploy to set a new one.",
                      "defaultValue": "{{HERMES_WEBUI_PASSWORD}}"
                    },
                    "TELEGRAM_ALLOWED_USERS": {
                      "isOptional": true,
                      "description": "Optional. Your numeric Telegram user ID (ask @userinfobot), comma-separated for several people. Hermes does not answer anyone else.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "f79eb5e0-5000-4481-b617-e2eb354ec7f3": {
                      "mountPath": "/opt/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Hermes",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-13T10:14:42.292Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-13T10:00:06.872Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f66a0ee8713f48f4aaec",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 108,
    "typical_build_seconds": 81,
    "typical_start_seconds": 10,
    "slowest_service": "Hermes"
  }
}
