Traditional RAG systems only scratch the surface of what's possible. In this video, I cover an advanced AI agent I created as a free system for you that combines vector search with knowledge graphs to create a powerhouse of an agent that understands relationships, tracks knowledge changes over time, and reasons about complex connections between pieces of information.
This agent is very extendable and built with PostgreSQL + pgvector for semantic search and Neo4j + Graphiti for temporal knowledge graphs. It automatically chooses between vector search, graph traversal, or hybrid approaches based on the query.
I built the full package here - a complete implementation including semantic chunking, a vector database/knowledge graph pipeline, a FastAPI backend with streaming responses, and a CLI tool to chat with the agent.
Full source code (linked below!) included with support for multiple LLM providers. This is production-ready RAG.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Neon's free tier is more than enough to cover what you'll need in this guide! But if you do decide that you need to upgrade, you can sign up through this link and get a $100 credit:
https://get.neon.com/2cm
I partnered with Neon to get this for you!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Code and instructions for this Agentic RAG Agent here:
https://github.com/coleam00/ottomator-agents/tree/main/agentic-rag-knowledge-graph
Local AI Package (includes Neo4j for knowledge graphs):
https://github.com/coleam00/local-ai-packaged
Graphiti (open source on GitHub):
https://github.com/getzep/graphiti
Weaviate article on Agentic RAG:
https://weaviate.io/blog/what-is-agentic-rag
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00:00 - Introducing Agentic RAG + Knowledge Graphs
01:05 - Unleashing the Power of the Agent Live
05:21 - Tech Stack for this Agent (Pydantic AI, Graphiti, Postgres, etc.)
06:31 - What is Agentic RAG and Why is it so Useful?
10:36 - Set up this Agentic RAG Agent for Yourself!
12:53 - Database Setup in Neon
14:00 - Installing Neo4j
15:07 - Environment Configuration (LLMs, DB, Neo4j, etc.)
18:17 - Setting up Our Knowledge Base for RAG
22:35 - Defining How Your Agent Searches
24:47 - Running and Testing the AI Agent
28:11 - How I used Claude Code to Build this Agent
38:22 - Final Thoughts
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Join me as I push the limits of what is possible with AI. I'll be uploading videos every week - Wednesdays at
7:00 PM CDT!