{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9cad497d-835e-48f6-bb02-dd5dfeea3fe2",
    "slug": "agentos-1",
    "name": "AgentOS",
    "description": "Deploy and run your AI workforce with AgentOS, powered by OpenClaw.",
    "url": "https://railway.com/deploy/agentos-1",
    "upstream": {
      "repo_url": "https://github.com/SapienXai/AgentOS"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "AgentOS",
      "source": {
        "repo": "https://github.com/SapienXai/AgentOS"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "AgentOS-7mrk",
      "source": {
        "repo": "https://github.com/SapienXai/AgentOS"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "AgentOS",
      "description": "Keeps Railway public networking and deployment healthchecks on the AgentOS listener port.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "AgentOS",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "AGENTOS_API_TOKEN",
      "service": "AgentOS",
      "description": "Provide a value for AGENTOS_API_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "AgentOS",
      "description": "Provide a value for OPENCLAW_GATEWAY_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_SHM_SIZE_BYTES",
      "service": "AgentOS",
      "description": "Provide a value for RAILWAY_SHM_SIZE_BYTES.",
      "secret": false,
      "strategy": "default",
      "default": "268435456"
    },
    {
      "key": "AGENTOS_BROWSER_WORKER_URL",
      "service": "AgentOS",
      "description": "Provide a value for AGENTOS_BROWSER_WORKER_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AGENTOS_BROWSER_WORKER_TOKEN",
      "service": "AgentOS",
      "description": "Provide a value for AGENTOS_BROWSER_WORKER_TOKEN.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AGENTOS_INITIAL_ADMIN_PASSWORD",
      "service": "AgentOS",
      "description": "Provide a value for AGENTOS_INITIAL_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "AGENTOS_INITIAL_ADMIN_USERNAME",
      "service": "AgentOS",
      "description": "Provide a value for AGENTOS_INITIAL_ADMIN_USERNAME.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "PORT",
      "service": "AgentOS-7mrk",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "18794"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "AgentOS-7mrk",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "AGENTOS_SERVICE_ROLE",
      "service": "AgentOS-7mrk",
      "description": "Provide a value for AGENTOS_SERVICE_ROLE.",
      "secret": false,
      "strategy": "default",
      "default": "browser-worker"
    },
    {
      "key": "AGENTOS_BROWSER_WORKER_TOKEN",
      "service": "AgentOS-7mrk",
      "description": "Provide a value for AGENTOS_BROWSER_WORKER_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AGENTOS_BROWSER_DISABLE_CHROMIUM_SANDBOX",
      "service": "AgentOS-7mrk",
      "description": "Provide a value for AGENTOS_BROWSER_DISABLE_CHROMIUM_SANDBOX.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "agentos-1"
      }
    },
    "cli": "railway deploy --template agentos-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9cad497d-835e-48f6-bb02-dd5dfeea3fe2",
            "serializedConfig": {
              "services": {
                "ce7c294c-fb45-47e8-990e-278d21d44b03": {
                  "icon": "https://sapienx.app/assets/apple-touch-icon-Cx6GHvg0.png",
                  "name": "AgentOS",
                  "deploy": {
                    "healthcheckPath": "/api/health"
                  },
                  "source": {
                    "repo": "SapienXai/AgentOS",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Keeps Railway public networking and deployment healthchecks on the AgentOS listener port.",
                      "defaultValue": "3000"
                    },
                    "RAILWAY_RUN_UID": {
                      "defaultValue": "0"
                    },
                    "AGENTOS_API_TOKEN": {
                      "defaultValue": "{{AGENTOS_API_TOKEN}}"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "RAILWAY_SHM_SIZE_BYTES": {
                      "defaultValue": "268435456"
                    },
                    "AGENTOS_BROWSER_WORKER_URL": {
                      "defaultValue": "http://${{AgentOS-7mrk.RAILWAY_PRIVATE_DOMAIN}}:18794"
                    },
                    "AGENTOS_BROWSER_WORKER_TOKEN": {
                      "defaultValue": "${{AgentOS-7mrk.AGENTOS_BROWSER_WORKER_TOKEN}}"
                    },
                    "AGENTOS_INITIAL_ADMIN_PASSWORD": {
                      "defaultValue": "{{AGENTOS_INITIAL_ADMIN_PASSWORD}}"
                    },
                    "AGENTOS_INITIAL_ADMIN_USERNAME": {
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "ce7c294c-fb45-47e8-990e-278d21d44b03": {
                      "mountPath": "/data"
                    }
                  }
                },
                "d0124691-70f2-435d-aacb-c53229041262": {
                  "name": "AgentOS-7mrk",
                  "source": {
                    "repo": "SapienXai/AgentOS",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "18794"
                    },
                    "RAILWAY_RUN_UID": {
                      "defaultValue": "0"
                    },
                    "AGENTOS_SERVICE_ROLE": {
                      "defaultValue": "browser-worker"
                    },
                    "AGENTOS_BROWSER_WORKER_TOKEN": {
                      "defaultValue": "{{AGENTOS_BROWSER_WORKER_TOKEN}}"
                    },
                    "AGENTOS_BROWSER_DISABLE_CHROMIUM_SANDBOX": {
                      "defaultValue": "1"
                    }
                  },
                  "volumeMounts": {
                    "d0124691-70f2-435d-aacb-c53229041262": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "AgentOS",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-07T23:54:17.958Z",
  "generator_version": "0.1.0"
}
