# DocuAI PDF RAG

> Local-first PDF Q&A and document summaries with grounded answers and source pages using DocuAI.

DocuAI PDF RAG is a free AI agent skill on Agensi by Parmis Hajian Fard, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Parmis Hajian Fard](https://www.agensi.io/creators/parmishajianfard)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- 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/docuai-pdf-rag
- Tags: rag, pdf, ollama, chromadb, streamlit, local-ai

## About this skill

DocuAI is a local-first PDF Retrieval-Augmented Generation (RAG) application that lets users upload a PDF, ask focused questions, request document-level summaries, and inspect source-page evidence.

The app processes documents locally using Python, Streamlit, Hugging Face embeddings, ChromaDB, and Ollama with `llama3.2:3b`. It is designed for private document exploration without requiring a paid cloud LLM API.

This skill helps an agent:

- install DocuAI from the public GitHub repository;
- verify Python, Git, Ollama, and model prerequisites;
- create and use a local `.venv`;
- launch the Streamlit app;
- upload and process PDFs;
- answer focused questions grounded in retrieved document context;
- handle broad document-level requests such as summaries, main points, and key takeaways;
- review source pages and source snippets;
- troubleshoot PDF-processing, retrieval, Ollama, model, environment, and Streamlit issues.

DocuAI keeps the default workflow local. PDF processing, embeddings, vector retrieval, and model inference run on the user's machine.

Current limitations:
- OCR is not included, so scanned or image-only PDFs may not work.
- The current setup expects Python 3.11.
- Ollama and `llama3.2:3b` must be available locally for answer generation.

Project repository:
https://github.com/parmisu/docu-ai

## Requires

- Git
- Ollama
- llama3.2:3b
- Python 3.11

DocuAI runs locally. Python 3.11, Git, Ollama, and the llama3.2:3b model are required. Internet access is needed only for initial cloning, dependency installation, and model download. No paid API key is required.

## Known limitations

No OCR support for scanned or image-only PDFs. Requires local Ollama installation and enough RAM for llama3.2:3b and ChromaDB.

## 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 DocuAI PDF RAG skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does docu ai pdf rag protect my data privacy compared to other AI tools?

This skill automates the setup of a completely local Retrieval-Augmented Generation (RAG) system, allowing you to query sensitive PDFs using Ollama and ChromaDB without your data ever leaving your hardware.

### What are the hardware and software prerequisites for running this local stack?

You will need Python 3.11, Git, and Ollama installed on your machine; the skill handles the rest of the configuration, including model pulling and environment orchestration.

### Can I verify where the AI found its information within the PDF?

Yes, the system includes source traceability, providing specific page numbers and text snippets for every answer generated so you can verify the AI's claims against the original document.

### Does this skill support scanned image PDFs or only text-based files?

This skill is designed for text-based PDFs; it does not currently support Optical Character Recognition (OCR) for scanned images or handwritten documents.

### What is included in the purchase of this skill?

You receive the full automated deployment workflow, environment verification scripts, the Streamlit UI configuration, and the orchestration logic to connect ChromaDB with Ollama.

---

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.
