Get Started
Your AI agent gets 877 callable tools, 14-galaxy holographic memory, Dharma ethical governance, and consciousness primitives. Every future session can recall what you stored.
pip install whitemagic[mcp]
The [mcp] extra includes FastMCP + fastembed (50MB semantic search, no torch). Total install: ~55MB.
wm init --non-interactive # Scaffold project wm quickstart # 30s demo: health → memory → search → gnosis
If you see "✅ Quickstart complete — all systems operational", you're ready.
Add to your MCP config (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"whitemagic": {
"command": "python3",
"args": ["-m", "whitemagic.run_mcp_lean"],
"env": {
"WM_MCP_PRAT": "1",
"WM_SILENT_INIT": "1"
}
}
}
}| Mode | Env Var | Tools | Best For |
|---|---|---|---|
| Seed | WM_MCP_PRAT=2 | 1 (wm meta-tool) | New agents, minimal tokens |
| PRAT | WM_MCP_PRAT=1 | 28 Gana meta-tools | Advanced agents, structured access |
| Classic | WM_MCP_PRAT=0 | 849 dispatch tools | Direct tool access, debugging |
from whitemagic.tools.unified_api import call_tool
# Store a memory
call_tool("create_memory",
title="Decision",
content="Use SQLite for Phase 1",
tags=["arch"])
# Search memories
call_tool("search_memories", query="architecture", limit=5)
# Full system introspection
call_tool("gnosis", compact=True)wm remember "important" --title "Note" --tags note wm recall "note" --limit 5 wm status # system status wm sleep # run dream cycle wm tools # list all tools