AIToday

EGC, a local AI memory tool, lets Claude Code, Cursor, and other coding assistants retain project context across sessions without manual prompting.

Hacker News4h ago3 min read
EGC, a local AI memory tool, lets Claude Code, Cursor, and other coding assistants retain project context across sessions without manual prompting.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  1. 1

    What happened: A developer released EGC (Extended Global Context), an npm-installable runtime that stores project decisions, preferences, and next steps in local Markdown files. When you return to a project, the AI automatically loads that state—no commands needed. It works with Claude, GPT-4o, Gemini, and other models, and syncs across Claude Code, Cursor, Gemini CLI, Windsurf, and other tools via an `egc watch` command.

  2. 2

    Why it matters: AI coding assistants currently start fresh each session, losing context about what you were building, what failed, and what comes next. This tool bridges that gap by automating memory management—you just say 'continue' in any language and the AI already knows where you stopped. It includes 14 memory-management tools that the AI calls automatically, plus 5 safety tools that validate shell commands and file writes before execution.

  3. 3

    What to watch: EGC is free and maintained by one developer. It ships with a bonus prompt library of 479 components (63 agents, 229 skills, 76 commands) but those are optional. The tool stores state files at ~/.egc/state/ as plain Markdown, making them human-readable and portable. Installation is a single npm command: `npm install -g @egchq/egc && egc install`.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

5 minutes a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →