{
  "openruna_format": "flow-graph-v1",
  "title": "Build Custom AI Agent with LangChain & Gemini (Self-Hosted)",
  "slug": "build-custom-ai-agent-with-langchain-gemini-self-hosted",
  "source_filename": "2023_Stickynote_Create_Triggered.json",
  "nodes": [
    {
      "id": "When chat message received",
      "name": "When chat message received",
      "integration": "@n8n/n8n-nodes-langchain.chat",
      "kind": "trigger"
    },
    {
      "id": "Google Gemini Chat Model",
      "name": "Google Gemini Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Store conversation history",
      "name": "Store conversation history",
      "integration": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "kind": "action"
    },
    {
      "id": "Construct & Execute LLM Prompt",
      "name": "Construct & Execute LLM Prompt",
      "integration": "@n8n/n8n-nodes-langchain.code",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "When chat message received",
      "to": "Construct & Execute LLM Prompt"
    }
  ]
}