MAi-RAG-P.A. Offline Local AI Assistant Logo MAi-RAG-P.A.
v2.0.0 Released • Open Source & 100% Free, including Built in Roles Creation

An AI personal assistant that stays personal.

A comprehensive, privacy first productivity suite that runs entirely on your local machine.
Run local LLMs via Ollama, build a RAG knowledge base, and use self healing agentic workflows.
No cloud. No subscriptions. No data mining.
Your data, your rules.

Stop renting AI by the month. Own a team of them. A private tutor, a legal analyst, a report writer, running entirely offline on your machine. Built once for a one time fee. No cloud. No subscriptions. No data mining.
curl -fsSL https://github.com/MAi-RAG-PA/MAi-RAG-PA/raw/main/install.sh | bash

✨ One line installer for Linux, macOS, Windows WSL2, and Unix.

Built for Productivity. Designed for Privacy & Data Sovereignty.

MAi‑RAG‑P.A. is not just a chatbot, it's a complete, offline‑first AI suite with a local vector database, persistent memory, and agentic capabilities.

Absolute Data Sovereignty

  • 100% Offline Operation – no cloud
  • Zero telemetry, tracking, or data mining
  • Local SQLite & Qdrant vector storage
  • Your files and conversations stay on your machine

Triple Layer Local Memory

  • System Prompt: Strict behavioral control
  • Short‑Term (STM): SQLite operational memory
  • Long‑Term (LTM): Qdrant RAG for deep semantic search
  • Automatic fact extraction and pattern learning

AI Hallucination Defense

  • Cross references your local knowledge base
  • Admits uncertainty when appropriate
  • Verifies correctness before saving files
  • Mandatory source citations and references

Self Healing Agentic Workflows

  • Generate → Verify → Fix → Save pipeline
  • Automated syntax and structure checks
  • Safe sandbox for AI generated code
  • One click rollback and backup

RAG Knowledge Base

  • Ingest 17+ document formats (PDF, DOCX, Markdown, etc.)
  • Semantic search with Qdrant vector DB
  • Structured & unstructured data support
  • Batch ingestion with real time progress

Roles - Private Specialists

  • Each Role has its own knowledge base & memory
  • Per-Role system prompt & citation settings
  • Model override per Role for hardware efficiency
  • Role-scoped isolation, no cross contamination

Why MAi‑RAG‑P.A. over Cloud AI?

Stop paying for subscriptions and giving away your data. Run everything locally with total control.

MAi‑RAG‑P.A. (Local)

  • 100% offline, no internet required
  • Your data stays on your machine
  • Unlimited usage, no per‑token cost
  • Full access to source code
  • Self healing agentic workflows
  • Local vector database and memory
  • Custom Roles you own outright

Cloud AI Services

  • Requires constant internet
  • Your data may be stored on third party servers
  • Pay per token or monthly subscription
  • Closed source / proprietary
  • Limited customization
  • Dependent on external APIs
  • Generic, one brain for everyone

Your AI Just Became a Team.

MAi-RAG-P.A. includes the Roles system introduced in v1.7.0, each with its own private knowledge base, learned memory, personality, and rules. One assistant, many experts. All local, all private.

What Is a Role?

A Role bundles a system prompt, a private Qdrant collection, its own memory, a citation setting, and an optional model override. Switch Roles and the entire assistant transforms, knowledge, tone, and memory included.

Role-Scoped Isolation

Facts learned as well as content in the "Tax Preparation" role never leak into the "Creative Writing" role. Client A's contracts or information never surface in Client B's thread. This is a compliance feature, not just convenience.

Role Creation Is a Craft

The framework is free. Building a good Role requires dataset engineering, prompt architecture, hallucination defense, and model matching. That's where we come in.

Role Creation Services · Entry · Intermediate · Professional

From a grade-school math tutor to a clinical literature reviewer, we engineer private Roles that run entirely on your machine. Fixed price builds from $149. One time fee. No cloud. No subscriptions. You own it forever.

Prefer to Build a Business With This?

We publish a two part business series for freelancers who want the highest paying clients in the AI market, plus pre-built specialist Roles you can install in ten minutes.

Browse Products →

Self Healing Agentic Workflow: Zero Broken Code

A deterministic verification pipeline ensures every AI created file is syntactically valid and structurally sound before it touches your filesystem.

1. Generate
→
2. Verify
→
3. Fix
→
4. Save

Ready to Take Back Control of Your Data?

Join the community of users who have limited their dependency of cloud subscriptions and data mining for a truly personal, offline AI assistant.
Let AI work for you, not the other way around.

curl -fsSL https://github.com/MAi-RAG-PA/MAi-RAG-PA/raw/main/install.sh | bash

✨ One line installer for Linux, macOS, Windows WSL2, and Unix.