{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0048b6af-e889-41e5-b0e4-8d47888b3316",
    "slug": "letta-code-remote",
    "name": "Letta Code Remote",
    "description": "Run a Letta Code agent 24/7. No inbound ports, just deploy.",
    "url": "https://railway.com/deploy/letta-code-remote",
    "upstream": {
      "repo_url": "https://github.com/letta-ai/letta-code-server-deployment"
    }
  },
  "services": [
    {
      "name": "letta-code-server-deployment",
      "source": {
        "repo": "https://github.com/letta-ai/letta-code-server-deployment"
      },
      "needs_volume": true,
      "volume_mount_path": "/root",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "ENV_NAME",
      "service": "letta-code-server-deployment",
      "description": "The name of the remote environment.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "letta-code-remote"
      }
    },
    "cli": "railway deploy --template letta-code-remote",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0048b6af-e889-41e5-b0e4-8d47888b3316",
            "serializedConfig": {
              "services": {
                "ea566c85-cda6-4ebd-837e-0addaa1984c2": {
                  "name": "letta-code-server-deployment",
                  "source": {
                    "repo": "letta-ai/letta-code-server-deployment",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "ENV_NAME": {
                      "isOptional": true,
                      "description": "The name of the remote environment.",
                      "defaultValue": "railway"
                    }
                  },
                  "volumeMounts": {
                    "ea566c85-cda6-4ebd-837e-0addaa1984c2": {
                      "mountPath": "/root"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T10:14:42.516Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T15:10:19.275Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_ee2687205fa14cf9baa1",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 106,
    "typical_build_seconds": 52,
    "typical_start_seconds": 16,
    "slowest_service": "letta-code-server-deployment"
  }
}
