{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7a9ea120-f81f-4b61-82a0-de92b8b127b0",
    "slug": "hermes-agent-on-nixos-or-just-updated-se",
    "name": "Hermes Agent on NixOS | (Just Updated) Self-Improving Agent, Memory Persists",
    "description": "Self-improving agent on nix. Memory and skills survive redeploys. 1 GB min.",
    "url": "https://railway.com/deploy/hermes-agent-on-nixos-or-just-updated-se",
    "upstream": {
      "image": "ghcr.io/bon5co/hermes-nixos-railway:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "hermes",
      "source": {
        "image": "ghcr.io/bon5co/hermes-nixos-railway:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/hermes",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "hermes",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "hermes",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "HERMES_DASHBOARD_PASSWORD",
      "service": "hermes",
      "description": "Provide a value for HERMES_DASHBOARD_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "HERMES_DASHBOARD_USERNAME",
      "service": "hermes",
      "description": "Provide a value for HERMES_DASHBOARD_USERNAME.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hermes-agent-on-nixos-or-just-updated-se"
      }
    },
    "cli": "railway deploy --template hermes-agent-on-nixos-or-just-updated-se",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7a9ea120-f81f-4b61-82a0-de92b8b127b0",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1ebf0a71-0f11-4be9-bc7e-720eeb357a9d": {
                  "icon": null,
                  "name": "hermes",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/status",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/hermes-nixos-railway:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "{{PORT}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "{{RAILWAY_RUN_UID}}"
                    },
                    "HERMES_DASHBOARD_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{HERMES_DASHBOARD_PASSWORD}}"
                    },
                    "HERMES_DASHBOARD_USERNAME": {
                      "isOptional": false,
                      "defaultValue": "{{HERMES_DASHBOARD_USERNAME}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "1ebf0a71-0f11-4be9-bc7e-720eeb357a9d": {
                      "mountPath": "/home/hermes"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "hermes",
      "method": "GET",
      "path": "/api/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-04T13:32:45.587Z",
  "generator_version": "0.1.0"
}
