openclaw - 💡(How to fix) Fix [Feature]: Per-agent qmd.command override for isolated memory indexes [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#81478Fetched 2026-05-14 03:31:40
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Author
Timeline (top)
commented ×1cross-referenced ×1

Fix Action

Fix / Workaround

The workaround is a shell wrapper script that sets QMD_CONFIG_DIR and XDG_CACHE_HOME to point to an isolated QMD index, but this requires the agent to call a bash script manually instead of using the built-in memory_search tool.

  • #63829 (per-agent wiki vault) — complementary but different mechanism
  • #70573 (agent privacy isolation) — same class of problem, currently requires manual workarounds

Current workaround

Code Example

{
  "agents": {
    "list": [
      {
        "id": "some-agent",
        "memorySearch": {
          "enabled": true,
          "qmd": {
            "command": "/path/to/isolated-qmd-wrapper.sh"
          }
        }
      }
    ]
  }
}
RAW_BUFFERClick to expand / collapse

Problem

Currently agents.list[].memorySearch.qmd accepts extraCollections and extraPaths but rejects command. This means all agents must share a single QMD index and command. There is no built-in way to give an agent a fully isolated memory search index.

Use case

I have a personal assistant agent for my wife. Her agent needs memory search, but must ONLY search her own workspace files — never cross-contaminate with my financial docs, business notes, or other agents' conversations.

The workaround is a shell wrapper script that sets QMD_CONFIG_DIR and XDG_CACHE_HOME to point to an isolated QMD index, but this requires the agent to call a bash script manually instead of using the built-in memory_search tool.

Proposed solution

Allow agents.list[].memorySearch.qmd.command to override the global memory.qmd.command per-agent:

{
  "agents": {
    "list": [
      {
        "id": "some-agent",
        "memorySearch": {
          "enabled": true,
          "qmd": {
            "command": "/path/to/isolated-qmd-wrapper.sh"
          }
        }
      }
    ]
  }
}

This would:

  • Route memory_search tool calls through the agent-specific QMD binary/wrapper
  • Enable fully isolated memory indexes per agent (separate SQLite DB, separate collections)
  • Work seamlessly with the existing memory_search/memory_get tools

Related issues

  • #63829 (per-agent wiki vault) — complementary but different mechanism
  • #70573 (agent privacy isolation) — same class of problem, currently requires manual workarounds

Current workaround

Shell wrapper + QMD_CONFIG_DIR + XDG_CACHE_HOME env vars pointing to isolated index. Agent calls bash script manually instead of using built-in tools.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Feature]: Per-agent qmd.command override for isolated memory indexes [1 comments, 2 participants]