Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
eng0ai avatar

Langchain Retrieval

  • 44 installs
  • 15 repo stars
  • Updated June 16, 2026
  • eng0ai/eng0-template-skills

Build a retrieval-augmented generation system with LangChain.

About

LangChain template for RAG pipelines. Use for building knowledge-aware AI systems.

  • Retrieval-augmented generation
  • LangChain integration

Langchain Retrieval by the numbers

  • 44 all-time installs (skills.sh)
  • Ranked #7,851 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
npx skills add https://github.com/eng0ai/eng0-template-skills --skill langchain-retrieval

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs44
repo stars15
Last updatedJune 16, 2026
Repositoryeng0ai/eng0-template-skills

What it does

Build a retrieval-augmented generation system with LangChain.

Files

SKILL.mdMarkdownGitHub ↗

LangChain Retrieval

Document Q&A with RAG (Retrieval Augmented Generation) using Supabase vector store.

Tech Stack

  • Framework: Next.js
  • AI: LangChain.js, AI SDK
  • Vector Store: Supabase pgvector
  • Package Manager: pnpm

Prerequisites

  • Supabase project with pgvector extension
  • OpenAI API key

Setup

1. Clone the Template

git clone --depth 1 https://github.com/Eng0AI/langchain-retrieval.git .

If the directory is not empty:

git clone --depth 1 https://github.com/Eng0AI/langchain-retrieval.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template

2. Remove Git History (Optional)

rm -rf .git
git init

3. Install Dependencies

pnpm install

4. Setup Environment Variables

Create .env with required variables:

  • SUPABASE_URL - Supabase project URL
  • SUPABASE_PRIVATE_KEY - Supabase service role key
  • OPENAI_API_KEY - For embeddings and LLM
  • SUPABASE_DB_URL - Direct PostgreSQL connection URL

5. Setup Vector Store

Initialize pgvector extension and create documents table in Supabase.

Build

pnpm build

Development

pnpm dev

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.