One memory store. Many agent files.
Render approved project memory into AGENTS.md, CLAUDE.md, Copilot instructions, MEMORY.md, and Cursor rules.
MemoryGuard keeps your project's agent context files accurate across sessions. Capture decisions, review what matters, supersede outdated facts, and sync clean context into AGENTS.md, CLAUDE.md, .github/copilot-instructions.md, MEMORY.md, and Cursor rules.
MemoryGuard is not a chatbot and not a generic notes app. It is a focused workflow for keeping agent-facing project context reviewed, current, and synced.
Render approved project memory into AGENTS.md, CLAUDE.md, Copilot instructions, MEMORY.md, and Cursor rules.
Capture durable facts from Codex, Cursor, Claude, or plain local session files without trusting the whole transcript.
When FastAPI becomes Flask or npm becomes pnpm, MemoryGuard marks the replaced facts as superseded instead of letting them linger.
Secret-looking values are omitted from generated context as a best-effort guardrail.
Project state lives locally under .memoryguard using SQLite in the alpha flow.
The core workflow runs without OpenAI, Anthropic, Gemini, or any required external model API.
Point MemoryGuard at a transcript or session file.
memoryguard capture file ./session.txtInspect pending candidates before they become durable context.
memoryguard capture pendingPromote only the facts that should survive future sessions.
memoryguard capture approve --allWrite clean context into the files your tools already inspect.
memoryguard syncmemoryguard demo.irm https://raw.githubusercontent.com/atharvmantri/MemoryGuard/main/scripts/install.ps1 | iexcurl -fsSL https://raw.githubusercontent.com/atharvmantri/MemoryGuard/main/scripts/install.sh | bashPrerequisites: git + uv (no Node required for the CLI). After this finishes, memoryguard is on your PATH and works from any cwd — including C:\Windows\System32.
Advanced (from a clone): git clone && bash scripts/install-alpha.sh — or uv run memoryguard demo from a checkout.
$ memoryguard doctor [ok] MemoryGuard CLI running v0.1.0 [ok] Python cpython 3.14.0 [ok] uv on PATH $ memoryguard demo Agent Capture demo passed. Extracted 10 candidates, approved 9, wrote 5 context files.
MemoryGuard writes managed context into familiar project files.
AGENTS.mdCLAUDE.md.github/copilot-instructions.mdMEMORY.md.cursor/rules/memoryguard.mdcMost memory tools focus on storing or retrieving information. Manual agent files are simple, but they drift. MemoryGuard focuses on the practical middle: reviewed project memory that syncs into the files coding tools already read.
| Capability | Manual files | Generic memory | MemoryGuard |
|---|---|---|---|
| Syncs AGENTS.md / CLAUDE.md / Copilot / MEMORY.md / Cursor rules | ◐ | ◐ | ✓ |
| Review-first transcript capture | – | ◐ | ✓ |
| Supersedes outdated project decisions | – | ◐ | ✓ |
| Secret-aware generated context | – | ◐ | ✓ |
| Local-first alpha flow | ✓ | ◐ | ✓ |
| No required external LLM API | ✓ | ◐ | ✓ |
Start with the local alpha, run the demo, and inspect the generated context yourself.