{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a794303d-902c-42cd-bfeb-9088faf850a4",
    "slug": "wrenos",
    "name": "WrenOS",
    "description": "Deploy and Host WrenOS OpenClaw on Railway",
    "url": "https://railway.com/deploy/wrenos",
    "upstream": {
      "repo_url": "https://github.com/wrensignal/wrenOS"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "wrenOS",
      "source": {
        "repo": "https://github.com/wrensignal/wrenOS"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PROFILE",
      "service": "wrenOS",
      "description": "WrenOS runtime profile to initialize on first run (recommended: research-agent).",
      "secret": false,
      "strategy": "default",
      "default": "research-agent"
    },
    {
      "key": "AI_API_KEY",
      "service": "wrenOS",
      "description": "Your API key from openai, anthropic, gemini.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AI_PROVIDER",
      "service": "wrenOS",
      "description": "The name of your AI_PROVIDER: openai, anthropic, gemini (all lowercase).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORKSPACE_DIR",
      "service": "wrenOS",
      "description": "Filesystem workspace path inside container (default: /app).",
      "secret": false,
      "strategy": "default",
      "default": "/app"
    },
    {
      "key": "TELEGRAM_BOT_TOKEN",
      "service": "wrenOS",
      "description": "Telegram bot token used for operator alerts and command handling.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "WRENOS_ENABLE_EXECUTION",
      "service": "wrenOS",
      "description": "Enables execution-capable flows; keep false for paper-first mode.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "WRENOS_BOOTSTRAP_ON_START",
      "service": "wrenOS",
      "description": "Whether to run bootstrap/init checks automatically on startup  (true/false).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "wrenos"
      }
    },
    "cli": "railway deploy --template wrenos",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a794303d-902c-42cd-bfeb-9088faf850a4",
            "serializedConfig": {
              "services": {
                "24fe09d6-5a9d-49ff-9821-a51aa0ea19eb": {
                  "icon": "https://raw.githubusercontent.com/wrensignal/wrenos-site/main/assets/wren-black.png",
                  "name": "wrenOS",
                  "deploy": {
                    "startCommand": "npm run railway:first-run",
                    "preDeployCommand": [
                      "npm run railway:first-run"
                    ]
                  },
                  "source": {
                    "repo": "wrensignal/wrenOS",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PROFILE": {
                      "isOptional": false,
                      "description": "WrenOS runtime profile to initialize on first run (recommended: research-agent).",
                      "defaultValue": "research-agent"
                    },
                    "AI_API_KEY": {
                      "isOptional": false,
                      "description": "Your API key from openai, anthropic, gemini.",
                      "defaultValue": "{{AI_API_KEY}}"
                    },
                    "AI_PROVIDER": {
                      "isOptional": false,
                      "description": "The name of your AI_PROVIDER: openai, anthropic, gemini (all lowercase).",
                      "defaultValue": "{{AI_PROVIDER}}"
                    },
                    "WORKSPACE_DIR": {
                      "isOptional": false,
                      "description": "Filesystem workspace path inside container (default: /app).",
                      "defaultValue": "/app"
                    },
                    "HELIUS_API_KEY": {
                      "isOptional": true,
                      "description": "Optional Helius API key for enhanced Solana data/RPC capabilities.",
                      "defaultValue": ""
                    },
                    "BIRDEYE_API_KEY": {
                      "isOptional": true,
                      "description": "Optional Birdeye API key for market/token analytics enrichment.",
                      "defaultValue": ""
                    },
                    "JUPITER_API_KEY": {
                      "isOptional": true,
                      "description": "Optional Jupiter API key for advanced routing/data features (if used by your  flow).",
                      "defaultValue": ""
                    },
                    "LUNARCRUSH_API_KEY": {
                      "isOptional": true,
                      "description": "Optional LunarCrush API key for social/sentiment signal enrichment.",
                      "defaultValue": ""
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": false,
                      "description": "Telegram bot token used for operator alerts and command handling.",
                      "defaultValue": "{{TELEGRAM_BOT_TOKEN}}"
                    },
                    "RAILWAY_PUBLIC_DOMAIN": {
                      "isOptional": true,
                      "description": "Optional Railway public domain used for webhook/public route  integrations.",
                      "defaultValue": ""
                    },
                    "TELEGRAM_CHAT_ALLOWLIST": {
                      "isOptional": true,
                      "description": "Optional comma-separated Telegram chat IDs allowed to interact with  the bot.",
                      "defaultValue": ""
                    },
                    "WRENOS_ENABLE_EXECUTION": {
                      "isOptional": true,
                      "description": "Enables execution-capable flows; keep false for paper-first mode.",
                      "defaultValue": "false"
                    },
                    "AGENT_WALLET_PRIVATE_KEY": {
                      "isOptional": true,
                      "description": "Wallet private key for execution-enabled flows only (leave empty for  paper mode).",
                      "defaultValue": ""
                    },
                    "WRENOS_BOOTSTRAP_ON_START": {
                      "isOptional": true,
                      "description": "Whether to run bootstrap/init checks automatically on startup  (true/false).",
                      "defaultValue": "true"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
