- Home
- Skills
- Workflow Automation
- AI Research RAG & Multi-Agent System
More screenshots
Works with the AI Agents you already use
AI Research RAG & Multi-Agent System
by Sobia Khan
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.
$10
AI Research RAG & Multi-Agent System
Example session with this skill installed
I want to set up an AI Research RAG and Multi-Agent System using n8n, Google Gemini, and Supabase.
Guide me through configuring the complete system using the three provided workflows:
- Document Ingestion — upload research PDFs, extract and chunk their content, generate embeddings, and store them in Supabase.
- RAG Retrieval — let me ask questions about ingested documents and retrieve relevant information using semantic search.
- Multi-Agent Research — use Coordinator, Research, Analysis, Fact-Checking, and Report Generation agents to produce structured, evidence-based research reports.
Explain the required database configuration, API credentials, workflow imports, and setup steps. Use the provided documentation and SQL files, and clearly identify anything I need to configure myself. Do not invent successful execution results or claim that the system is deployed.
- Read your context and instructions
- Compiled the ai research rag
AI Research RAG & Multi-Agent System — Setup Blueprint
Overview
Your AI Research system consists of three connected n8n workflows that transform research PDFs into a searchable knowledge base and generate structured, evidence-based reports.
The system uses Google Gemini for embeddings and language generation, and Supabase for vector storage and semantic retrieval.
1. System Architecture
| Workflow | Responsibility | Output |
|---|---|---|
| 01 — Document Ingestion | Extract PDF text, split it into chunks, generate embeddings | Stored document vectors |
| 02 — RAG Retrieval | Search relevant document passages using semantic similarity | Context-grounded answers |
| 03 — Multi-Agent System | Coordinate research, analysis, verification and reporting | Structured research reports |
2. Required Configuration
| Component | Requirement |
|---|---|
| Automation | n8n instance |
| LLM | Google Gemini API |
| Embedding model | models/gemini-embedding-001 |
| Database | Supabase |
| Vector table | public.documents |
| Embedding dimensions | 3072 |
The Supabase database uses
contentto store document chunks.metadatato store document information.embeddingto store vector representations.match_documentsto perform similarity searches.
A provided SQL setup file documents the required table, vector index, and matching function.
3. Multi-Agent Research Pipeline
The third workflow coordinates five specialized agents:
- Coordinator Agent: Organizes the research task.
- Research Agent: Retrieves relevant evidence from the knowledge base.
- Analysis Agent: Examines the retrieved information.
- Fact-Checking Agent: Checks findings against the available evidence.
- Report Generation Agent: Produces the final structured report.
4. Evidence and Verification Rules
The system follows important research safeguards:
- Use retrieved document evidence rather than inventing findings.
- Distinguish verified facts from interpretations.
- Never fabricate citations, page numbers, or statistics.
- Report when information is not found in retrieved passages.
- Do not claim that something is absent from an entire document unless the full document has actually been verified.
5. Expected Deliverables
After configuration, the system is designed to provide:
- PDF document ingestion into a vector database.
- Conversational question answering over uploaded research.
- Document-specific retrieval.
- Multi-agent research and analysis.
- Fact-checked, structured research reports.
6. Setup and Ownership
The buyer imports the provided workflow JSON files into their own n8n instance, configures their Gemini and Supabase credentials, and prepares the database using the supplied SQL instructions.
The workflows are templates and require customer-side configuration and testing. Hosting, API usage, and deployment are not included.
Next Steps
- Review the setup guide and requirements.
- Configure Supabase and its vector search function.
- Add the required Gemini credentials in n8n.
- Import and configure the three workflows.
- Ingest a research PDF.
- Test retrieval and multi-agent report generation.
Result: A configurable AI-powered research automation system built around RAG, vector search, and coordinated AI agents.
Connects securely to your tools. The creator never sees your data.
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
- Ingest Documents using Workflow 1 to process research PDFs into the Supabase vector database.
- Query the Data via Workflow 2 for rapid chat-based retrieval and grounded Q&A.
- Generate Reports using Workflow 3 by providing a document filename and a research goal for the agent team.
- 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.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 11 days ago
- Accounts
Google AIGoogle Gemini API account
Supabase account
- Software
- n8n instance
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
Permissions
Allowed Hosts
File Scopes
The skill needs read access to its included documentation, workflow JSON files, and Supabase SQL setup file to explain the installation and configuration process. It does not require access to personal files, private credentials, or unrelated directories. Buyers must configure their own n8n, Google Gemini, and Supabase credentials.
What's inside
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.