A new way of thinking about LLM access. Your agent thinks locally, asks the cloud intelligently, and learns from the response. The cloud never sees your private data.
Today's approach leaks your privacy and wastes 85% of your API budget.
Every time you ask your OpenClaw agent a question:
Your agent builds a "system prompt" containing:
All of this gets sent to cloud APIs (OpenAI, Anthropic, Google)
You pay for thousands of extra tokens
The cloud provider trains its next model on your private data
This is the current default. It's inefficient and it's a privacy disaster.
Local-first inference that protects privacy and slashes costs.
Nirvana flips the paradigm:
AspectToday (Default)NirvanaWhere thinking happensCloud onlyLocal first, cloud when neededWhat gets sent to cloudYour full context + system promptsAgent's sanitized query onlyWho learns from your dataCloud providerYou (local agent)Token cost per interaction2,000–5,000 tokens50–300 tokensSavings—85%+ token reduction****PrivacyLeakedProtected
@local or @cloud hints respectedtext
User asks your agent a question
↓
┌─────────────────────────────────────────┐
│ Nirvana Router │
│ "Can qwen2.5:7b answer this locally?" │
└─────────────────────────────────────────┘
↙ ↘
[LOCAL PATH] [CLOUD PATH]
80%+ of queries 20%- of queries
Ollama (qwen2.5:7b) OpenAI/Anthropic/Google
Free Pay for answer
Private Cloud sees sanitized query only
~1s latency ~3s latency
Result cached locally Result cached locally
↓ ↓
└─────────────┬─────────────────────┘
↓
Agent answers your question using:
- Local inference (primary)
- Cloud intelligence (if needed)
- Cached knowledge (if available)
YOUR PRIVATE DATA NEVER LEFT YOUR SYSTEM
bash
# Install the plugin
clawhub install shivaclaw/nirvana
# Start Ollama container (pulls auto on first run)
docker run -d -p 11434:11434 ollama/ollama
# Verify
openclaw nirvana status
bash
# Install the skill (context stripping only)
clawhub install shivaclaw/nirvana-local
# Configure endpoint
openclaw nirvana configure --local-endpoint http://your-llm:5000
# Verify
openclaw nirvana status
ScenarioTodayWith NirvanaSavings10 questions/day20,000 tokens/day3,000 tokens/day85%****100 questions/day200,000 tokens/day30,000 tokens/day85%Monthly cost (OpenAI GPT-4)$500–$1,000$75–$15085%
Local inference is free. Only pay for the 15%–20% of queries that truly need frontier models.
bash
# View what was sent to cloud this session
openclaw nirvana audit-log
# Output:
# 2026-04-24 14:23:45 — CLOUD API CALL
# Original query: [REDACTED]
# Sanitized query sent: "Explain quantum entanglement"
# Response cached: Yes
# User data in request: None
PlatformStatusNotesLinux (Ubuntu/Debian)✅ FullOllama container + native binariesmacOS (Intel/ARM)✅ FullOllama via Docker or nativeWindows (WSL2)✅ FullOllama in WSL2 containerVPS (Hostinger, DigitalOcean, AWS)✅ FullDocker Compose readyDocker container✅ FullOrchestrated via docker-composeAir-gapped (offline)✅ FullLocal-only mode (no cloud fallback)
json
{
"nirvana": {
"mode": "local-first",
"local_model": {
"provider": "ollama",
"endpoint": "http://ollama:11434",
"model": "qwen2.5:7b",
"timeout_ms": 180000
},
"routing": {
"local_threshold": 0.75,
"max_local_tokens": 8000,
"cloud_fallback": true
},
"privacy": {
"strip_soul": true,
"strip_user": true,
"strip_memory": true,
"audit_logging": true
}
}
}
json
{
"nirvana": {
"local_model": {
"provider": "custom",
"endpoint": "http://your-llm-server:5000",
"api_format": "openai-compatible",
"model": "your-model-name",
"timeout_ms": 120000
}
}
}
Your agent should train itself. The cloud should not train on you.
Today's default paradigm:
Nirvana's paradigm:
ComponentPurposerouter.tsDecides local vs cloud routingcontext-stripper.tsRemoves private data before cloud API callsprivacy-auditor.tsLogs all boundary crossingsresponse-integrator.tsCaches cloud responses locallyollama-manager.tsHandles Ollama lifecycle + model managementmetrics-collector.tsTracks performance + cost + privacyconfig.schema.jsonConfiguration validation
MIT-0 — Free to use, modify, and redistribute. No attribution required.
Your agent deserves privacy. Nirvana makes it real.