{
  "manifest_version": "1.0.0",
  "template": {
    "id": "55456316-34df-44b6-a585-4532699756b2",
    "slug": "senpi-openclaw",
    "name": "Senpi OpenClaw",
    "description": "One-click Hyperliquid AI trading agent with 58 tools—live in 2 minutes.",
    "url": "https://railway.com/deploy/senpi-openclaw",
    "upstream": {
      "repo_url": "https://github.com/Senpi-ai/senpi-hyperclaw-railway-template"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "senpi-hyperclaw-railway-template",
      "source": {
        "repo": "https://github.com/Senpi-ai/senpi-hyperclaw-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Internal port where the gateway listens (proxied by the wrapper)",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "AI_API_KEY",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Your API key from openai, anthropic, gemini",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AI_PROVIDER",
      "service": "senpi-hyperclaw-railway-template",
      "description": "The name of your AI_PROVIDER: openai, anthropic, gemini (all lowercase)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SENPI_MCP_URL",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Senpi MCP server endpoint",
      "secret": false,
      "strategy": "default",
      "default": "https://mcp.prod.senpi.ai/mcp"
    },
    {
      "key": "OPENCLAW_ENTRY",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Provide a value for OPENCLAW_ENTRY.",
      "secret": false,
      "strategy": "default",
      "default": "/openclaw/dist/entry.js"
    },
    {
      "key": "SETUP_PASSWORD",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Create a new password for OpenClaw.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MCPORTER_CONFIG",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Provide a value for MCPORTER_CONFIG.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.openclaw/config/mcporter.json"
    },
    {
      "key": "SENPI_STATE_DIR",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Provide a value for SENPI_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.openclaw/senpi-state"
    },
    {
      "key": "TELEGRAM_USERID",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Your Telegram user ID (numeric). To find it, open https://t.me/userinfobot on Telegram.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENCLAW_VERSION",
      "service": "senpi-hyperclaw-railway-template",
      "description": "openclaw version, default is v2026.2.22",
      "secret": false,
      "strategy": "default",
      "default": "v2026.2.22"
    },
    {
      "key": "SENPI_AUTH_TOKEN",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Get this at https://senpi.ai",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_STATE_DIR",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Provide a value for OPENCLAW_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.openclaw"
    },
    {
      "key": "SENPI_TRACKING_URL",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Provide a value for SENPI_TRACKING_URL.",
      "secret": false,
      "strategy": "default",
      "default": "https://agent-telemetry.prod.senpi.ai"
    },
    {
      "key": "TELEGRAM_BOT_TOKEN",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Create your Telegram bot via https://t.me/BotFather and paste the token here. Make sure to tap \"Start\" in your bot's chat afterward.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "INTERNAL_GATEWAY_HOST",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Provide a value for INTERNAL_GATEWAY_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "127.0.0.1"
    },
    {
      "key": "INTERNAL_GATEWAY_PORT",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Provide a value for INTERNAL_GATEWAY_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "18789"
    },
    {
      "key": "OPENCLAW_GATEWAY_TOKEN",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Provide a value for OPENCLAW_GATEWAY_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENCLAW_WORKSPACE_DIR",
      "service": "senpi-hyperclaw-railway-template",
      "description": "Directory where clawdbot stores workspace files",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "senpi-openclaw"
      }
    },
    "cli": "railway deploy --template senpi-openclaw",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "55456316-34df-44b6-a585-4532699756b2",
            "serializedConfig": {
              "services": {
                "c5d59e2a-bb7d-4f9a-8caf-09d187a388bd": {
                  "name": "senpi-hyperclaw-railway-template",
                  "source": {
                    "repo": "Senpi-ai/senpi-hyperclaw-railway-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "description": "Internal port where the gateway listens (proxied by the wrapper)",
                      "defaultValue": "8080"
                    },
                    "AI_API_KEY": {
                      "description": "Your API key from openai, anthropic, gemini",
                      "defaultValue": "{{AI_API_KEY}}"
                    },
                    "AI_PROVIDER": {
                      "description": "The name of your AI_PROVIDER: openai, anthropic, gemini (all lowercase)",
                      "defaultValue": "{{AI_PROVIDER}}"
                    },
                    "SENPI_MCP_URL": {
                      "description": "Senpi MCP server endpoint",
                      "defaultValue": "https://mcp.prod.senpi.ai/mcp"
                    },
                    "OPENCLAW_ENTRY": {
                      "defaultValue": "/openclaw/dist/entry.js"
                    },
                    "SETUP_PASSWORD": {
                      "description": "Create a new password for OpenClaw.",
                      "defaultValue": "{{SETUP_PASSWORD}}"
                    },
                    "MCPORTER_CONFIG": {
                      "defaultValue": "/data/.openclaw/config/mcporter.json"
                    },
                    "SENPI_STATE_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/.openclaw/senpi-state"
                    },
                    "TELEGRAM_USERID": {
                      "description": "Your Telegram user ID (numeric). To find it, open https://t.me/userinfobot on Telegram.",
                      "defaultValue": "{{TELEGRAM_USERID}}"
                    },
                    "OPENCLAW_VERSION": {
                      "isOptional": true,
                      "description": "openclaw version, default is v2026.2.22",
                      "defaultValue": "v2026.2.22"
                    },
                    "SENPI_AUTH_TOKEN": {
                      "description": "Get this at https://senpi.ai",
                      "defaultValue": "{{SENPI_AUTH_TOKEN}}"
                    },
                    "OPENCLAW_STATE_DIR": {
                      "defaultValue": "/data/.openclaw"
                    },
                    "SENPI_TRACKING_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://agent-telemetry.prod.senpi.ai"
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "description": "Create your Telegram bot via https://t.me/BotFather and paste the token here. Make sure to tap \"Start\" in your bot's chat afterward.",
                      "defaultValue": "{{TELEGRAM_BOT_TOKEN}}"
                    },
                    "INTERNAL_GATEWAY_HOST": {
                      "defaultValue": "127.0.0.1"
                    },
                    "INTERNAL_GATEWAY_PORT": {
                      "defaultValue": "18789"
                    },
                    "OPENCLAW_GATEWAY_TOKEN": {
                      "defaultValue": "{{OPENCLAW_GATEWAY_TOKEN}}"
                    },
                    "OPENCLAW_WORKSPACE_DIR": {
                      "description": "Directory where clawdbot stores workspace files",
                      "defaultValue": "/data/workspace"
                    }
                  },
                  "volumeMounts": {
                    "c5d59e2a-bb7d-4f9a-8caf-09d187a388bd": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-08T05:54:19.399Z",
  "generator_version": "0.1.0"
}
