Hit an error.
Memory is checked before anything is retried.
find_fix
Repo-scoped memory for AI coding agents. Fix it once. Never debug it twice.
AI agents keep re-solving problems they already solved. CoMemor gives your repo a memory — so the second time takes milliseconds.
re-investigation on a fingerprint match
local. Nothing leaves your machine.
MCP tools. Zero config.
Local. Deterministic. Auditable.
ab41…TS2307 · Cannot find module '@app/core'Verifiedc9d0…ECONNRESET · registry.npmjs.orgVerified77e2…Peer dependency conflict · react@19Pendinge508…ENOSPC · no space left on deviceStale1f3a…Prompt-injection pattern detectedQuarantinedYour host decides what runs. CoMemor never executes a command.
Memory is checked before anything is retried.
find_fix
Policy-checked. Nothing runs without your host.
verify_fix
Saved, redacted, indexed. Instant next time.
record_failure
“Didn't realise how many tokens we burned re-diagnosing the same module resolution issues until CoMemor surfaced the fix on the first lookup. Our AI sessions feel so much tighter — it's like the agent actually learned our codebase.”
“We're a small shop — I can't afford the agent chewing through the same dependency conflict three sessions in a row. CoMemor just remembers it. Setup took literally two minutes and I haven't looked back. This is the kind of tool that actually reduces your bill.”
“The iteration loop on our internal tooling used to be painful — same TypeScript errors popping up across multiple agent sessions. CoMemor fixed that completely. The agent picks up exactly where the last one left off. It just works, and that's what you want in enterprise workflows.”
Everything you need to know about CoMemor's local memory architecture and security model.
CoMemor runs as a standard Model Context Protocol (MCP) server. You add npx comemor to
your host's MCP configuration (such as ~/.cursor/mcp.json,
claude_desktop_config.json, or .vscode/mcp.json). When your AI coding
assistant encounters a build, test, or runtime error, it calls find_fix to look up prior
fixes and record_failure once the issue is resolved.
No. CoMemor is 100% local-first with zero external telemetry or cloud dependencies. All memories are
stored directly in your project under .agent-memory/records.jsonl. Before storing, regex
patterns and Shannon entropy scans automatically redact API keys, tokens, and credentials.
Vector databases rely on probabilistic semantic embeddings that can drift, hallucinate false associations, and introduce heavy Python or remote API dependencies. CoMemor uses deterministic SHA-256 error fingerprinting combined with SQLite FTS5 lexical token matching. It is deterministic, explainable, fast, and runs entirely in local Node.js.
Never. CoMemor enforces a strict non-executing MCP contract. The verify_fix tool
validates dry-run command safety and policy constraints, returning structured suggestions with
executedByServer: false. The host environment and human engineer always retain full
execution control.
CoMemor exposes four core MCP tools: find_fix (retrieves relevant verified solutions),
record_failure (persists a validated error-fix pair), verify_fix (checks
proposed fix safety against policy), and list_memory_stats (reports repository memory
health and counts).
Seven heuristic detectors scan records. Flagged ones are quarantined in
.agent-memory/quarantine.jsonl, and all retrieved records are returned wrapped in strict
untrusted-data delimiters to prevent instruction hijacking.
Yes. Memories are stored in plain text JSONL at .agent-memory/records.jsonl. You can
inspect, version control, or edit them with any text editor, or launch the built-in local web
dashboard via npx comemor-dashboard to explore memory stats, search queries, and approval
logs.
Node.js ≥ 22.5. Run npx comemor. No install, no account, no cloud.