Back to work
Public repo·Creator

LangGraph RAG Starter

Minimal LangGraph.js RAG agent — retrieve → grade → generate | refuse. Zero embeddings required, runs in 30 seconds with no API key. A clean starter for agentic RAG patterns.

Stack

LangGraph.jsTypeScriptNode 20OpenRouter

What's interesting

  • Conditional routing in a real LangGraph state machine — the thing LangGraph actually adds over plain chains.

  • Embedding-free retrieval (TF-IDF over markdown) so the graph is decoupled from any vector store.

  • Dual-mode: live LLM via OpenRouter, or a stub LLM for zero-setup demos.

  • Swap-points table in the README for moving to pgvector, Pinecone, Chroma, Supabase.

Want a walkthrough or architecture deep-dive? Reach me at mbelteshazzar.bm.1247@gmail.com.