DreamGraph is a GitHub project by mmethodz, implemented in TypeScript, designed as a cognitive layer for AI agents. It operates on a 'graph-first' principle, constructing a persistent knowledge graph that serves as the system's source of truth. This graph enables AI to reason about codebases, validate proposed changes, and automate documentation generation.
The project's architecture includes several components: a daemon, a command-line interface (CLI), a standalone browser-based 'Architect' interface, a VS Code extension, and a dashboard. The 'Architect' provides features like project-bound chat, plan scope selection, runtime provenance, and auditable tool traces, all governed by the DreamGraph Model Context Protocol (MCP).
DreamGraph is built to support repository understanding, architecture-aware reasoning, and disciplined code changes. It aims to continuously enrich the knowledge graph through scans, workflows, Architectural Decision Record (ADR) capture, tension identification, and 'dream cycles'. It is compatible with single repositories, monorepos, and multi-repository systems, allowing for graph links across different codebases that share dependencies or ownership boundaries. The latest release, v12.1.0 'Living DreamGraph', enhances the connection between the standalone browser architect and the daemon's cognitive state, adding features like 'Architect Pulse' for cognitive weather and readiness, and read-only dream playback projections.