{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6dd9841a-4ebe-40ec-b4a5-bf5c09a96ba9",
    "slug": "smooth-operator",
    "name": "Smooth Operator",
    "description": "an agent to manage your daily ops",
    "url": "https://railway.com/deploy/smooth-operator",
    "upstream": {
      "repo_url": "https://github.com/thearyanag/operator-agent"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "operator-agent",
      "source": {
        "repo": "https://github.com/thearyanag/operator-agent"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "DD_SITE",
      "service": "operator-agent",
      "description": "Provide a value for DD_SITE.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PI_MODEL",
      "service": "operator-agent",
      "description": "Optional: product-level provider choice. Leave empty to use the default Anthropic model.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DD_API_KEY",
      "service": "operator-agent",
      "description": "Provide a value for DD_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DD_APP_KEY",
      "service": "operator-agent",
      "description": "Optional Datadog site override, for example datadoghq.com or us5.datadoghq.com.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PI_WORKDIR",
      "service": "operator-agent",
      "description": "Required for the default Anthropic model unless Anthropic auth is already configured in pi settings.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PI_PROVIDER",
      "service": "operator-agent",
      "description": "OpenRouter mode: user provides an API key and model string.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATABASE_URL",
      "service": "operator-agent",
      "description": "Required for the local Datadog MCP package if enabled in .mcp.json.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PI_SESSION_DIR",
      "service": "operator-agent",
      "description": "Optional: comma-separated directories that pi may send as Telegram file attachments",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ALLOWED_GROUP_ID",
      "service": "operator-agent",
      "description": "Optional: stream private-DM assistant text through Telegram sendMessageDraft.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENROUTER_MODEL",
      "service": "operator-agent",
      "description": "OpenAI Codex mode: user provides the credential fields normally stored in ~/.pi/agent/auth.json.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ANTHROPIC_API_KEY",
      "service": "operator-agent",
      "description": "Optional: explicit pi model in provider/model-id format.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PI_THINKING_LEVEL",
      "service": "operator-agent",
      "description": "Optional: extra comma-separated extension file or directory paths for pi.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENAI_CODEX_MODEL",
      "service": "operator-agent",
      "description": "Provide a value for OPENAI_CODEX_MODEL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENROUTER_API_KEY",
      "service": "operator-agent",
      "description": "Provide a value for OPENROUTER_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PI_EXTENSION_PATHS",
      "service": "operator-agent",
      "description": "Optional: path to the operator system prompt markdown file.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "TELEGRAM_BOT_TOKEN",
      "service": "operator-agent",
      "description": "Optional: comma-separated Telegram user IDs that may DM the bot.",
      "secret": true,
      "strategy": "default",
      "default": "your_bot_token_here"
    },
    {
      "key": "PI_SYSTEM_PROMPT_PATH",
      "service": "operator-agent",
      "description": "Optional: custom directory for persisted per-chat pi sessions.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENAI_CODEX_AUTH_JSON",
      "service": "operator-agent",
      "description": "Optional: pi thinking level.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENAI_CODEX_ACCOUNT_ID",
      "service": "operator-agent",
      "description": "Alternative OpenAI Codex input: either the openai-codex credential object or the full auth.json object.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENAI_CODEX_ACCESS_TOKEN",
      "service": "operator-agent",
      "description": "Provide a value for OPENAI_CODEX_ACCESS_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TELEGRAM_ATTACHMENT_ROOTS",
      "service": "operator-agent",
      "description": "Required for the local Postgres MCP package if enabled in .mcp.json.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "TELEGRAM_BUSINESS_DRY_RUN",
      "service": "operator-agent",
      "description": "Optional: working directory pi should operate in.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENAI_CODEX_EXPIRES_AT_MS",
      "service": "operator-agent",
      "description": "Provide a value for OPENAI_CODEX_EXPIRES_AT_MS.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENAI_CODEX_REFRESH_TOKEN",
      "service": "operator-agent",
      "description": "Provide a value for OPENAI_CODEX_REFRESH_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENABLE_TELEGRAM_NATIVE_STREAMING",
      "service": "operator-agent",
      "description": "Optional: enable Telegram Business / Chat Automation messages.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ENABLE_TELEGRAM_BUSINESS_AUTOMATION",
      "service": "operator-agent",
      "description": "Optional: comma-separated Telegram user IDs whose connected Business accounts may auto-reply.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "TELEGRAM_BUSINESS_ALLOWED_OWNER_IDS",
      "service": "operator-agent",
      "description": "Optional: run Business automation without sending replies to managed chats.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "smooth-operator"
      }
    },
    "cli": "railway deploy --template smooth-operator",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6dd9841a-4ebe-40ec-b4a5-bf5c09a96ba9",
            "serializedConfig": {
              "services": {
                "1409ae2e-8c7f-4ddf-b2ca-940562c94afa": {
                  "icon": "https://cdn.dribbble.com/userupload/3055829/file/original-15a8caa273982b188ab4df351b8a09fb.png?resize=752x&vertical=center",
                  "name": "operator-agent",
                  "source": {
                    "repo": "thearyanag/operator-agent",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "DD_SITE": {
                      "defaultValue": "{{DD_SITE}}"
                    },
                    "PI_MODEL": {
                      "description": "Optional: product-level provider choice. Leave empty to use the default Anthropic model.",
                      "defaultValue": "{{PI_MODEL}}"
                    },
                    "DD_API_KEY": {
                      "defaultValue": "{{DD_API_KEY}}"
                    },
                    "DD_APP_KEY": {
                      "description": "Optional Datadog site override, for example datadoghq.com or us5.datadoghq.com.",
                      "defaultValue": "{{DD_APP_KEY}}"
                    },
                    "PI_WORKDIR": {
                      "description": "Required for the default Anthropic model unless Anthropic auth is already configured in pi settings.",
                      "defaultValue": "{{PI_WORKDIR}}"
                    },
                    "PI_PROVIDER": {
                      "description": "OpenRouter mode: user provides an API key and model string.",
                      "defaultValue": "{{PI_PROVIDER}}"
                    },
                    "DATABASE_URL": {
                      "description": "Required for the local Datadog MCP package if enabled in .mcp.json.",
                      "defaultValue": "{{DATABASE_URL}}"
                    },
                    "PI_SESSION_DIR": {
                      "description": "Optional: comma-separated directories that pi may send as Telegram file attachments",
                      "defaultValue": "{{PI_SESSION_DIR}}"
                    },
                    "ALLOWED_GROUP_ID": {
                      "description": "Optional: stream private-DM assistant text through Telegram sendMessageDraft.",
                      "defaultValue": "{{ALLOWED_GROUP_ID}}"
                    },
                    "ALLOWED_USER_IDS": {
                      "isOptional": true,
                      "description": "Optional: if set, users in this group/supergroup can interact with the bot.",
                      "defaultValue": ""
                    },
                    "OPENROUTER_MODEL": {
                      "description": "OpenAI Codex mode: user provides the credential fields normally stored in ~/.pi/agent/auth.json.",
                      "defaultValue": "{{OPENROUTER_MODEL}}"
                    },
                    "ANTHROPIC_API_KEY": {
                      "description": "Optional: explicit pi model in provider/model-id format.",
                      "defaultValue": "{{ANTHROPIC_API_KEY}}"
                    },
                    "PI_THINKING_LEVEL": {
                      "description": "Optional: extra comma-separated extension file or directory paths for pi.",
                      "defaultValue": "{{PI_THINKING_LEVEL}}"
                    },
                    "OPENAI_CODEX_MODEL": {
                      "defaultValue": "{{OPENAI_CODEX_MODEL}}"
                    },
                    "OPENROUTER_API_KEY": {
                      "defaultValue": "{{OPENROUTER_API_KEY}}"
                    },
                    "PI_EXTENSION_PATHS": {
                      "description": "Optional: path to the operator system prompt markdown file.",
                      "defaultValue": "{{PI_EXTENSION_PATHS}}"
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "description": "Optional: comma-separated Telegram user IDs that may DM the bot.",
                      "defaultValue": "your_bot_token_here"
                    },
                    "PI_SYSTEM_PROMPT_PATH": {
                      "description": "Optional: custom directory for persisted per-chat pi sessions.",
                      "defaultValue": "{{PI_SYSTEM_PROMPT_PATH}}"
                    },
                    "OPENAI_CODEX_AUTH_JSON": {
                      "description": "Optional: pi thinking level.",
                      "defaultValue": "{{OPENAI_CODEX_AUTH_JSON}}"
                    },
                    "OPENAI_CODEX_ACCOUNT_ID": {
                      "description": "Alternative OpenAI Codex input: either the openai-codex credential object or the full auth.json object.",
                      "defaultValue": "{{OPENAI_CODEX_ACCOUNT_ID}}"
                    },
                    "OPENAI_CODEX_ACCESS_TOKEN": {
                      "defaultValue": "{{OPENAI_CODEX_ACCESS_TOKEN}}"
                    },
                    "TELEGRAM_ATTACHMENT_ROOTS": {
                      "description": "Required for the local Postgres MCP package if enabled in .mcp.json.",
                      "defaultValue": "{{TELEGRAM_ATTACHMENT_ROOTS}}"
                    },
                    "TELEGRAM_BUSINESS_DRY_RUN": {
                      "description": "Optional: working directory pi should operate in.",
                      "defaultValue": "{{TELEGRAM_BUSINESS_DRY_RUN}}"
                    },
                    "OPENAI_CODEX_EXPIRES_AT_MS": {
                      "defaultValue": "{{OPENAI_CODEX_EXPIRES_AT_MS}}"
                    },
                    "OPENAI_CODEX_REFRESH_TOKEN": {
                      "defaultValue": "{{OPENAI_CODEX_REFRESH_TOKEN}}"
                    },
                    "ENABLE_TELEGRAM_NATIVE_STREAMING": {
                      "description": "Optional: enable Telegram Business / Chat Automation messages.",
                      "defaultValue": "{{ENABLE_TELEGRAM_NATIVE_STREAMING}}"
                    },
                    "ENABLE_TELEGRAM_BUSINESS_AUTOMATION": {
                      "description": "Optional: comma-separated Telegram user IDs whose connected Business accounts may auto-reply.",
                      "defaultValue": "{{ENABLE_TELEGRAM_BUSINESS_AUTOMATION}}"
                    },
                    "TELEGRAM_BUSINESS_ALLOWED_OWNER_IDS": {
                      "description": "Optional: run Business automation without sending replies to managed chats.",
                      "defaultValue": "{{TELEGRAM_BUSINESS_ALLOWED_OWNER_IDS}}"
                    }
                  },
                  "volumeMounts": {
                    "1409ae2e-8c7f-4ddf-b2ca-940562c94afa": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
