{
  "manifest_version": "1.0.0",
  "template": {
    "id": "32a20b00-8c7d-452a-9874-7875688231d6",
    "slug": "hermes-agent-deploy",
    "name": "hermes-agent-deploy",
    "description": "Template for one-click deployment of the Hermes agent",
    "url": "https://railway.com/deploy/hermes-agent-deploy",
    "upstream": {
      "repo_url": "https://github.com/agteo/railway-template-export"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "railway-template-export",
      "source": {
        "repo": "https://github.com/agteo/railway-template-export"
      },
      "needs_volume": true,
      "volume_mount_path": "/opt/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "HERMES_HOME",
      "service": "railway-template-export",
      "description": "Persistent data path, set to /opt/data.",
      "secret": false,
      "strategy": "default",
      "default": "/opt/data"
    },
    {
      "key": " HERMES_MODEL",
      "service": "railway-template-export",
      "description": "Default OpenRouter model ID.",
      "secret": false,
      "strategy": "default",
      "default": "openai/gpt-5.4-mini"
    },
    {
      "key": "OPENROUTER_API_KEY",
      "service": "railway-template-export",
      "description": "OpenRouter API key for model access.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TELEGRAM_BOT_TOKEN",
      "service": "railway-template-export",
      "description": "Telegram bot token from BotFather.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TELEGRAM_ALLOWED_USERS",
      "service": "railway-template-export",
      "description": "Allowed Telegram user IDs, comma-separated.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "GATEWAY_ALLOW_ALL_USERS",
      "service": "railway-template-export",
      "description": "Leave false; do not make the bot public.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hermes-agent-deploy"
      }
    },
    "cli": "railway deploy --template hermes-agent-deploy",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "32a20b00-8c7d-452a-9874-7875688231d6",
            "serializedConfig": {
              "services": {
                "8af4b4b1-a1e8-436e-bcf1-e64565c9a0e2": {
                  "name": "railway-template-export",
                  "source": {
                    "repo": "agteo/railway-template-export",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "HERMES_HOME": {
                      "isOptional": false,
                      "description": "Persistent data path, set to /opt/data.",
                      "defaultValue": "/opt/data"
                    },
                    " HERMES_MODEL": {
                      "isOptional": false,
                      "description": "Default OpenRouter model ID.",
                      "defaultValue": "openai/gpt-5.4-mini"
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": false,
                      "description": "OpenRouter API key for model access.",
                      "defaultValue": "{{OPENROUTER_API_KEY}}"
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": false,
                      "description": "Telegram bot token from BotFather.",
                      "defaultValue": "{{TELEGRAM_BOT_TOKEN}}"
                    },
                    "TELEGRAM_ALLOWED_USERS": {
                      "isOptional": false,
                      "description": "Allowed Telegram user IDs, comma-separated.",
                      "defaultValue": "{{TELEGRAM_ALLOWED_USERS}}"
                    },
                    "GATEWAY_ALLOW_ALL_USERS": {
                      "isOptional": false,
                      "description": "Leave false; do not make the bot public.",
                      "defaultValue": "false"
                    }
                  },
                  "volumeMounts": {
                    "8af4b4b1-a1e8-436e-bcf1-e64565c9a0e2": {
                      "mountPath": "/opt/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
