gitmyhub

aidimag

Dockerfile ★ 0 updated 12d ago

Verified memory for AI coding agents

A memory system that lets AI coding tools remember your codebase's decisions and rules across sessions, with evidence that checks if those memories are still true.

Node.jsnpmMCPDockerfileSQLitesetup: easycomplexity 2/5

AI Dimag gives AI coding assistants like Claude, Cursor, Copilot, and Windsurf a persistent memory of your codebase that survives across separate chat sessions. Instead of re-explaining your project's decisions, conventions, and past mistakes every time you open a new session, this tool stores that knowledge as a set of claims saved in a folder called .aidimag right next to your code.

What sets it apart is that each stored memory comes with evidence attached, such as a shell check, a linked commit, or a test result. A command called dim verify re-runs that evidence against your current repository, and if something that used to be true no longer holds, the memory is marked stale rather than quietly misleading the AI tool. Nothing gets added to memory automatically either: commits, pull requests, AI chat transcripts, and pasted documents get mined into proposals, but a human has to review and approve each one before it becomes an official memory.

For tools that speak MCP, meaning Claude and Cursor, AI Dimag runs as a live MCP server offering search, proposal, and note-taking tools during a chat. For tools without MCP support, like Copilot and Windsurf, it can generate static context files such as .cursorrules, CLAUDE.md, and AGENTS.md that carry the same verified memory in a format those tools already read.

Other features include guardrails, which are behavioral rules like never, ask first, or always that get enforced automatically, plus reusable step by step procedures called skills. There is also a team mode with a local server and sync command for sharing verified memory across a team, and a knowledgebase inbox that can summarize dropped in design docs or PDFs into memory entries. A web dashboard and editor extensions for VS Code and IntelliJ round out the tooling.

Installation is a single npm command and requires Node 18 or newer. The project is free for teams of ten people or fewer under the Elastic License 2.0, with a commercial license required for larger or commercial use beyond that limit.

Where it fits