{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "e726395c-acbe-4985-a860-833983686681",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        144,
        -480
      ],
      "parameters": {
        "options": {
          "systemMessage": "=You are a helpful assistant with access to Nansen MCP Tool. Nansen MCP tool allows you to understand everything that is happening with the blockchain.\nAs time is sensitive in crypto, always give the today's date in the response.\nToday: {{ $now.toISO() }}"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "220e82d7-0595-452c-a64d-853680d53c4d",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        80,
        -256
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1",
          "cachedResultName": "gpt-4.1"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "e8ba5644-643b-4d95-a212-0b3595eecc12",
      "name": "Nansen MCP",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        336,
        -256
      ],
      "parameters": {
        "options": {},
        "endpointUrl": "https://mcp.nansen.ai/ra/mcp/",
        "authentication": "headerAuth",
        "serverTransport": "httpStreamable"
      },
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "cfdcdecb-b9ec-42ca-9eb5-155e97965ae9",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -128,
        -480
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.3
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        []
      ]
    },
    "Nansen MCP": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}