{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4ef723f7-2058-4192-9dc5-666eaf78c86f",
    "slug": "hermes-agent-6",
    "name": "Hermes Agent",
    "description": "Self-hosted Nous Research Hermes Agent: memory, skills, cron & API",
    "url": "https://railway.com/deploy/hermes-agent-6",
    "upstream": {
      "image": "nousresearch/hermes-agent:latest"
    }
  },
  "services": [
    {
      "name": "nousresearch/hermes-agent:latest",
      "source": {
        "image": "nousresearch/hermes-agent:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/opt/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HERMES_HOME",
      "service": "nousresearch/hermes-agent:latest",
      "description": "Provide a value for HERMES_HOME.",
      "secret": false,
      "strategy": "default",
      "default": "/opt/data"
    },
    {
      "key": "HERMES_MODEL",
      "service": "nousresearch/hermes-agent:latest",
      "description": "Provide a value for HERMES_MODEL.",
      "secret": false,
      "strategy": "default",
      "default": "openrouter/anthropic/claude-3.5-sonnet"
    },
    {
      "key": "API_SERVER_KEY",
      "service": "nousresearch/hermes-agent:latest",
      "description": "Provide a value for API_SERVER_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "API_SERVER_HOST",
      "service": "nousresearch/hermes-agent:latest",
      "description": "Provide a value for API_SERVER_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "API_SERVER_PORT",
      "service": "nousresearch/hermes-agent:latest",
      "description": "Provide a value for API_SERVER_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8642"
    },
    {
      "key": "HERMES_DASHBOARD",
      "service": "nousresearch/hermes-agent:latest",
      "description": "Provide a value for HERMES_DASHBOARD.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "API_SERVER_ENABLED",
      "service": "nousresearch/hermes-agent:latest",
      "description": "Provide a value for API_SERVER_ENABLED.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "OPENROUTER_API_KEY",
      "service": "nousresearch/hermes-agent:latest",
      "description": "Provide a value for OPENROUTER_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hermes-agent-6"
      }
    },
    "cli": "railway deploy --template hermes-agent-6",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4ef723f7-2058-4192-9dc5-666eaf78c86f",
            "serializedConfig": {
              "services": {
                "41fab56f-3e49-4f35-9f9e-ac1f07597691": {
                  "name": "nousresearch/hermes-agent:latest",
                  "deploy": {
                    "startCommand": "gateway run",
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "image": "nousresearch/hermes-agent:latest"
                  },
                  "variables": {
                    "HERMES_HOME": {
                      "defaultValue": "/opt/data"
                    },
                    "HERMES_MODEL": {
                      "defaultValue": "openrouter/anthropic/claude-3.5-sonnet"
                    },
                    "API_SERVER_KEY": {
                      "defaultValue": "{{API_SERVER_KEY}}"
                    },
                    "API_SERVER_HOST": {
                      "defaultValue": "0.0.0.0"
                    },
                    "API_SERVER_PORT": {
                      "defaultValue": "8642"
                    },
                    "HERMES_DASHBOARD": {
                      "defaultValue": "1"
                    },
                    "API_SERVER_ENABLED": {
                      "defaultValue": "true"
                    },
                    "OPENROUTER_API_KEY": {
                      "defaultValue": "{{OPENROUTER_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8642": {
                        "port": 8642
                      }
                    }
                  },
                  "volumeMounts": {
                    "41fab56f-3e49-4f35-9f9e-ac1f07597691": {
                      "mountPath": "/opt/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "nousresearch/hermes-agent:latest",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-08T23:16:36.294Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_f02730664a96447da8da",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
