{
  "manifest_version": "1.0.0",
  "template": {
    "id": "528f2626-0914-4a6a-bc73-cef321c9cf1c",
    "slug": "hive-agent",
    "name": "Hive Agent",
    "description": "A deployment template of hive https://github.com/aden-hive/hive",
    "url": "https://railway.com/deploy/hive-agent",
    "upstream": {
      "repo_url": "https://github.com/Sands-45/hive-railway"
    }
  },
  "services": [
    {
      "name": "hive-railway",
      "source": {
        "repo": "https://github.com/Sands-45/hive-railway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "hive-railway",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "DEFAULT_MODEL",
      "service": "hive-railway",
      "description": "Provide a value for DEFAULT_MODEL.",
      "secret": false,
      "strategy": "default",
      "default": "gemini-2.5-flash"
    },
    {
      "key": "HIVE_DATA_DIR",
      "service": "hive-railway",
      "description": "Provide a value for HIVE_DATA_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/app/data"
    },
    {
      "key": "GOOGLE_API_KEY",
      "service": "hive-railway",
      "description": "Provide a value for GOOGLE_API_KEY.",
      "secret": true,
      "strategy": "default",
      "default": "xxxxx"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "hive-railway",
      "description": "Provide a value for OPENAI_API_KEY.",
      "secret": true,
      "strategy": "default",
      "default": "sk-xxxxx"
    },
    {
      "key": "PYTHONUNBUFFERED",
      "service": "hive-railway",
      "description": "Provide a value for PYTHONUNBUFFERED.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "ANTHROPIC_API_KEY",
      "service": "hive-railway",
      "description": "Provide a value for ANTHROPIC_API_KEY.",
      "secret": true,
      "strategy": "default",
      "default": "sk-ant-xxxxx"
    },
    {
      "key": "HIVE_CREDENTIALS_DIR",
      "service": "hive-railway",
      "description": "Application Settings",
      "secret": false,
      "strategy": "default",
      "default": "/app/.hive/credentials"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hive-agent"
      }
    },
    "cli": "railway deploy --template hive-agent",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "528f2626-0914-4a6a-bc73-cef321c9cf1c",
            "serializedConfig": {
              "services": {
                "57733aea-9d5c-4ec4-86c3-45e95af434e7": {
                  "name": "hive-railway",
                  "source": {
                    "repo": "Sands-45/hive-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "8000"
                    },
                    "DEFAULT_MODEL": {
                      "description": "",
                      "defaultValue": "gemini-2.5-flash"
                    },
                    "HIVE_DATA_DIR": {
                      "defaultValue": "/app/data"
                    },
                    "GOOGLE_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "xxxxx"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "sk-xxxxx"
                    },
                    "PYTHONUNBUFFERED": {
                      "defaultValue": "1"
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "sk-ant-xxxxx"
                    },
                    "HIVE_CREDENTIALS_DIR": {
                      "description": "Application Settings",
                      "defaultValue": "/app/.hive/credentials"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T10:26:12.179Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_011876388e594d1b84df",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 118,
    "typical_build_seconds": 53,
    "typical_start_seconds": 10,
    "slowest_service": "hive-railway"
  }
}
