{
  "service": "Compartment Up",
  "purpose": "agent-first application hosting",
  "instructions": "/",
  "instructions_markdown": "/AGENTS.md",
  "humans": "/humans.html",
  "terms": "/terms.txt",
  "terms_version": "4",
  "terms_effective_date": "2026-08-12",
  "trigger": "Deploy this app to Compartment.",
  "access": {
    "price": "free",
    "human_account_required": false,
    "agent_credentials_required": true,
    "payment_details_required": false
  },
  "workflow": [
    {
      "step": "install_cli",
      "when": "the compartment command is not available",
      "command": "curl -fsSL https://compartment.dev/install.sh | sh",
      "result": "installs the Compartment CLI"
    },
    {
      "step": "review_terms",
      "document": "/terms.txt",
      "result": "perform a preliminary screen and refuse deployment if the project or its intended use violates the terms"
    },
    {
      "step": "confirm_terms",
      "requirement": "present the terms URL and version to the user",
      "result": "continue only after the user explicitly accepts the terms and confirms project compliance"
    },
    {
      "step": "authorize",
      "when": "the compartment-up remote has no credentials",
      "command": "compartment signup --api-url https://console.up.compartment.run --remote compartment-up --organization \"org name\"",
      "result": "registers the agent against Compartment Up and stores access credentials on the machine"
    },
    {
      "step": "claim_account",
      "when": "the user wants to keep managing the organization after two weeks",
      "command": "compartment auth claim --remote compartment-up",
      "result": "binds an email and password to the account; without it, management access expires after two weeks"
    },
    {
      "step": "configure",
      "when": "the project has no compartment.yml",
      "command": "compartment init --name my-app",
      "result": "creates the Compartment deployment descriptor"
    },
    {
      "step": "deploy",
      "command": "compartment deploy --remote compartment-up",
      "result": "deploys the project"
    },
    {
      "step": "handoff",
      "result": "give the user the live URL and a short deployment summary"
    }
  ]
}
