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

Your AI remembers your project across sessions and tools.

EGC is an open-source runtime that gives every AI coding tool a shared, persistent memory of your project. Install once, works everywhere.

terminal
9
Supported Tools
228+
Skills
74
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 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:
• Test full install on a clean machine
• Add GEMINI.md with session memory protocol
• Tag v1.0.0 after clean install test passes

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
Claude Code
MCP + Bootstrap
Cursor
Cursor
MCP + Bootstrap
Codex CLI
Codex CLI
MCP + Bootstrap
Gemini CLI
Gemini CLI
MCP + Bootstrap
OpenCode
OpenCode
MCP + Bootstrap
Kiro
Kiro
MCP + Bootstrap
Trae
Trae
Context + Bootstrap
CodeBuddy
CodeBuddy
Context + Bootstrap
Antigravity
Antigravity
MCP + Bootstrap

MCP Servers

Two local servers, zero cloud

egc-memory

The one you'll use every session

get_state Reads project memory at session start
update_state Saves this session's decisions and next steps
store_decision Persists a decision to SQLite
query_history Returns past decisions by timestamp
Read docs

egc-guardian

Runs in the background

validate_command Blocks shell injection and unsafe binaries
validate_write Blocks writes to sensitive paths (~/.ssh, /etc)
reduce_context Deduplicates and trims Markdown payloads
orchestrate_task Routes prompts to relevant agents and skills
Read docs

Efficiency

87% fewer tokens to rebuild context

Without EGC With EGC
Context overhead per session ~1,500 tokens ~200 tokens
Cost for 20 sessions/month ~$0.08-0.09 ~$0.011-0.012
Time re-explaining context 10 min/session 0

Security

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.

Ready to give your AI a memory?

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