{
  "manifest_version": "1.0.0",
  "template": {
    "id": "805d5f74-d1b3-4a4e-89b6-1a96d33daf96",
    "slug": "hermes-agent-1",
    "name": "Hermes Agent",
    "description": "Nous Research’s self-improving AI agent that learns across sessions.",
    "url": "https://railway.com/deploy/hermes-agent-1",
    "upstream": {
      "repo_url": "https://github.com/Lukem121/hermes-agent-railway-template"
    }
  },
  "services": [
    {
      "name": "hermes-agent-railway-template",
      "source": {
        "repo": "https://github.com/Lukem121/hermes-agent-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data/hermes",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "LLM_MODEL",
      "service": "hermes-agent-railway-template",
      "description": "Optional (advanced) — skip for Telegram-only",
      "secret": false,
      "strategy": "default",
      "default": "anthropic/claude-sonnet-4.6"
    },
    {
      "key": "HERMES_HOME",
      "service": "hermes-agent-railway-template",
      "description": "Persistent storage mount path",
      "secret": false,
      "strategy": "default",
      "default": "/data/hermes"
    },
    {
      "key": "API_SERVER_KEY",
      "service": "hermes-agent-railway-template",
      "description": "Optional — defaults to allowlist-only.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "GATEWAY_ALLOW_ALL_USERS",
      "service": "hermes-agent-railway-template",
      "description": "Optional messaging platform tokens",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hermes-agent-1"
      }
    },
    "cli": "railway deploy --template hermes-agent-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "805d5f74-d1b3-4a4e-89b6-1a96d33daf96",
            "serializedConfig": {
              "services": {
                "450b15d3-d977-4df3-a4b9-29562c1d0bca": {
                  "icon": "https://hermes-agent.nousresearch.com/docs/img/logo.png",
                  "name": "hermes-agent-railway-template",
                  "deploy": {
                    "healthcheckPath": "/setup/healthz"
                  },
                  "source": {
                    "repo": "Lukem121/hermes-agent-railway-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "LLM_MODEL": {
                      "isOptional": true,
                      "description": "Optional (advanced) — skip for Telegram-only",
                      "defaultValue": "anthropic/claude-sonnet-4.6"
                    },
                    "HERMES_HOME": {
                      "isOptional": true,
                      "description": "Persistent storage mount path",
                      "defaultValue": "/data/hermes"
                    },
                    "API_SERVER_KEY": {
                      "isOptional": true,
                      "description": "Optional — defaults to allowlist-only.",
                      "defaultValue": "{{API_SERVER_KEY}}"
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "Optional model override. If not set, Hermes falls back to its default model.",
                      "defaultValue": ""
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "Optional messaging platform user id",
                      "defaultValue": ""
                    },
                    "TELEGRAM_ALLOWED_USERS": {
                      "isOptional": true,
                      "description": "Optional: persistent profile location inside container.",
                      "defaultValue": ""
                    },
                    "GATEWAY_ALLOW_ALL_USERS": {
                      "description": "Optional messaging platform tokens",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "450b15d3-d977-4df3-a4b9-29562c1d0bca": {
                      "mountPath": "/data/hermes"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "hermes-agent-railway-template",
      "method": "GET",
      "path": "/setup/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T15:54:27.874Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a05a77744e514dbda3aa",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 204,
    "typical_build_seconds": 131,
    "typical_start_seconds": 21,
    "slowest_service": "hermes-agent-railway-template"
  }
}
