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.
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.
See the Local AI WebUI in Action
A unified, polished interface designed for instant access to chat, memory, scheduling, and system health.
Comprehensive Dashboard
A unified dashboard giving you instant access to local chat, memory, calendar, system health, and Role-based specialists.
Multi‑Threaded Chat Console
Persistent, database backed conversations with real time resource monitoring, dynamic model switching, and per-thread Role auto-activation.
AI Assisted Text & Code Editor
Multi‑format editing with syntax highlighting, AI refactoring, and direct browser native file saving.
Dual Layer Memory System
Ingest 17+ document formats into Qdrant for semantic search, while SQLite tracks your habits, tasks, and preferences, all Role-scoped.
Full Featured Calendar & Planner
Year, month, week, and day views with smart reminders, recurring events, and conflict detection.
Monthly Calendar View
Complete month at a glance with event pills, quick navigation, and visual scheduling.
Weekly Planning View
7-day cards with hour by hour breakdown for precise time management and appointment tracking.
Upcoming Events & Task Manager
Real time event tracking with priority based to do lists, due dates, and smart notifications.
System Doctor & Self Healing
System notification intervals, one click diagnostics, and an isolated sandbox environment for AI powered code repair with instant rollback.
System Prompt & Heartbeat Configuration
Unified prompt management with version control, custom heartbeat intervals, and real time system health monitoring.
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.