Expand description
Cross-agent path-walk variant for Markdown-backed agents.
The generic AgentScopedMemory
relies on the inner backend filtering rows by agent_id at the
storage layer. Markdown has no shared store: each agent’s
attribution IS its on-disk path
(<install>/agents/<alias>/workspace/MEMORY.md plus
memory/YYYY-MM-DD.md). Cross-agent recall therefore composes
multiple MarkdownMemory instances rather than filtering rows.
AgentScopedMarkdownMemory holds the bound agent’s
MarkdownMemory plus a peer set of (alias, MarkdownMemory) pairs
resolved at construction from the read_memory_from allowlist.
Stores go to the bound agent only; recalls union across all peers
and stamp each merged entry’s key with a [<alias>] prefix so
callers can attribute the row.
Structs§
- Agent
Scoped Markdown Memory - Composed Markdown memory for one agent: own backend plus the resolved peer set. Stores write only to the bound agent; recalls union across own + peers with per-row alias attribution.
- Markdown
Peer - Resolved Markdown-backed peer entry: the sibling agent’s alias plus
a
MarkdownMemorypointed at that sibling’s workspace dir.