EGC
EGC is a persistent memory layer that gives every AI agent, IDE, terminal, and session a shared brain. It solves context loss and repetition across AI coding tools by automatically storing and recalling project decisions and session context. It is for developers using AI coding assistants like Cursor, Copilot, Claude Code, and others.
✨ Key features
- Persistent shared memory across all AI agents and tools
- Natural language interaction in any language
- Guardian validates commands and blocks dangerous writes
- Token Crusher compresses shell output by up to 90%
- Memory stored locally and encrypted with AES-256-GCM
- Includes prompt library with 61 agents, 232 skills, 77 commands
🎯 Use cases
- Continue a coding session in a new terminal without losing context
- Share project decisions across multiple AI tools simultaneously
- Reduce token usage and costs by compressing noisy shell output
- Prevent dangerous commands from executing with Guardian
- Access a library of specialized agents and skills for code review
📦 Installation
🧰 Requirements: Requires Node.js and npm; works on any OS with terminal support. No API keys needed for core memory, but AI tools must be installed separately.
npm install -g @egchq/egc && egc install
🚀 Usage
After installation, open any AI tool and just talk. For example, say "hi", "let's continue", or "remember this decision" in any language. Sessions connect instantly and memory loads automatically.
⚠️ Good to know
Guardian coverage depends on each tool's hook support; there is one documented exception in the Security Assessment.
❓ FAQ
How does EGC store memory?
Memory is stored locally in ~/.egc on your machine, encrypted with AES-256-GCM, and kept per project branch. It is never committed to your repository.
Which AI tools does EGC work with?
EGC works with Cursor, Copilot, Claude Code, Codex, Aider, and any terminal agent, supporting 20 AI coding tools in total. It works natively with Claude, GPT-4o, Gemini, DeepSeek, Mistral, Groq, Cohere, and Vertex AI, plus OpenRouter for Qwen3, Llama 4, and more.
Do I need to memorize commands?
No, you can speak naturally in any language. EGC understands intent and stores/recalls context without requiring specific commands.
Is EGC free?
Yes, EGC is free and built by one developer. You can support it via sponsorship or donations.
📊 Repository
🤖 Overview, features, install steps and FAQ were generated from the project's README on Sep 4, 2026. Always check the original source before running commands.