{
  "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"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "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-04T13:32:45.587Z",
  "generator_version": "0.1.0"
}
