Continuous Evolving Memory System
Persistent memory for AI coding assistants. Your agent remembers what you teach it — across sessions, projects, and teams.
Works with Claude Code · Cursor · Codex · Goose · any MCP-compatible agent
- You code — CEMS hooks into your IDE (Claude Code, Cursor, Codex, Goose)
- CEMS watches — Every prompt is enriched with relevant memories. Session learnings are extracted automatically.
- Memories stored — Preferences, conventions, architecture decisions, debugging fixes
- Context recalled — Next session, relevant memories are injected so your agent already knows your codebase
No manual tagging. No copying context. It just works.
# Download the compose file
curl -fsSLO https://raw.githubusercontent.com/chocksy/cems/main/deploy/docker-compose.yml
# Create .env
cat > .env << 'EOF'
POSTGRES_PASSWORD=your_secure_password
OPENROUTER_API_KEY=sk-or-your-key
CEMS_ADMIN_KEY=cems_admin_random_string
EOF
# Start
docker compose up -d
# Run migrations
for f in migrate_docs_schema.sql migrate_soft_delete_feedback.sql migrate_conflicts.sql; do
curl -fsSL "https://raw.githubusercontent.com/chocksy/cems/main/scripts/$f" | \
docker exec -i cems-postgres psql -U cems cems
donecems admin --admin-key $CEMS_ADMIN_KEY users create alice
# Returns the API key — save it, shown only once!Each developer runs:
curl -fsSL https://getcems.com/install.sh | bashPrompts for server URL and API key, then configures your IDE. Done.
| Doc | What's inside |
|---|---|
| Deployment Guide | Docker Compose, Kubernetes, env vars, backups, production checklist |
| Client Setup | Install options, CLI commands, skills, hooks, updating, troubleshooting |
| Architecture | Storage, search pipeline, maintenance, observer daemon, MCP |
| API Reference | All REST endpoints with examples |
git clone https://github.com/chocksy/cems.git && cd cems
uv pip install -e ".[dev]"
pytestMIT


