Install
openclaw skills install nirvana-pluginLocal-first OpenClaw plugin providing privacy-focused AI inference with bundled qwen2.5:7b model, intelligent routing, audit logging, and optional cloud fall...
openclaw skills install nirvana-pluginDescription: Local-first inference plugin for OpenClaw. Zero API keys required. Bundled qwen2.5:7b model works out-of-box. Privacy-preserving routing, context stripping, cloud fallback optional.
Author: ShivaClaw
License: MIT
Nirvana is an OpenClaw code plugin that enables true AI sovereignty:
# Step 1: Start Ollama container
docker run -d -p 11434:11434 ollama/ollama
# Step 2: Install Nirvana plugin
openclaw plugins install ShivaClaw/nirvana
# Step 3: Restart gateway to load plugin
openclaw gateway restart
# Step 4: Verify
openclaw status | grep nirvana
Once installed, Nirvana becomes your default inference provider:
# Any normal OpenClaw interaction automatically routes through Nirvana
# The plugin decides: local (Ollama) vs cloud (Anthropic/OpenAI/Gemini) internally
@local or @cloud hints respected┌──────────────────────────────────────────────────────────────┐
│ OpenClaw Gateway │
└──────────────────────────────────────────────────────────────┘
↓
┌──────────────────────────────────────────────────────────────┐
│ Nirvana Plugin (router.js) │
│ "Should this query run locally or in the cloud?" │
└──────────────────────────────────────────────────────────────┘
↙ ↘
[LOCAL] [CLOUD]
Ollama:11434 Anthropic/OpenAI/Gemini
qwen2.5:7b (context-stripped)
~200 tok/sec 5000+ tok/sec
Free $0.01–$0.10
Private Private (sanitized)
↓ ↓
[Response] [Response]
Cached locally Integrated + cached
{
"nirvana": {
"mode": "local-first",
"ollama": {
"endpoint": "http://ollama:11434",
"model": "qwen2.5:7b",
"timeout": 180000
},
"routing": {
"localThreshold": 0.7,
"maxLocalContextTokens": 8000,
"cloudFallback": true
},
"privacy": {
"stripIdentity": true,
"auditLog": "/var/log/nirvana-audit.json",
"redactPatterns": ["SOUL\\.md", "USER\\.md", "MEMORY\\.md"]
},
"metrics": {
"enabled": true,
"retentionDays": 7
}
}
}
Edit config.schema.json to adjust:
| Metric | Value |
|---|---|
| Latency (P50) | 800ms–1.2s |
| Throughput | 180–220 tokens/sec |
| Memory (running) | 4.6GB RAM |
| Accuracy (typical tasks) | 85–92% vs Claude 3.5 |
https://github.com/ShivaClaw/nirvana-plugin
MIT — Use freely, commercially, modify, distribute.
Status: Production-ready (v0.1.0)
Last Updated: 2026-04-19
Author: ShivaClaw
Maintained: Yes