{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3a71b37e-af6a-46a5-8bdb-651a032ebecb",
    "slug": "mirofish",
    "name": "Mirofish",
    "description": "A Simple and Universal Swarm Intelligence Engine, Predicting Anything.",
    "url": "https://railway.com/deploy/mirofish",
    "upstream": {
      "image": "ghcr.io/666ghj/mirofish:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Mirofish",
      "source": {
        "image": "ghcr.io/666ghj/mirofish:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/backend/uploads",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Mirofish",
      "description": "Port exposed by the application container",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "FLASK_DEBUG",
      "service": "Mirofish",
      "description": "Disable Flask debug mode for production deployment",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "LLM_API_KEY",
      "service": "Mirofish",
      "description": "API key for your OpenAI-compatible LLM provider (e.g., OpenAI, DashScope, Zeabur AI Hub)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ZEP_API_KEY",
      "service": "Mirofish",
      "description": "API key from Zep Cloud for agent long-term memory & knowledge graph construction (https://app.getzep.com/)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "LLM_BASE_URL",
      "service": "Mirofish",
      "description": "Base API endpoint URL for your primary LLM service provider",
      "secret": false,
      "strategy": "default",
      "default": "https://dashscope.aliyuncs.com/compatible-mode/v1"
    },
    {
      "key": "LLM_MODEL_NAME",
      "service": "Mirofish",
      "description": "Model identifier for the primary LLM (e.g., qwen-plus, gpt-4.1-mini, gpt-4o)",
      "secret": false,
      "strategy": "default",
      "default": "qwen-plus"
    },
    {
      "key": "OASIS_DEFAULT_MAX_ROUNDS",
      "service": "Mirofish",
      "description": "Maximum simulation rounds for OASIS agent engine (higher = more tokens used; 10 is recommended for tests)",
      "secret": false,
      "strategy": "default",
      "default": "10"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mirofish"
      }
    },
    "cli": "railway deploy --template mirofish",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3a71b37e-af6a-46a5-8bdb-651a032ebecb",
            "serializedConfig": {
              "services": {
                "f5174865-29e8-403c-a316-83af97e5bdef": {
                  "name": "Mirofish",
                  "deploy": {
                    "startCommand": "sh -c 'sed -i \"s/server: {/server: { allowedHosts: true,/\" /app/frontend/vite.config.js && npm run dev'"
                  },
                  "source": {
                    "image": "ghcr.io/666ghj/mirofish:latest"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Port exposed by the application container",
                      "defaultValue": "3000"
                    },
                    "FLASK_DEBUG": {
                      "description": "Disable Flask debug mode for production deployment",
                      "defaultValue": "false"
                    },
                    "LLM_API_KEY": {
                      "description": "API key for your OpenAI-compatible LLM provider (e.g., OpenAI, DashScope, Zeabur AI Hub)",
                      "defaultValue": "{{LLM_API_KEY}}"
                    },
                    "ZEP_API_KEY": {
                      "description": "API key from Zep Cloud for agent long-term memory & knowledge graph construction (https://app.getzep.com/)",
                      "defaultValue": "{{ZEP_API_KEY}}"
                    },
                    "LLM_BASE_URL": {
                      "description": "Base API endpoint URL for your primary LLM service provider",
                      "defaultValue": "https://dashscope.aliyuncs.com/compatible-mode/v1"
                    },
                    "LLM_MODEL_NAME": {
                      "description": "Model identifier for the primary LLM (e.g., qwen-plus, gpt-4.1-mini, gpt-4o)",
                      "defaultValue": "qwen-plus"
                    },
                    "OASIS_DEFAULT_MAX_ROUNDS": {
                      "description": "Maximum simulation rounds for OASIS agent engine (higher = more tokens used; 10 is recommended for tests)",
                      "defaultValue": "10"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "f5174865-29e8-403c-a316-83af97e5bdef": {
                      "mountPath": "/app/backend/uploads"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0"
}
