# Bugslayer RAG Assistant

> Operate a Node.js and Gemini-powered RAG system to index documents and perform grounded chat with source citations.

Bugslayer RAG Assistant is a subscription AI agent skill on Agensi by Pradeep Bahadur, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5/mo (subscription, cancel anytime)
- Creator: [Pradeep Bahadur](https://www.agensi.io/creators/pradeep-bahadur)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/bugslayer-rag-assistant
- Tags: llm-ops, nodejs, gemini-api, rag, vector-database

## About this skill

Managing local documentation for RAG applications is often a manual, fragmented process. This skill provides a specialized interface to operate BugSlayer AI, a Node.js and Gemini-powered system for document-grounded chat.

### What it does
- **Document Indexing** Processes PDF, TXT, and DOCX files into a local vector store using Gemini embeddings.
- **Contextual Retrieval** Performs cosine similarity searches to find document passages relevant to user queries.
- **Grounded Chat** Generates responses using retrieved context with automated citations for source filenames.
- **Automated Sync** Monitors the knowledge base directory with a file watcher to index new or modified files instantly.
- **Knowledge Management** Provides API and UI controls to list, remove, or clear the local document store.

### How it works
1. **Initialize** Set up the Node.js backend with your Gemini API key and configure the local environment.
2. **Index** Upload documents through the web interface or drop files into the watched directory.
3. **Query** Submit questions via the chat interface or the `/api/chat` endpoint.
4. **Manage** Inspect indexed chunks and manage the lifecycle of the knowledge base through the provided API routes.

### Frameworks & tools
This skill operates a stack built on Node.js 20, Express, Google GenAI SDK (Gemini 3.5 Flash Lite), and Chokidar for filesystem watching.

### Why this beats prompting it yourself
Building a RAG pipeline requires handling file extraction, chunking logic, vector storage, and similarity search. This skill provides a pre-configured implementation of these patterns with built-in citation rules and filesystem synchronization.

### Use cases
- Querying internal technical manuals and documentation locally.
- Summarizing multiple project requirements documents.
- Inspecting and managing a local vector store via REST API.
- Troubleshooting Gemini-based RAG workflows and API integration.

### Known limitations
Scanned PDFs require external OCR before indexing. The JSON-based vector store is designed for small-scale local knowledge bases rather than high-volume production data.

## Requires

- Python
- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Bugslayer RAG Assistant skill from Agensi" and describe your task.
3. Subscribe on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific problems does this document assistant solve?

This skill allows you to index PDF, TXT, and DOCX files into a local vector store to perform grounded chat. It solves the problem of manual documentation management by providing a Node.js powered interface that automatically retrieves relevant document passages to answer questions with specific source citations.

### What external accounts or software are required to use this skill?

You will need a Google AI Studio Gemini API key to power the generative and embedding models. Additionally, you must have Node.js 20 or later installed to run the backend system described in the skill files.

### What kind of outputs and management controls does this skill provide?

The skill provides a chat interface that generates responses grounded in your uploaded data, featuring automated citations of source filenames in square brackets. You also get access to API endpoints to list, remove, or clear indexed document chunks from your local knowledge base.

### Are there any limits on the types of files or data volume it can handle?

This skill is designed for small scale local knowledge bases and uses a JSON based vector store rather than a production grade database. It cannot process scanned or image only PDFs unless you perform external OCR on them before indexing.

### How can I instruct my AI agent to interact with this skill?

You can ask your agent to index specific files from your directory, summarize multiple project documents, or ask questions that require answers strictly grounded in your local technical manuals.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
