The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Secure Rag Multi Agent
Secure Retrieval-Augmented Generation (RAG) with role-based access control using Mastra AI orchestration, with JWT Secure, also Deep Research built with Cedar & Next.js.…
Install
git clone https://github.com/ssdeanx/secure-rag-multi-agentInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →🔐 Multi-Agent AI Orchestration System
A comprehensive multi-agent AI orchestration platform featuring secure Retrieval-Augmented Generation (RAG), advanced research capabilities, voice interactions, MCP integration, and sophisticated memory management using Mastra AI framework.
Overview
A comprehensive multi-agent AI orchestration platform that combines secure Retrieval-Augmented Generation (RAG) with advanced research capabilities, web scraping, content analysis, voice interactions, MCP integration, and sophisticated memory management. Built with enterprise-grade security featuring hierarchical RBAC, document classification, and multi-agent security pipelines to ensure users only access authorized corporate knowledge while enabling powerful AI-driven research and analysis workflows.
Key Features
- Hierarchical RBAC: Roles inherit access (public → employee → dept viewer/admin → admin)
- Document Classification: Public/internal/confidential with tag-based filtering
- Multi-Agent Orchestration: 20+ specialized agents for research, analysis, content creation, and security
- Advanced Research: Web scraping, multi-phase research workflows, and content evaluation
- Voice Integration: Google Gemini Live voice capabilities for conversational AI
- MCP Integration: Model Context Protocol support for enhanced agent capabilities
- Secure RAG: Enterprise-grade retrieval with access controls and audit trails
- Advanced Memory: Persistent memory with semantic recall and working memory templates
- Content Analysis: Learning extraction, evaluation scoring, and quality assessment
- Audit-Ready: Citations, logs, and compliance validation throughout
Architecture
flowchart TD
%% Frontend Layer
subgraph "🎨 Frontend Layer"
A[Next.js App RouterReact 19 + TypeScript]
B[Cedar OS IntegrationProduct Roadmap UI]
C[React ComponentsChat, Auth, Indexing]
D[Shared LibrariesJWT, MDX, Hooks]
end
%% Backend Layer
subgraph "⚙️ Backend Layer"
E[Mastra CoreOrchestration Engine]
F[AI Agents27+ Specialized Agents5 Domains]
G[Workflows10+ Multi-step OrchestrationComplex Tasks]
H[Tools & Services50+ ToolsBusiness Logic]
I[API RoutesChat & IndexingStreaming]
end
%% Data Layer
subgraph "💾 Data Layer"
J[(PostgreSQL + PgVectorVector EmbeddingsDocument Storage)]
K[(Content CorpusMarkdown FilesRAG Source)]
end
%% External Services
subgraph "🔗 External Services"
L[Google GeminiAI Models]
M[OpenAILLM Services]
N[Data SourcesAlpha Vantage, FinnhubSerpAPI, Polygon]
O[Academic SourcesArXiv, Research APIs]
end
%% Agent Categories (detailed breakdown)
subgraph "🤖 Agent Categories"
P1[Governed RAG Agentsidentity, retrieve, rerankanswerer, verifier]
P2[Domain Agentsresearch, copywritercryptoAnalysis, compliance]
P3[Specialized AgentsproductRoadmap, salesIntelligencestockAnalysis, voiceAgent]
P4[Orchestration Agentsa2aCoordinator, assistanteditor, evaluation]
end
%% Workflow Categories
subgraph "🔄 Workflow Categories"
Q1[Chat WorkflowsMultiple VersionsReal-time Conversation]
Q2[Analysis WorkflowsFinancial Analysis V3Research Workflow]
Q3[Content WorkflowsContent GenerationReport Generation]
Q4[RAG WorkflowsGoverned RAG AnswerGoverned RAG Index]
Similar plugs
Reverse engineer anything with agents, from app behavior down to native binaries.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io