Skip to content

Long Term Memory Dreaming.en

github-actions[bot] edited this page Nov 28, 2026 · 2 revisions

中文 | English

Long-Term Memory (Dreaming)

Agent Deck closes the loop between daily execution and durable personal/project knowledge:

Daily work / delegation → Auto-journal → Dreaming distils candidates → Human review → Auto-injected on next dispatch

1. Two Storage Modes

Under Settings → Dreaming, choose between two mutually exclusive modes (explicit migration supported):

  • One note per memory (Recommended): Each memory is a standalone Markdown file under Agent Deck/记忆/*.md with frontmatter (id / title / kind / type / state / date / sources).
    • Browse and filter via the Base table (Agent Deck/记忆.base).
    • Drag across states in the Memory board.
    • Review one by one (confirm / reject) in the review modal.
  • Single-file mode: Writes into Agent Deck/长期记忆.md, preserving your handwritten preamble and manual sections while updating only the <!-- ad:memory:start --> generated block.

2. Traceability, Pin Boosting & Health Check

  • Bidirectional backlinks: Every memory links back to its source journal block (^mem-*) so agents can verify the original context; the source journal line also receives a backlink.
  • Pin boosting: Pinning a round (<!-- ad-pin -->) prioritizes it during Dreaming extraction and boosts its weight.
  • Memory health check & consolidation: Run Memory: health check to list entries missing sources, pending confirmation, or potential duplicates; periodic consolidation deduplicates entries and archives expired notes into archive/.
  • Memory import: Import external .md / .json / .zip archives via zero-token splitting or LLM distillation.
  • Memory Graph: Run Open Memory Graph (or click the button under Settings → Dreaming → Memory Library Workspace) to browse concept clusters in Editorial or Observatory theme, filter by verification state, and jump straight to source notes.

3. External Agent Access (MCP / CLI)

Under Settings → Experiments → External Agent Access (MCP / CLI), detect and configure 9 external clients in one click (Claude Code, Codex, Cursor, Antigravity, Claude Desktop, Gemini CLI, OpenCode, DeepSeek Harness Desktop/ACP):

  • Backed by the zero-dependency memory-query CLI and stdio memory-mcp server with built-in SQLite FTS5 full-text search; switch between all 9 tools or memory_*-only 5 tools, and optionally enable --allow-write proposals.
  • Vault search excludes AI auto-log subtrees by default (excludeAiLogs), complementing Dreaming's default ai-records distillation scope (all optional).

4. Privacy & Security Guardrails

  • Local first: Dreaming is off by default and only sends the last 14 days of AI auto-logged records (or full journals when switched to all) to your configured local CLI or OpenAI-compatible model when explicitly run, prompting before any billed API call.
  • private isolation: Notes marked private are never sent during delegation or memory extraction.
  • Offline security replay: Replay the last 7 or 30 days of historical tool calls from the Dashboard to produce a redacted High / Medium / Low Markdown report (Agent Deck/安全审计.md); allowlist rules in its frontmatter sync directly to live ACP permission guardrails.

Clone this wiki locally