Skip to content

Latest commit

 

History

1,162 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

🌐 English · العربية · Deutsch · Español · Français · हिन्दी · Italiano · 日本語 · 한국어 · Português (Brasil) · Русский · Türkçe · 简体中文

EGC - Extended Global Context

EGC - Give Every AI Agent the Same Brain

One local engine that gives every AI coding tool on your machine the same memory, the same guardrails and the same context, in every session.


EGC is a local-first runtime for AI coding tools. Install it once and Cursor, Claude Code, Codex, Copilot, Aider and the rest of the 20 AI coding tools it supports share one encrypted memory of your projects, one safety layer in front of every command, one filter that keeps noisy output away from the model, and one live bus that lets your open sessions see each other. Works natively with Claude, GPT-4o, Gemini, DeepSeek, Mistral, Groq, Cohere, and Vertex AI, plus OpenRouter for Qwen3, Llama 4, and more.

Nothing leaves your machine. Memory lives in ~/.egc, encrypted with AES-256-GCM, kept per project and branch, and never committed to git.


Install

npm install -g @egchq/egc && egc install

That is the whole engine. egc install detects the tools you have, registers the two local MCP servers in each of them, writes the memory protocol every agent reads, and sets up the Token Crusher. It asks one question, whether you also want the optional prompt library, and the default is no.

One command installs EGC across 20 AI coding tools

Full installation guide


The Engine: How EGC Works

EGC is one brain with four faculties. Each one is on from the first install, in every supported tool, with no command to learn.

A decision made in Cursor is already known in Claude Code

Memory: What One Agent Learns, Every Agent Knows

Decisions, session context, working memory and learned lessons are captured as you work and are available in any other terminal, IDE or agent you open. You speak naturally, in any language: "save this session", "what did we decide about auth?", "remember this decision". EGC understands the intent and stores or recalls the context. There is no command to memorize.

Session Mesh: Your Open Sessions See Each Other

Two Cursor tabs, a Claude Code terminal and an Antigravity session share one live bus. They announce what they are working on, claim the files they edit, hand work to each other and pick up events the moment they land, so parallel sessions cooperate instead of colliding.

Guardian: A Safety Layer in Front of Every Command

Guardian validates commands before they run, gates risky writes and keeps context from overflowing, in the background, without you invoking anything. Coverage depends on each tool's own hook support; the Security Assessment documents the exception.

Token Crusher: Noise Never Reaches the Model

Before shell output reaches the model, the Token Crusher compresses git logs, test spam, install noise and giant JSON by up to 90 percent while keeping every error and warning. Ask "how much did I save?" in any language and the answer comes straight from your local ledger.


Quick Start

There is no step two. Open any of your AI tools and just talk: "hi", "let's continue", "remember this decision", in any language. Sessions connect, memory loads, and every open tab already knows what the others are doing.

A live dashboard with agent activity, tokens and costs starts right after installation. Prefer explicit control? Every command is documented in the installation guide: you will probably never need to type one.


Prompt Library (Optional)

Separate from the engine, and off by default, EGC also ships a library written from real engineering sessions: you get access to 61 agents, 232 skills, and 77 commands, plus 109 rules. Specialists that review your code on their own, best-practice guides for every language and situation, shortcuts that run a whole sequence of tasks, and style rules that keep your code consistent. Add it to every detected tool with egc install --prompt-library, or to one tool with egc install --target <tool> --profile full. Skip it and the engine works exactly the same.


🌐 English · العربية · Deutsch · Español · Français · हिन्दी · Italiano · 日本語 · 한국어 · Português (Brasil) · Русский · Türkçe · 简体中文


Support EGC

EGC is built by one developer, maintained in the open, and free. The engine is Apache-2.0 and stays free: if EGC ever offers something paid, it will be a team layer on top of it, never the memory on your machine.

  • Website: full docs, feature overview, and live demo
  • Vision: where EGC is going, and what stays free
  • Join the Discord: ask questions, share feedback
  • Sponsor on GitHub: any amount
  • Donate via PayPal: no GitHub account needed
  • Star the repository: helps other developers find it
  • Contribute: agents, skills, commands, bug fixes, docs
  • Share: if EGC changed how you work, tell someone

Sponsors

Support from the community keeps this project alive and independent.

Tool Partners

AI coding tools that integrate natively with EGC. Partners get logo placement across all READMEs and EGCSite.

Pincushion

Annual Sponsors · Be the first annual sponsor.


Backers

@chizormaangel-commits

Monthly sponsors · be the first


OpenSSF Best Practices OpenSSF Baseline Level 1 OpenSSF Baseline Level 2 OpenSSF Baseline Level 3


OpenSSF Best Practices         EGC

About

EGC gives every AI coding agent the same brain. Shared memory, skills, and live context across Cursor, Claude Code, Copilot, Aider, and 20+ AI coding tools with zero configuration. Every tab, terminal, and AI stays automatically synchronized. One brain. Everywhere.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

55 stars

Watchers

5 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages