Skip to content
v1.1.14 now available See release
Fmarzochi/EGC

Stop re-explaining your codebase every session.

Every time you open a new session or switch tools, the AI starts from zero. EGC fixes that: one install gives every AI coding tool a shared, persistent memory of your stack, your decisions, and your next steps.

Without EGC -- every session

"We use PostgreSQL with row-level security..."
"I prefer functional components, no classes..."
"We moved from Prisma to Drizzle because..."
$ npm install -g @egchq/egc
$ egc install
GitHub
terminal
20
Supported Tools
230+
Skills
77
Commands
100%
Open Source

The Problem

Every AI session starts from zero.

Close the window and the context is gone. Your stack preferences, the architectural decisions you made last week, the approach that failed after three attempts. Next session you spend the first ten minutes re-explaining ground you already covered.

It gets worse when you switch tools. Move from Cursor to Claude Code and you start over again. The AI doesn't know you. It never did.

Without EGC
You: We're using PostgreSQL with row-level security...
You: I prefer functional components, no classes...
You: We tried Prisma but moved to Drizzle because...
You: The auth flow uses sessions, not JWT...
Every. Single. Session.

The Solution

One install. Every tool. Permanent memory.

sh scripts/install.sh detects which AI tools you have and registers the MCP servers in all of them. The AI reads your project state at the start of every session and saves decisions at the end.

With EGC
# You open Claude Code on a project you haven't touched in 2 weeks.
# Without typing anything:
State loaded from egc-memory
Context and preferences acknowledged (terse responses).
Ready to pick up:
• working_memory, lessons, detect_patterns, compress_observations added
• branch-aware state: switching branches restores branch context
• update_state propagates context to 11 tool config files automatically
• egc watch: bidirectional sync - edit any tool file, all others update
• egc dashboard, egc replay, egc budget, egc plugin -- all available
• 20 tools: JetBrains Junie native, AES-256-GCM state encryption
• global memory across projects, session bus for parallel sessions
• Token Crusher active: shell output compressed before it costs tokens

Open any session

AI reads your project state and picks up where you left off.

Close any session

AI saves decisions, preferences, and next steps automatically.

Switch any tool

Same state file, same context. No re-explaining.

Ecosystem

Works with every AI coding tool

Claude Code
MCP + Skills
Cursor
MCP + Bootstrap
Codex CLI
MCP + Skills
Gemini CLI
MCP + Bootstrap
OpenCode
MCP + Skills
Windsurf
MCP + Skills
Amp
MCP + Skills
VS Code Copilot
MCP + Skills
Continue.dev
MCP + Bootstrap
Kiro
MCP + Bootstrap
Trae
Context + Bootstrap
CodeBuddy
Context + Skills
Antigravity
MCP + Bootstrap
Zed
MCP + Bootstrap
Goose
MCP + Skills
Amazon Q Developer
MCP + Skills
OpenHands
MCP + Skills
Aider
MCP + Skills
JetBrains Junie
Guidelines
Warp
MCP + Skills

LLM Providers

Bring your own model

Claude
Native provider
ChatGPT
Native provider
Gemini
Native provider
DeepSeek
Native provider
Mistral AI
Native provider
Ollama
Native provider
OpenRouter
Broker provider
Groq
Native provider
Vertex AI
Native provider
Cohere
Native provider

MCP Servers

Two local servers, zero cloud

egc-memory

The one you'll use every session

get_stateReads project memory at session startupdate_stateSaves decisions and next steps, propagates context to all tool config filesstore_decisionPersists a decision to SQLitequery_historyReturns past decisions by timestampsearch_historyFull-text search with BM25 rankingget_project_stateReturns full project state for a given pathworking_memory_setStores transient context with TTLworking_memory_getRetrieves a transient memory entry by keyworking_memory_listLists all active transient memory entrieslesson_saveRecords cross-session knowledge with confidence decaylesson_recallSearches lessons by relevance using FTS5lesson_reinforceIncreases confidence score of a stored lessondetect_patternsSurfaces repeated commands and recurring errorscompress_observationsCompresses raw hook events into typed summaries
Read docs

egc-guardian

Runs in the background

validate_commandBlocks shell injection and unsafe binariesvalidate_writeBlocks writes to sensitive paths (~/.ssh, /etc)reduce_contextDeduplicates and trims Markdown payloadsorchestrate_taskRoutes prompts to relevant agents and skillsauto_learnMines session failures and propagates lessons to all AI tool config files in the project
Read docs

Efficiency

87% fewer tokens to rebuild context

The built-in Token Crusher compresses shell output before it ever reaches the model and records every saving in a local ledger. One giant git log went from 545 KB to 1.6 KB in a single crush. Run egc gain to see your own numbers.

Context overhead per session
Without EGC
~1,500 tokens
With EGC
~200 tokens
Cost for 20 sessions/month
Without EGC
~$0.08-0.09
With EGC
~$0.011-0.012
Time re-explaining context
Without EGC
10 min/session
With EGC
0
Shell output entering the model
Without EGC
full command output
With EGC
crushed up to 99.7%

Security

Stores decisions and preferences in local SQLite. Never in your source code. Never in the cloud.

Explore

Find us on our channels

Sponsor EGC

EGC is free and open source. If it saves you time and tokens, consider sponsoring. It helps keep the project maintained and moving forward.

Sponsors

Tool Partners

Be the first tool partner

Annual Sponsors

+ Be the first annual sponsor

Backers

Monthly sponsors

Be the first

Ready to give your AI a memory?

Install in under 2 minutes. Works with the tools you already use.