{
  "name": "Autonomous Agent - Incident Response - Domain Bootstrap",
  "nodes": [
    {
      "parameters": {},
      "id": "323d588a-84de-4037-acf1-1641f23bf365",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        120,
        300
      ]
    },
    {
      "parameters": {
        "operation": "health"
      },
      "id": "688fbfb1-2913-4c59-97f0-8f3b1cc42b94",
      "name": "Platform Health",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentPlatform",
      "typeVersion": 1,
      "position": [
        -880,
        -80
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "pull",
        "model": "qwen2.5:7b",
        "insecure": false
      },
      "id": "85515077-8c68-4d72-a124-2517ea8c057c",
      "name": "Pull Domain Model",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentLlmModel",
      "typeVersion": 1,
      "position": [
        -180,
        -80
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "create",
        "name": "incident-response-policy",
        "model": "qwen2.5:7b",
        "provider": "ollama",
        "inputModalities": [
          "text"
        ],
        "maximumInputCharacters": 120000,
        "maximumOutputTokens": 6000,
        "maximumCostUnits": 15000,
        "allowedPurposes": "incident-root-cause-analysis,production-remediation-plan",
        "includeDimensions": false
      },
      "id": "a1a0319a-38e9-4ada-a97b-5a75063143cd",
      "name": "Create Domain Model Policy",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentModelPolicy",
      "typeVersion": 1,
      "position": [
        60,
        -80
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "source": "database",
        "workflowId": {
          "__rl": true,
          "value": "REPLACE_WITH_INCIDENT_ROOT_CAUSE_ANALYSIS_WORKFLOW_ID",
          "mode": "id"
        },
        "options": {
          "waitForSubWorkflow": true
        }
      },
      "id": "e5e87754-ddbf-4f8e-bb1c-34c0363a33dd",
      "name": "Create Capability - incident-root-cause-analysis",
      "type": "n8n-nodes-base.executeWorkflow",
      "typeVersion": 1.2,
      "position": [
        320,
        -160
      ]
    },
    {
      "parameters": {
        "source": "database",
        "workflowId": {
          "__rl": true,
          "value": "REPLACE_WITH_PRODUCTION_REMEDIATION_PLAN_WORKFLOW_ID",
          "mode": "id"
        },
        "options": {
          "waitForSubWorkflow": true
        }
      },
      "id": "cedf0e87-a968-42ef-ab67-ff793a5b2a3b",
      "name": "Create Capability - production-remediation-plan",
      "type": "n8n-nodes-base.executeWorkflow",
      "typeVersion": 1.2,
      "position": [
        320,
        0
      ]
    },
    {
      "parameters": {
        "operation": "configurationContract"
      },
      "id": "3d405f6a-a5c1-4421-866c-a9feb91b7967",
      "name": "Get Configuration Contract",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentPlatform",
      "typeVersion": 1,
      "position": [
        -650,
        -80
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {},
      "id": "2e54350e-44a0-4be2-aece-286e885d5159",
      "name": "List Effective Tool Registry",
      "type": "n8n-nodes-autonomous-agent.autonomousAgentTool",
      "typeVersion": 1,
      "position": [
        -420,
        -80
      ],
      "credentials": {
        "autonomousAgentApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Platform Health",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Platform Health": {
      "main": [
        [
          {
            "node": "Get Configuration Contract",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pull Domain Model": {
      "main": [
        [
          {
            "node": "Create Domain Model Policy",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Domain Model Policy": {
      "main": [
        [
          {
            "node": "Create Capability - incident-root-cause-analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Capability - incident-root-cause-analysis": {
      "main": [
        [
          {
            "node": "Create Capability - production-remediation-plan",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Configuration Contract": {
      "main": [
        [
          {
            "node": "List Effective Tool Registry",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Effective Tool Registry": {
      "main": [
        [
          {
            "node": "Pull Domain Model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "saveExecutionProgress": true
  },
  "versionId": "beed3a85-b909-45bc-a6c7-15e94334aa83",
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}