# AI Research RAG & Multi-Agent System

> Build an AI-powered research system that ingests PDFs, retrieves relevant information using RAG, and generates structured, fact-checked research reports with specialized AI agents using n8n, Gemini, and Supabase.

AI Research RAG & Multi-Agent System is a paid AI agent skill on Agensi by Sobia Khan, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [Sobia Khan](https://www.agensi.io/creators/sobia-khan)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ai-research-rag-multi-agent-system
- Tags: automation, ai-agents, research, google-gemini, rag, n8n, supabase, multi-agent-systems

## About this skill

Manually building RAG pipelines from scratch leads to fragmented scripts and brittle orchestration. This skill provides a complete set of n8n workflows for PDF ingestion, vector retrieval, and multi-agent reporting using Google Gemini and Supabase.

### What it does
- **PDF Ingestion** converts research documents into chunks and stores them as embeddings in Supabase.
- **RAG Retrieval** answers conversational queries by fetching grounded context from your vector store.
- **Multi-Agent Orchestration** runs a sequential chain of Coordinator, Research, Analysis, Fact-Checking, and Report Generation agents.
- **Evidence-Based Reporting** generates structured summaries based strictly on retrieved document passages.

### How it works
1. **Ingest Documents** using Workflow 1 to process research PDFs into the Supabase vector database.
2. **Query the Data** via Workflow 2 for rapid chat-based retrieval and grounded Q&A.
3. **Generate Reports** using Workflow 3 by providing a document filename and a research goal for the agent team.
4. **Verify Findings** through the built-in fact-checking agent to distinguish verified data from interpretations.

### Frameworks & tools
This system is built for n8n. It requires Google Gemini for embeddings and generation, and Supabase for vector storage and SQL-based metadata management.

### Why this beats prompting it yourself
Zero-shot prompting lacks the memory and context needed for deep research across hundreds of pages. This skill automates the infrastructure for chunking, vector search, and agentic validation that a single prompt cannot handle.

### Use cases
- Analyze technical whitepapers to extract specific data points or architectural patterns.
- Fact-check internal document claims against a primary source of truth.
- Generate structured research reports from dense academic or corporate PDFs.
- Build a custom internal knowledge base with conversational retrieval capabilities.

### Known limitations
Requires manual configuration of n8n, Gemini, and Supabase credentials. Multi-agent processing is sequential. Retrieval is limited to passages stored in the vector database.

## Requires

- n8n instance
- Google Gemini API account
- Supabase account

Before using this skill, make sure you have: - An n8n instance (local or cloud). - A Google Gemini API account and API key. - A Supabase account and project. You will need to configure your own credentials in n8n and apply the provided Supabase SQL setup. This package includes workflow templates a

## 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 AI Research RAG & Multi-Agent System skill from Agensi" and describe your task.
3. Buy it 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 exactly is included in this n8n-based system?

This skill provides three core n8n workflows that automate the entire pipeline: PDF ingestion and embedding, a conversational RAG retrieval system, and a multi-agent reporting chain. It eliminates the need to manually code fragmented scripts for document processing and agent orchestration.

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

The skill requires an n8n instance (local, self-hosted, or n8n Cloud), a Google Gemini API key for embedding generation and AI model requests, and a Supabase account for vector storage and metadata. The included workflows were developed and tested in a local n8n environment. Users choosing n8n Cloud or another self-hosted environment should import the workflows and configure their own credentials, webhook URLs, and any environment-specific settings.

### How does the multi-agent orchestration differ from a standard chatbot?

Unlike a standard chatbot that responds to a single prompt, this system uses a five-agent sequential workflow: Coordinator, Research, Analysis, Fact-Checking, and Report Generation. Each agent has a specialized role, helping produce structured research reports grounded in retrieved document passages. The fact-checking stage distinguishes verified evidence from unsupported findings.

### Can I use this skill with LLMs other than Google Gemini?

Yes, while optimized for Gemini, the n8n nodes can be adapted to other models supported by n8n. However, for the best performance with the included orchestration logic, Google Gemini is the recommended engine.

### What types of documents are best suited for this ingestion pipeline?

This skill is designed for high-precision retrieval from PDF documents, such as technical whitepapers, academic research, and corporate reports. It is ideal for workflows where every claim must be backed by evidence from a specific primary source.

### Does the purchase include hosting, API credits, or preconfigured accounts?

No. The purchase includes the skill package, three n8n workflow JSON files, setup documentation, and Supabase SQL configuration. Buyers must provide their own n8n instance, Google Gemini API access, and Supabase account and configure their credentials. Hosting and API usage costs are not included.

---

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.
