{
  "name": "🤖 Build an interactive AI agent with chat interface and multiple tools",
  "nodes": [
    {
      "id": "4aace023-5b83-409c-b80f-b1deb0442482",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        380,
        480
      ]
    },
    {
      "id": "624800cc-313a-4fb7-9610-218e141e524b",
      "name": "Gemini",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        20,
        480
      ]
    },
    {
      "id": "4100fa02-5444-4565-9696-04bca3d7fa3f",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -120,
        480
      ]
    },
    {
      "id": "fa4e52f1-aa8e-4f16-9c92-8650338b7990",
      "name": "Example Chat Window",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        0,
        -40
      ]
    },
    {
      "id": "cd0e7167-a293-4565-b689-3162c45cd42b",
      "name": "Your First AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        560,
        -40
      ]
    },
    {
      "id": "6acac509-f2a0-4c88-8fb3-837553c7eb8f",
      "name": "get_a_joke",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        740,
        480
      ]
    },
    {
      "id": "7b7aac6a-9819-4824-96f9-7505ec42db68",
      "name": "days_from_now",
      "type": "n8n-nodes-base.dateTimeTool",
      "position": [
        880,
        480
      ]
    },
    {
      "id": "5f533d73-7dff-41fb-8bd7-dbeb05be6f25",
      "name": "wikipedia",
      "type": "@n8n/n8n-nodes-langchain.toolWikipedia",
      "position": [
        1020,
        480
      ]
    },
    {
      "id": "92d06ffb-c2c1-4bca-b443-72b74ad41eb2",
      "name": "create_password",
      "type": "n8n-nodes-base.cryptoTool",
      "position": [
        1160,
        480
      ]
    },
    {
      "id": "cae4f01a-48c8-4fb6-90c7-5a157d9446f0",
      "name": "calculate_loan_payment",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        1340,
        480
      ]
    },
    {
      "id": "58d0757a-160e-44db-ae58-1f4dcdc617e9",
      "name": "n8n_blog_rss_feed",
      "type": "n8n-nodes-base.rssFeedReadTool",
      "position": [
        1520,
        480
      ]
    },
    {
      "id": "140875e4-a202-4acb-aef2-1839e93e5eea",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        -160
      ],
      "parameters": {
        "width": 540,
        "height": 800,
        "content": "## Was this helpful? Let me know!\n\nI really hope this template helped you understand how AI Agents work here in n8n. Your feedback is incredibly valuable and helps me create better resources for the n"
      }
    },
    {
      "id": "6ab90a26-fdb2-4ac2-9d82-d26704725f36",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -220,
        -340
      ],
      "parameters": {
        "width": 460,
        "height": 460,
        "content": "#### 💬 The Chat Interface\n\nThis is the public-facing chat window where you'll talk to your agent.\n\n**How to Test:**\n1.  **Activate** the workflow.\n2.  Copy the ***Chat URL** from this node's panel.\n3."
      }
    },
    {
      "id": "3d455f51-f2c3-4603-ae14-d5bb004d10f8",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        440,
        -340
      ],
      "parameters": {
        "width": 540,
        "height": 460,
        "content": "#### 🧠 The Brain: Your AI Agent\n\nThis is the most important node! It acts as the central brain of your operation.\n\n**What it does:**\n1.  **Receives** your message from the chat.\n2.  **Understands** yo"
      }
    },
    {
      "id": "e746b1f2-1028-428d-8b88-19004bc29f38",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -220,
        140
      ],
      "parameters": {
        "width": 460,
        "height": 500,
        "content": "#### 🤖 The AI Brainpower (LLM)\n\nThese nodes are the Large Language Models (LLMs) that provide the actual intelligence for your agent.\n\n**ACTION REQUIRED:**\n1.  **Choose ONE model:** By default, Gemini"
      }
    },
    {
      "id": "c08bd708-8e50-4d10-a9bd-5716b76c82c3",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        260,
        160
      ],
      "parameters": {
        "width": 340,
        "height": 480,
        "content": "#### 🧠 Short-Term Memory\n\nThis node gives your agent a simple memory.\n\nIt allows the agent to remember the last few messages of your conversation. This is crucial for providing context and having a na"
      }
    },
    {
      "id": "199a2071-0a07-493b-b281-542834cb86d8",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        160
      ],
      "parameters": {
        "width": 1060,
        "height": 480,
        "content": "#### 🛠️ The Agent's Toolbox (Superpowers)\n\nThese nodes are the **tools** your agent can use. They are its superpowers!\n\nEach tool gives the agent a specific ability, like searching Wikipedia, getting "
      }
    }
  ],
  "connections": {
    "Gemini": {
      "ai_languageModel": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "ai_languageModel": [
        []
      ]
    },
    "wikipedia": {
      "ai_tool": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "get_a_joke": {
      "ai_tool": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "days_from_now": {
      "ai_tool": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "create_password": {
      "ai_tool": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "n8n_blog_rss_feed": {
      "ai_tool": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Example Chat Window": {
      "main": [
        [
          {
            "node": "Your First AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "calculate_loan_payment": {
      "ai_tool": [
        [
          {
            "node": "Your First AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}