LangChain Retrieval Agent An AI agent with retrieval tool for document Q&A using RAG, powered by LangGraph. Tech Stack - Framework : Next.js - AI : LangChain.js, LangGraph, AI SDK - Vector Store : Supabase pgvector - Package Manager : pnpm Prerequisites - Supabase project with pgvector extension - OpenAI API key Setup 1. Clone the Template If the directory is not empty: 2. Remove Git History (Optional) 3. Install Dependencies 4. Setup Environment Variables - - Supabase project URL - - Supabase service role key - - For embeddings and LLM Build Development ---