{
  "manifest_version": "1.0.0",
  "template": {
    "id": "280366fe-5769-4375-8888-9b3212cd276f",
    "slug": "letta-agents",
    "name": "Letta",
    "description": "AI agents that remember you and get better over time",
    "url": "https://railway.com/deploy/letta-agents",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/letta-railway"
    }
  },
  "services": [
    {
      "name": "letta",
      "source": {
        "repo": "https://github.com/gridalpha/letta-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/root",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "letta",
      "description": "HTTP and WebSocket listening port",
      "secret": false,
      "strategy": "default",
      "default": "4500"
    },
    {
      "key": "LETTA_AGENT_NAME",
      "service": "letta",
      "description": "Name of the first-boot agent",
      "secret": false,
      "strategy": "default",
      "default": "Letta Agent"
    },
    {
      "key": "LETTA_APP_SERVER_TOKEN",
      "service": "letta",
      "description": "Bearer token for authenticated routes",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "LETTA_AGENT_PERSONALITY",
      "service": "letta",
      "description": "Personality preset for that agent",
      "secret": false,
      "strategy": "default",
      "default": "letta-code"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "letta",
      "description": "Dockerfile path for the build",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "letta-agents"
      }
    },
    "cli": "railway deploy --template letta-agents",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "280366fe-5769-4375-8888-9b3212cd276f",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "66aba59a-07e3-4ff3-b511-7425bf893d62": {
                  "icon": "https://raw.githubusercontent.com/letta-ai/letta-computer-deployment/main/Letta_Icon_GreyonOffBlack.svg",
                  "name": "letta",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/letta-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP and WebSocket listening port",
                      "defaultValue": "4500"
                    },
                    "LETTA_AGENT_NAME": {
                      "isOptional": false,
                      "description": "Name of the first-boot agent",
                      "defaultValue": "Letta Agent"
                    },
                    "LETTA_APP_SERVER_TOKEN": {
                      "isOptional": false,
                      "description": "Bearer token for authenticated routes",
                      "defaultValue": "{{LETTA_APP_SERVER_TOKEN}}"
                    },
                    "LETTA_AGENT_PERSONALITY": {
                      "isOptional": false,
                      "description": "Personality preset for that agent",
                      "defaultValue": "letta-code"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile path for the build",
                      "defaultValue": "Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:4500": {
                        "port": 4500
                      }
                    }
                  },
                  "volumeMounts": {
                    "66aba59a-07e3-4ff3-b511-7425bf893d62": {
                      "mountPath": "/root"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-17T05:17:32.061Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f25c0980597d4e309db4",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 118,
    "typical_build_seconds": 41,
    "typical_start_seconds": 20,
    "slowest_service": "letta"
  }
}
