← 返回
未分类

Mind-Wander

Background reasoning agent that autonomously explores open questions using a local LLM (Qwen3.5-9B), a private knowledge graph for dead-end tracking, and Per...
后台推理智能体,利用本地 LLM(Qwen3.5-9B)和私有知识图谱追踪死路,自主探索开放性问题,并结合Per...
jebadiahgreenwood jebadiahgreenwood 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 308
下载
💾 0
安装
1
版本
#background-agent#latest#local-llm#novelty#qwen#reasoning#research#wander

概述

Mind-Wander Skill

Autonomous background reasoning agent. Runs locally on Qwen3.5-9B, consumes zero

Anthropic tokens, and elevates findings to your context only when genuinely novel.

How it works

ON_YOUR_MIND.md  →  Qwen3.5 wander agent (every 30min)
  open questions       ↓ tools: query_graph, search_web,
  tangents             ↓         read_file, sandbox_run,
  hypotheses           ↓         check_dead_ends, record_dead_end, elevate()
                       ↓
              novelty gate (strict)
                  ↙         ↘
           MENTAL_EXPLORATION.md    DEAD_ENDS.md + wander graph
           (elevated findings)      (closed threads, never in your context)
                  ↓
           memwatchd detects write
                  ↓
           graph-rag memory (your context)

Prerequisites

  • Qwen3.5-9B-Q8 pulled to Ollama: ollama pull qwen3.5-wander-q8 (or use install script)
  • FalkorDB running (shared with graph-rag-memory skill if installed)
  • Perplexity API key (optional but recommended for web search)
  • graph-rag-memory skill installed (recommended — shares FalkorDB and Ollama)

Quick start

# Install and set up
bash mind-wander/scripts/install.sh

# Write your first open question
echo "## What is the best approach to X?" >> ON_YOUR_MIND.md

# Run manually
python3 mind-wander/run.py --verbose

# Check findings
cat MENTAL_EXPLORATION.md
cat DEAD_ENDS.md

# Status
python3 mind-wander/run.py --status

The ON_YOUR_MIND.md anchor file

Create ON_YOUR_MIND.md in your workspace root with questions and tangents.

The agent picks ONE per session. Format freely — the agent reads it as-is.

# On My Mind

## Open Questions
- Does X actually work better than Y in production?
- Is there a paper on Z that I haven't found yet?

## Tangents
- The implementation of A might connect to B in an interesting way

Mark completed items with ## ✅ COMPLETED so the agent skips them.

The novelty gate

  • Restatement of known facts → discarded, nothing written
  • New external finding intersecting open question → elevate()
  • Empirical sandbox result that changes understanding → elevate()
  • Definitively closed thread (≥2 targeted searches) → record_dead_end()

Tools available to the wander agent

ToolDescription
-------------------
query_graphSearch primary FalkorDB graph for related facts
search_webPerplexity AI web search
read_fileRead workspace .md files
list_filesList workspace .md files
sandbox_runRun Python snippets (numpy/scipy, no network, 30s limit)
check_dead_endsCheck wander graph for previously closed threads
record_dead_endRecord a closed thread (lower bar than elevate)
elevateWrite finding to MENTAL_EXPLORATION.md (strict gate)

Configuration

Edit mind-wander/mind_wander_config.py:

WANDER_MODEL    = "qwen3.5-wander-q8"   # or q4 for lighter
WANDER_OLLAMA   = "http://172.18.0.1:11436"
MAX_TOOL_CALLS  = 20
COOLDOWN_HOURS  = 3   # min hours before revisiting same anchor item

Output files

FileContentsIn graph-rag?
-------------------------------
MENTAL_EXPLORATION.mdElevated findings✅ via memwatchd
DEAD_ENDS.mdClosed threads summary❌ never
completions/wander/Full session JSON❌ training data only

Research context

This skill produced the first novel finding in its 10-minute test run:

*"Cross-space routing (routing in nomic-space, retrieving in arctic/bge-m3 space)

matches same-space baseline accuracy — suggesting domain routing is robust to

embedding space discontinuities."* See NOVELTY_LOG.md for tracked findings.

See references/research.md for theoretical foundations and references/setup.md

for detailed installation instructions.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-07 21:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,232 📥 268,191
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,086 📥 813,953
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 325,798