Persistent cloud memory for AI coding assistants.
CogmemAi — Cognitive Memory for Ai Coding Assistants
Your Ai coding assistant forgets everything between sessions. CogmemAi fixes that.
One command. Your assistant remembers your architecture, patterns, decisions, bugs, and preferences — permanently. Works with Claude Code, Cursor, Windsurf, Cline, Continue, and any MCP-compatible tool. Switch editors, switch models, switch machines — your knowledge stays.
What's New in v3
Quantum-Safe Encryption (v3.7)
CogmemAi is the first quantum-safe Ai memory system. All memories are encrypted at rest with quantum-resistant encryption — both in cloud mode and local mode. Your data is protected against today's threats and tomorrow's quantum computers. Encryption is automatic, zero-config, and enabled by default. No setup required.
Choose Your Storage Mode (v3.6)
CogmemAi now runs three ways — pick the one that fits your workflow:
| Cloud (default) | Local | Hybrid | |
|---|---|---|---|
| Best for | Full intelligence, team collaboration, cross-device portability | Zero-config start, offline-only environments | Local speed + cloud brains, travel/unreliable networks |
| Setup | npx cogmemai-mcp setup (choose Cloud) |
npx cogmemai-mcp setup (choose Local) |
npx cogmemai-mcp setup (choose Hybrid) |
| API key needed | Yes (free) | No | Yes (free) |
| Search | Semantic (by meaning) | Keyword (by text match) | Semantic with local fallback |
| Intelligence Engine | Full — auto-linking, contradiction detection, memory decay, auto-skills, query synthesis | Basic CRUD + keyword search | Full — with offline resilience |
| Team collaboration | Yes | No | Yes |
| Cross-device sync | Automatic | No — data stays on your machine | Automatic with local cache |
| Offline support | Requires internet | Full offline | Falls back to local when offline |
| Encryption | Quantum-safe (server) | Quantum-safe (local) | Quantum-safe (both) |
Cloud mode is the recommended experience. It gives you the full Intelligence Engine — semantic search that finds memories by meaning, auto-linking knowledge graph, contradiction detection, self-improving recall, auto-skills, query synthesis, and team collaboration. Everything that makes CogmemAi more than just a database.
Local mode is the zero-friction entry point. No API key, no account, no internet required. Great for trying CogmemAi in 10 seconds or working in air-gapped environments. You get basic memory storage with keyword search — and when you're ready for more, upgrading to cloud takes one command.
Hybrid mode is for developers who travel or work on unreliable networks. Saves to both local and cloud simultaneously. Reads from cloud when available, falls back to local when offline. Unsynced memories automatically push to cloud when connectivity returns.
Intelligence Engine + Auto-Skills (v3.5)
CogmemAi now gets smarter every time you use it. The Intelligence Engine is a self-improving memory system that learns what matters, connects related knowledge automatically, and synthesizes answers from your entire memory. Auto-Skills takes it further — CogmemAi doesn't just remember, it learns how to behave.
Auto-Skills (Closed-Loop Learning)
- Behavioral skills — CogmemAi automatically synthesizes your corrections, preferences, and patterns into behavioral directives that tell your Ai assistant HOW to work, not just what to know
- Closed learning loop — correct your assistant once, and CogmemAi detects the pattern. After enough evidence accumulates, it generates a skill that prevents the mistake from ever happening again
- Confidence tracking — each skill has a confidence score that rises when it works and drops when it doesn't. Low-confidence skills are automatically retired
- Self-evaluation — skills periodically review themselves against new evidence and adapt, strengthen, or retire as your practices evolve
Intelligence Engine — 85% Accuracy on LoCoMo Benchmark
CogmemAi scores 85% accuracy on the LoCoMo conversational memory benchmark, with 95% retrieval hit rate. That's higher than most competing memory systems and validates that CogmemAi finds the right memories when you need them.
- Cross-encoder reranking — every recall runs a second-pass reranker th
Tools (3)
memory_storeStores project architecture, patterns, decisions, and preferences.semantic_searchPerforms semantic search across stored memories to find relevant context.task_trackTracks tasks and project progress within the memory system.Environment Variables
COGMEMAI_API_KEYAPI key required for Cloud mode features.Configuration
{"mcpServers": {"cogmemai": {"command": "npx", "args": ["-y", "cogmemai-mcp"]}}}