Skip to content

Latest commit

History

341 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

CEMS — Continuous Evolving Memory System

CEMS

Continuous Evolving Memory System

Persistent memory for AI coding assistants. Your agent remembers what you teach it — across sessions, projects, and teams.

License: MITPython 3.12+Docker HubMCP CompatibleRecall@5: 98%

Works with Claude Code · Cursor · Codex · Goose · any MCP-compatible agent


How It Works

How CEMS Works — You code, CEMS watches, Memories stored, Context recalled

  1. You code — CEMS hooks into your IDE (Claude Code, Cursor, Codex, Goose)
  2. CEMS watches — Every prompt is enriched with relevant memories. Session learnings are extracted automatically.
  3. Memories stored — Preferences, conventions, architecture decisions, debugging fixes
  4. Context recalled — Next session, relevant memories are injected so your agent already knows your codebase

No manual tagging. No copying context. It just works.


Architecture

CEMS Architecture — Developer machines connect to Docker server


Quick Start

1. Deploy the server

# 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_passwordOPENROUTER_API_KEY=sk-or-your-keyCEMS_ADMIN_KEY=cems_admin_random_stringEOF# Start
docker compose up -d
# Run migrationsforfin 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
done

2. Create users

cems admin --admin-key $CEMS_ADMIN_KEY users create alice
# Returns the API key — save it, shown only once!

3. Install the client

Each developer runs:

curl -fsSL https://getcems.com/install.sh | bash

Prompts for server URL and API key, then configures your IDE. Done.


Documentation

DocWhat's inside
Deployment GuideDocker Compose, Kubernetes, env vars, backups, production checklist
Client SetupInstall options, CLI commands, skills, hooks, updating, troubleshooting
ArchitectureStorage, search pipeline, maintenance, observer daemon, MCP
API ReferenceAll REST endpoints with examples

Development

git clone https://github.com/chocksy/cems.git &&cd cems
uv pip install -e ".[dev]"
pytest

License

MIT

About

Stop re-explaining your codebase every session. CEMS gives Claude Code, Cursor, Codex, and Goose persistent memory — decisions, preferences, and context that actually carry over.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages