The Intelligence Gap
AI coding assistants are powerful, but they have a fundamental limitation.
AI Assistants Have Amnesia
- βSessions end, memory vanishes - everything starts from zero
- βSame mistakes get repeated across projects and teams
- βNo way to share learnings between different AI tools
- βWork is lost on IDE restarts or machine changes
- βEach agent works in isolation, never learning from others
Collective Intelligence
- π§ Persistent Memory
Knowledge stored in a database survives sessions, restarts, and agent switches.
- πLearning Loop
Errors automatically become documented rules. Patterns get recognized and codified.
- πCross-Project Sharing
Promote discoveries to SHARED system. All your projects benefit instantly.
- π€Agent Agnostic
Works with Claude, GPT, Gemini, Cursor, Copilot - any AI assistant.
How It Works
A continuous learning loop that makes every session build on the last.
1.Session Starts
Agent loads context from DEV_Items table. Plans with similar keywords are surfaced via semantic matching.
2.Work Happens
Decisions, learnings, and patterns are captured automatically via hooks. Tasks are tracked in real-time.
3.Patterns Detected
Recurring issues trigger auto-improvement proposals. Similar errors become documented knowledge.
4.Session Ends
Checkpoints are saved. Another agent can resume exactly where you left off.
5.Knowledge Propagates
Promoted patterns benefit all projects in the ecosystem via SHARED system.
System Architecture
Three layers working together to create persistent intelligence.
AI Agents
Claude Code, Cursor, Copilot, Gemini
CMP Core
The intelligence layer
Cloud Infrastructure
Persistent storage
Expert Code Review Panel
Multiple AI experts analyze your code from different perspectives, then vote on issues with consensus.
Security Expert
SQL injection, XSS, auth flows, sensitive data
Performance Expert
N+1 queries, bundle size, lazy loading, caching
Architecture Expert
SOLID principles, module structure, type safety
UX Expert
Accessibility, mobile-first, semantic tokens
Database Expert
Schema validation, migrations, query optimization
Documentation Expert
Stale docs, missing context, accuracy
Experts vote APPROVE, REJECT, or ABSTAIN. Critical issues require 2+ expert consensus.
Core Philosophy
The principles that guide how CMP thinks about AI-assisted development.
Evidence > Assumptions
Never assume. Always verify. Read before writing.
Cloud > Local
Memory lives in the database. Sessions are ephemeral, knowledge is permanent.
Collective > Individual
One project's learnings benefit all your projects.
Continuity > Restarts
Work survives IDE restarts, machine changes, and agent switches.
Core Capabilities
Everything you need for AI-assisted development with persistent memory.
Persistent Memory
Knowledge stored in DEV_Items table survives sessions, IDE restarts, and agent switches.
So your AI never forgets what it learned about your codebase.
Learning Loop
Errors automatically convert to knowledge. Recurring patterns become documented rules.
So mistakes become lessons, not repeated failures.
Cross-Project Learning
Promote patterns to SHARED system. All your projects benefit from each discovery.
So a solution in one project helps all your other projects.
Multi-Agent Handoffs
Plans with checkpoints. One agent can resume exactly where another left off.
So you can switch between Claude, GPT, or Cursor without losing context.
Expert Code Review
Multiple AI experts (Security, Performance, Architecture, UX) review code with consensus voting.
So you get specialized feedback, not generic suggestions.
Agent-First Design
Designed to be installed and configured by AI agents. Works with any coding assistant.
So your AI can set up CMP for you, not the other way around.
Works With Any AI Agent
CMP is designed to be agent-agnostic. Use it with your preferred AI coding assistant.
| Agent | Integration Level |
|---|---|
| Claude Code | Full (hooks, commands, MCP) |
| Cursor | CLAUDE.md + CLI |
| GitHub Copilot | CLAUDE.md + CLI |
| Gemini | CLAUDE.md + CLI |
| Custom Agents | Programmatic API |
Quick Start
Get CMP running in your project in minutes.
npm install cmp-standardsInstall the package
npx cmp-standards init --system MYAPPInitialize in your project
Create/update CLAUDE.mdAdd CMP configuration
Set up databaseDEV_Items table for memory
cmp-standards statusVerify everything works
CLI Commands
Powerful command-line tools for managing your CMP installation.
cmp-standards initInitialize CMP in project
cmp-standards statusShow system status
cmp-standards generateGenerate embeddings
cmp-standards scanScan for patterns
cmp-standards improveRun auto-improvement
cmp-standards dashboardStart web dashboard
cmp-standards mcpStart MCP server
Created by Carlos Martin Pavon
Built by agents, for agents