Unified AI operator β M4STCLAW v3 + OpenWork v12 + EIGENT v4.1
Working > Perfect Β· Shipped > Planned Β· 80% in 3hrs > 100% in 3 days
MAST is Mast's (Anuj's) unified personal AI operator β a Jarvis-style system built on top of OpenCode. It merges:
- M4STCLAW v3 β pentest MCPs, bridge_core (recon/vuln/scheduler/agents), SOUL identity
- OpenWork v12 β 15 hardened MCP servers, semantic cache, 56 API key rotation
- EIGENT v4.1 β lean 6-agent config, NVIDIA NIM integration, working-first philosophy
At a glance:
| Layer | Count | Role |
|---|---|---|
| MCP servers | 21 | Tools for shell, files, memory, browser, research, vision, pentest, scheduling, agents |
| Skills | 28 | Hot-reloadable workflows for research, GUI, safety, memory, pentest, plugins, media |
| Providers | 11 | Free-first cloud routing with SMART_KEY prefix detection |
| Agents | 6 | Developer, browser, document, multimodal, pentest, orchestrator |
| Bridge modules | 14 | M4STCLAW core logic: memory, recon, vuln, scheduler, safety, voice, agents |
| Feature | OpenWork v12 | M4STCLAW v3 | MAST v1.0 |
|---|---|---|---|
| MCP Servers | 15 | 19 | 21 |
| Providers | 7 | 8 | 11 |
| NVIDIA NIM | β | β (partial) | β full |
| Mistral | β | β | β 1B tok/mo free |
| xAI/Grok | β | β | β |
| Hardcoded keys | β (bad) | β (bad) | β env-only |
| SMART_KEY detect | β | β | β |
| Hinglish chain | β | β | β Sarvam-M |
| Pentest chain | β | β | β NVIDIA primary |
| Task chains | 9 | 9 | 11 |
| Skills | 22 | 28 | 28 |
# 1. Extract MAST.zip somewhere (e.g. C:\MAST)
# 2. Run installer
powershell -ExecutionPolicy Bypass -File install.ps1
# 3. Fill in your API keys
notepad %USERPROFILE%\.config\opencode\config\.env
# 4. Done β run OpenCode in any project
cd C:\your-project
opencode| Provider | Prefix | Signup | Best For |
|---|---|---|---|
| Groq | gsk_ |
console.groq.com | Speed (315 TPS) |
| NVIDIA NIM | nvapi- |
build.nvidia.com | Code, Pentest, Hinglish |
| Gemini | AIza |
aistudio.google.com | Vision, Reasoning |
| Mistral | msk- |
console.mistral.ai | Writing (1B tok/mo FREE) |
| Cerebras | csk- |
cloud.cerebras.ai | Ultra-fast (1000 TPS) |
| OpenRouter | sk-or- |
openrouter.ai | Kimi K2, MiMo-V2, R1 FREE |
| SambaNova | UUID | cloud.sambanova.ai | Large models free |
SMART_KEY: paste any key as SMART_KEY_1=yourkey β prefix auto-detected.
MAST/
βββ SOUL_MAST.md β Agent identity (hot-reload, edit anytime)
βββ install.ps1 β Full Windows installer
βββ INSTALL_SKILLS.bat β Skills-only quick install
βββ mcp_servers/ β 21 MCP servers
β βββ llm_fallback.py β Brain: 11 providers, 11 task chains, semantic cache
β βββ memory_mcp.py β 3-tier memory (RAM + SQLite + ChromaDB)
β βββ pentest_mcp.py β CEH tools (authorized targets only)
β βββ task_router_mcp.py β Auto task classification + routing
β βββ m4st_agent_mcp.py β 6-agent OMO Sisyphus orchestrator
β βββ scheduler.py β Hinglish time parsing + APScheduler
β βββ coding.py β Dev agent bridge
β βββ ...15 more
βββ bridge_core/ β M4STCLAW Python modules
β βββ smart_brain.py β Local brain with LRU cache, TF-IDF recall
β βββ agents.py β PlanβCritiqueβRefine agent loop
β βββ recon.py β OSINT + network recon
β βββ vuln.py β Vulnerability scanning
β βββ memory_3tier.py β SQLite + ChromaDB memory
β βββ ...9 more
βββ skills/ β 28 OpenCode skills (SKILL.md files)
βββ config/
β βββ .env β API keys (NEVER commit this)
β βββ opencode.json β OpenCode config
β βββ m4st_agents_config.json β 6-agent specs
βββ data/ β Runtime data (cache, memory, logs)
MAST runs a skill-first, safety-gated, task-aware routing loop:
User request
β
SOUL_MAST identity + project context
β
Safety guard
ββ blocked if destructive / unauthorized
ββ allowed if safe
β
Skill search
ββ replay known workflow if matched
ββ route to MCP if no skill hit
β
Task classifier
ββ code / research / vision / pentest / hinglish / agent / write / speed
β
Provider chain
ββ try best model
ββ rotate key on rate limit
ββ fallback across free-first providers
β
Memory log + response
For a deeper walkthrough, see ALGORITHM.md.
| Chain | Primary Model | Use Case |
|---|---|---|
speed |
Groq β Cerebras | Quick answers, tool calls |
reason |
Kimi K2 β DeepSeek R1 | Math, logic, analysis |
code |
Kimi K2 β Qwen3-Coder | Write, debug, refactor |
vision |
Gemini 2.5 Flash β MiMo-Omni | Screenshots, GUI |
research |
Kimi K2 β DeepSeek R1 | Multi-source research |
write |
Mistral Large β Cerebras | Docs, emails, blogs |
agent |
Kimi K2 β Qwen3-235B | Multi-step automation |
pentest |
NVIDIA/deepseek-r1 β NVIDIA/GLM | CEH labs only |
hinglish |
NVIDIA/Sarvam-M β Gemini | Indic/Hinglish tasks |
vision_reason |
Gemini 2.5 Flash β MiMo-Omni | Visual reasoning |
default |
Groq β Cerebras β NVIDIA β Gemini | Fallback |
| Resource | Description |
|---|---|
| ECOSYSTEM.md | Full M4ST repo map and how the projects fit together |
| ALGORITHM.md | Routing algorithm, fallback loop, memory flow, and safety gate |
| PRESENTATION.md | Launch deck-style walkthrough |
| SOCIAL.md | Tweets, LinkedIn copy, captions, hashtags |
| DEMO_STORYBOARD.md | GIF/video storyboard for demos |
| SOUL_MAST.md | Hot-reloadable identity and operating policy |
| CHANGELOG.md | Fixes and release notes |
- Safety guard P0: blocks
rm -rf,DROP TABLE,format c:,del /f /s - localhost only: never binds to 0.0.0.0
- Pentest:
authorized_targets.txtchecked in CODE before any scan - Keys:
.envonly β add to.gitignoreimmediately - Telegram:
MAST_ALLOWED_CHAT_IDSonly
# In config/.env β add as _1, _2, _3...
NVIDIA_API_KEY_1=nvapi-xxxxx
NVIDIA_API_KEY_2=nvapi-yyyyy
# Or use SMART_KEY auto-detect
SMART_KEY_1=nvapi-xxxxx # auto-detected as NVIDIA
SMART_KEY_2=msk-yyyyy # auto-detected as Mistral
SMART_KEY_3=gsk_zzzzz # auto-detected as GroqMAST v1.0 β May 2026 | mastjarvis-cmyk | 80% in 3hrs > 100% in 3 days