MuninnDB adds Dream Engine for LLM memory consolidation with vault isolation

MuninnDB has added a Dream Engine feature for LLM memory consolidation, modeled after sleep consolidation in the brain. The open-source tool is written in Go and includes Ebbinghaus decay, Hebbian association learning, and vector search capabilities.
How the Dream Engine works
The consolidation pipeline runs between sessions and performs several operations:
- Lowers the deduplication cosine threshold from 0.95 to 0.85
- Flags near-duplicate clusters
- Passes ambiguous cases to an LLM for semantic review
- Automatically merges clear duplicates
You can run it with a dry-run option: muninn dream --dry-run. Sample output shows: "No changes were written. Dream completed in 0s default scanned 107 engrams (merged 9) legal-docs 1 engrams (protected, skipped)"
Vault trust tiers for data isolation
The system implements data protection through vault trust tiers:
- Legal vaults: Skipped entirely, never sent to any LLM
- Work/personal: Ollama or Anthropic only
- Global/projects: Any configured provider
Development status and architecture
The author has shipped Phase 0 with configurable deduplication and dry-run CLI. The next phase (PR #2) will add LLM consolidation, bidirectional stability, and a dream journal feature.
The tool runs locally on consumer hardware - the author mentions using an RTX 5070 Ti with Ollama. The architecture is detailed in a technical writeup that explores neuroscience parallels.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Open-source framework for persistent AI agent memory with local storage and graph-based retrieval
A developer has been building an open-source framework for persistent AI agent memory that stores data locally as Markdown files, uses wiki-links as graph edges, and implements Git for version control. The system features four-signal retrieval and graph-aware forgetting based on ACT-R cognitive science.

Sgai: Goal-Driven Multi-Agent Software Development Tool
Sgai is an open-source Go tool that coordinates AI agents to execute software goals defined in GOAL.md files. It decomposes goals into DAG workflows, runs tests for completion gates, and operates locally with a web dashboard for monitoring.

Token Enhancer reduces webpage token usage for AI agents
A developer found that raw HTML from web fetches consumes excessive tokens in AI agent context, with Yahoo Finance pages using 704K tokens. Using Token Enhancer as an MCP server reduced this to 2.6K tokens.

Claude Code Adds Multi-Agent Code Review System
Anthropic has launched Code Review for Claude Code, a multi-agent system that dispatches teams of AI agents to review pull requests. The system catches bugs human reviewers often miss, with 54% of PRs now getting substantive review comments compared to 16% before.