dual-brainAutomatically generates and saves alternative perspectives from a secondary LLM for every user message to enhance reasoning and response quality.
Install via ClawdBot CLI:
clawdbot install Dannydvm/dual-brainWhat it does: Provides cognitive diversity by automatically generating perspectives from a secondary LLM (different from your primary model) for every user message.
Before responding to any user message, check for a dual-brain perspective:
cat ~/.dual-brain/perspectives/{your-agent-id}-latest.md
If the file exists and contains a recent perspective (check timestamp in comment), consider it alongside your own reasoning. The perspective may highlight:
Integration:
Example workflow:
~/.dual-brain/perspectives/{agent-id}-latest.mdSetup:
npm install -g openclaw-dual-brain
dual-brain setup # Interactive configuration
dual-brain start # Start daemon
Providers:
ollama - Local models (zero cost, requires Ollama)moonshot - Kimi/Moonshot API (Chinese LLM, fast)openai - GPT-4o, GPT-4-turbo, etc.groq - Fast inference with Llama modelsCommands:
dual-brain setup - Configure provider, model, API keydual-brain start - Run daemon (foreground)dual-brain stop - Stop daemondual-brain status - Check running statusdual-brain logs - View recent activitydual-brain install-daemon - Install as system serviceConfig location: ~/.dual-brain/config.json
Perspectives location: ~/.dual-brain/perspectives/
User Message β OpenClaw Session (JSONL)
β
Dual-Brain Daemon (polling)
β
Secondary LLM Provider
(ollama/moonshot/openai/groq)
β
Perspective Generated (2-3 sentences)
β
~/.dual-brain/perspectives/{agent}-latest.md
β
Primary Agent reads & synthesizes
β
Response to User
If Engram (semantic memory) is running on localhost:3400, perspectives are also stored as memories for long-term recall.
Source:
AI Usage Analysis
Analysis is being generated⦠refresh in a few seconds.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection