Skip to content
Back to skills

Langchain Retrieval Agent

BSecurity

AI agent with retrieval tool for document Q&A using RAG and LangGraph.

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 31, 2026
ai-agentsbashnextjsgitapi

Works with

  • api

Security analysis

B89/100
  • highPerforms destructive filesystem operations
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned May 31, 2026

npx -y skills add majiayu000/claude-skill-registry --skill langchain-retrieval-agent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Langchain Retrieval Agent?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Langchain Retrieval Agent
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-langchain-retrieval-agent/badge)](https://www.skillsdirectory.com/skills/majiayu000-langchain-retrieval-agent)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: langchain-retrieval-agent
description: AI agent with retrieval tool for document Q&A using RAG and LangGraph.
---

# 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

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

If the directory is not empty:

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

### 2. Remove Git History (Optional)

```bash
rm -rf .git
git init
```

### 3. Install Dependencies

```bash
pnpm install
```

### 4. Setup Environment Variables

- `SUPABASE_URL` - Supabase project URL
- `SUPABASE_PRIVATE_KEY` - Supabase service role key
- `OPENAI_API_KEY` - For embeddings and LLM

## Build

```bash
pnpm build
```

## Development

```bash
pnpm dev
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.