The gateway to code memory.
Engram is a privacy-first "Shadow Guard" for your AI coding workflow. It creates a semantic memory of your past mistakes and proactively injects them into your AI tools (Cursor, Copilot, Cline) to prevent them continuously.
Most AI tools have amnesia. They make the same mistake today that you fixed yesterday.
- SonarLint simply catches syntax errors. It doesn't know your history or specific project constraints.
- Cloud Tools require sending your code to external servers. Engram is 100% Local.
- Engram remembers. It watches your workflow, learns your specific pain points, and stops the AI from repeating them.
"Saved me 2 hours on a Copilot regression where it kept using a deprecated API I explicitly moved away from last week." - Early User
Don't just fix mistakes, teach your AI to avoid them. Engram translates your repetitive errors into natural language rules.
- Universal Support: Automatically updates configuration files for Cursor and Copilot.
- Smart Copy: Wraps your code with relevant mistake history when pasting into ChatGPT.
- Prompt Injection Defense: Sanitizes all context to ensure security.
A firewall for AI-generated code.
- Honeymoon Mode: New mistakes are shown as subtle Info warnings (Blue), giving you a chance to fix them without interruption.
- Strict Enforcement: Promote rules to "Blockers" (Red) only when you need absolute compliance.
- Interactive Triage: Quickly ignore rules for specific file types (like tests) with a single click.
- Active Warning System: Detects when you are about to repeat a known bad pattern.
- Memory Cards: Hover over any warning to see exactly when this mistake happened before and how you fixed it.
It reads your mind.
- Ghost Text: Shows predictions when you hesitate.
- Prompt Director: Knows when you want to ask a question.
- Telepathy: Broadcasts its thoughts to
.engram/intuition.mdso other AI agents can read them.
- Install the extension.
- Code as usual. Engram learns quietly in the background.
- Watch for ghost text warnings or predictions.
- Paste smarter. Use "Engram: Smart Copy" when asking AI for help.
- Refine. Use the blue "Shadow Guard" warnings to tune your rules.
Q: Does my code leave my computer? A: No. Engram is 100% local. All embeddings, rules, and logic run on your machine.
Q: Will it slow down my editor? A: No. The Shadow Guard uses a debounced background process (500ms) to ensure it never blocks your typing.
Q: Can I share my rules?
A: Yes! Use Engram: Import Rules to load any JSON rule pack. Check out our Starter Kit for free bug patterns.
Engram is designed to be hacked.
- Rule Starter Kit: Run
Engram: Load Starter Kitto instantly block common bugs (Console logs in prod, AWS Keys, etc). - Build Your Own: Export your
fingerprints.jsonand share it with your team. - Open Source: Contribute your best patterns to our GitHub Repo.
Engram isn't just a memory; it's a psychic companion.
Note: Pre-Cog (Intuition) is now a core feature! Check the Quick Start.
Photographic Memory & Hippocampus (Hidden Beta)
See walkthrough.md for instructions on how to enable these classified features.
