Skip to content
Felipe Marzochi edited this page Jul 27, 2026 · 7 revisions

EGC - Extended Global Context

EGC gives every AI agent the same brain: persistent memory that remembers, understands, protects, filters, and coordinates across every session and every tool.

Version: 1.1.17 | License: Apache 2.0 | Node.js: >= 20


What EGC does

One install. Every tool. Persistent memory.

After npm install -g @egchq/egc && egc install, two local MCP servers run in the background and the memory protocol is injected into the global instruction files for every AI coding tool you have installed. The AI calls get_state({}) at the start of each session and update_state({...}) at the end. State lives at ~/.egc/state/, encrypted on your machine.

EGC also ships a prompt library: 63 agents, 230 skills, 77 commands, and 111 rules, written from real engineering sessions.


Quick start

npm install -g @egchq/egc
egc install

Or without a global install:

npx @egchq/egc install

Full guide: Installation


MCP servers at a glance

egc-memory - persistent project memory

  • get_state({}) reads context at session start
  • update_state({...}) saves decisions at session end

egc-guardian - security validation layer

  • blocks shell injection, unsafe binaries, and writes to sensitive paths

Supported tools

23 tools: Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, OpenCode, Windsurf, Amp, VS Code Copilot, Zed, Continue.dev, Kiro, Trae, CodeBuddy, JetBrains Junie, Goose, Amazon Q Developer, OpenHands, Aider, Warp, Roo Code, Cline, and Qwen Code. See Supported Tools for the full tier breakdown.


Developed by Felipe Marzochi. Repository - Report a vulnerability

Clone this wiki locally