{
  "title": "Multiple Gateways (same host)",
  "content": "Most setups should use one Gateway because a single Gateway can handle multiple messaging connections and agents. If you need stronger isolation or redundancy (e.g., a rescue bot), run separate Gateways with isolated profiles/ports.\n\n## Isolation checklist (required)\n\n* `OPENCLAW_CONFIG_PATH` — per-instance config file\n* `OPENCLAW_STATE_DIR` — per-instance sessions, creds, caches\n* `agents.defaults.workspace` — per-instance workspace root\n* `gateway.port` (or `--port`) — unique per instance\n* Derived ports (browser/canvas) must not overlap\n\nIf these are shared, you will hit config races and port conflicts.\n\n## Recommended: profiles (`--profile`)\n\nProfiles auto-scope `OPENCLAW_STATE_DIR` + `OPENCLAW_CONFIG_PATH` and suffix service names.",
  "code_samples": [],
  "headings": [
    {
      "level": "h2",
      "text": "Isolation checklist (required)",
      "id": "isolation-checklist-(required)"
    },
    {
      "level": "h2",
      "text": "Recommended: profiles (`--profile`)",
      "id": "recommended:-profiles-(`--profile`)"
    }
  ],
  "url": "llms-txt#multiple-gateways-(same-host)",
  "links": []
}