Artificial Intelligence is no doubt the future of not just software development but the whole world. And I'm on a mission to master it - focusing first on mastering AI Agents.
In this video I show how to implement an AI Agent with RAG using n8n and Supabase for the chat memory and vector DB. This AI Agent is the REAL deal - something you could actually use in production and not some dinky n8n workflow using buffer memory and an in-memory vector store that duplicates your vectors every time you insert a document again to update it. I see way too much of that on YouTube so I had to create this to show what an n8n RAG agent should look like.
00:00 - Introduction to RAG AI Agent
01:25 - Demonstration of RAG AI Agent
04:03 - Setting Up Supabase
06:33 - Workflow Execution in n8n
09:55 - Managing Document Updates
14:35 - Finalizing the RAG AI Agent
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The n8n workflow for this RAG AI Agent can be downloaded here so you can import it into your own n8n instance:
https://github.com/coleam00/ai-agents-masterclass/tree/main/supabase-n8n-rag-agent
If you want to deploy your own n8n instance for free (all you need to pay for is the server to host it), follow these instructions to self-host n8n super easily with DigitalOcean (n8n documentation):
https://docs.n8n.io/hosting/installation/server-setups/digital-ocean/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Join me as I push the limits of what is possible with AI. I'll be uploading videos twice a week - Sundays and Wednesdays at
7:00 PM CDT!