Skip to content

Question: Per-agent memory isolation in a single OpenClaw gateway instance #8

@dawanli908-lgtm

Description

@dawanli908-lgtm

Hi, thanks for building this excellent plugin.

I have a question about memory isolation when using multiple agents.

Context

  • OpenClaw: 2026.3.13
  • Plugin: graph-memory (latest from this repo)
  • contextEngine is set to graph-memory
  • We observed that memory is shared when multiple agents run under the same gateway/config.

Goal

Use graph-memory for multiple agents, but keep each agent's memory isolated.

Questions

  1. Does graph-memory currently support per-agent local config in a single gateway instance?
    • Example: different dbPath per agentId (or per session/thread/project).
  2. If not, is the officially recommended approach:
    • run separate gateway instances/configs and assign different dbPath for each agent?
  3. Is there any roadmap for built-in isolation in one instance?
    • e.g. namespace/tenant key (agentId, projectId, etc.)
  4. If this is not planned yet, would you accept a PR for something like:
    • dbPathByAgent, or
    • single DB + namespaced partitioning/filtering?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions