{
  "name": "Chat Hub Web Search Agent with Tavily Search",
  "nodes": [
    {
      "id": "4adb1e88-535b-4b6b-8f97-cee2e40770a0",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        544,
        0
      ]
    },
    {
      "id": "89e7a80a-cf16-4e62-90c6-0f65be69f5e3",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        768,
        288
      ],
      "parameters": {
        "width": 192,
        "height": 240,
        "content": "Quickly returns results with Tavily Search"
      }
    },
    {
      "id": "b3b49fc8-feb6-4f2a-8f7b-db4eb60d7c38",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        640,
        384
      ]
    },
    {
      "id": "b0c8c61d-c3db-41d2-9381-1c49d70c2c95",
      "name": "Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        432,
        384
      ]
    },
    {
      "id": "d82a8196-4f7f-417f-b5ef-e0b697476847",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        -128
      ],
      "parameters": {
        "width": null,
        "height": 288,
        "content": "## Chat in Chat Hub\nGo to `{your-n8n-url}/home/chat` to use this agent!"
      }
    },
    {
      "id": "4130e490-b5d5-485e-a586-d04e09dcb9af",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -128
      ],
      "parameters": {
        "width": 384,
        "height": 288,
        "content": "## Just a Regular Ol Agent\nYou can build up from here! Add any other tool you want or add to the system prompt to fit your needs!"
      }
    },
    {
      "id": "96984713-4a82-4a0a-9999-06b65298c0e5",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        368,
        192
      ],
      "parameters": {
        "width": 224,
        "height": 320,
        "content": "## Replace Me\nIf you want, replace me with the provider and model you prefer!\n\nMaybe pick one out on our [AI Benchmark](https://n8n.io/ai-benchmark)"
      }
    },
    {
      "id": "98d198d3-9c34-4a7b-8647-f559fdc83897",
      "name": "When chat message received in Chat Hub",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        192,
        0
      ]
    },
    {
      "id": "b8482b2a-7169-4abe-b260-0630db5b447a",
      "name": "Search",
      "type": "@tavily/n8n-nodes-tavily.tavilyTool",
      "position": [
        816,
        384
      ]
    }
  ],
  "connections": {
    "Search": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received in Chat Hub": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}