{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9d620089-5a26-41f3-9897-398e4f0d77b2",
    "slug": "hermes-workspace",
    "name": "hermes-workspace",
    "description": "AI command center for Hermes: chat, files, memory,  skills, terminal",
    "url": "https://railway.com/deploy/hermes-workspace",
    "upstream": {
      "image": "xiaosong233/hermes-agent-railway:latest"
    }
  },
  "services": [
    {
      "name": "hermes-agent",
      "source": {
        "image": "xiaosong233/hermes-agent-railway:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "hermes-workspace",
      "source": {
        "image": "xiaosong233/hermes-workspace-railway:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "hermes-agent",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8642"
    },
    {
      "key": "API_SERVER_HOST",
      "service": "hermes-agent",
      "description": "Provide a value for API_SERVER_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "API_SERVER_PORT",
      "service": "hermes-agent",
      "description": "Provide a value for API_SERVER_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8642"
    },
    {
      "key": "ANTHROPIC_API_KEY",
      "service": "hermes-agent",
      "description": "Provide a value for ANTHROPIC_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "API_SERVER_ENABLED",
      "service": "hermes-agent",
      "description": "Provide a value for API_SERVER_ENABLED.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "GATEWAY_ALLOW_ALL_USERS",
      "service": "hermes-agent",
      "description": "Provide a value for GATEWAY_ALLOW_ALL_USERS.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PORT",
      "service": "hermes-workspace",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "HERMES_API_URL",
      "service": "hermes-workspace",
      "description": "Provide a value for HERMES_API_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hermes-workspace"
      }
    },
    "cli": "railway deploy --template hermes-workspace",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9d620089-5a26-41f3-9897-398e4f0d77b2",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "72a7f3d3-7a17-48e3-9fe2-e6b23e6e8d41": {
                  "icon": null,
                  "name": "hermes-agent",
                  "deploy": {
                    "startCommand": "hermes gateway run",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "xiaosong233/hermes-agent-railway:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8642"
                    },
                    "API_SERVER_HOST": {
                      "isOptional": false,
                      "defaultValue": "0.0.0.0"
                    },
                    "API_SERVER_PORT": {
                      "isOptional": false,
                      "defaultValue": "8642"
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{ANTHROPIC_API_KEY}}"
                    },
                    "API_SERVER_ENABLED": {
                      "isOptional": false,
                      "defaultValue": "true"
                    },
                    "GATEWAY_ALLOW_ALL_USERS": {
                      "isOptional": false,
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "e075cf50-c153-488f-b67f-569e36e6ac81": {
                  "icon": null,
                  "name": "hermes-workspace",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "xiaosong233/hermes-workspace-railway:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "3000"
                    },
                    "HERMES_API_URL": {
                      "isOptional": false,
                      "defaultValue": "http://${{hermes-agent.RAILWAY_PRIVATE_DOMAIN}}:8642"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T09:33:26.398Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_00ccf0614f114077945e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 141,
    "typical_build_seconds": 0,
    "typical_start_seconds": 31,
    "slowest_service": "hermes-workspace"
  }
}
