The repository or configuration that created this release differ from a previous release. View details.
Local-first, Markdown-native persistent memory for AI coding agents.
Local-first, Markdown-native memory for AI coding agents.
Engramkeep gives every agent you use — Codex, Claude Code, OpenCode, Cursor, Windsurf, Gemini CLI, Antigravity, or anything that can read AGENTS.md — the same persistent, human-readable project memory. It runs on the Python standard library alone.
Status: 0.5.3 alpha. The store, CLI, MCP server, dashboard, troubleshooting registry, bilingual search, and the backed-up agent installer work. Cloud sync, transcript adapters, and schema migrations are still ahead. See docs/ROADMAP.md.
Engramkeep is not a vector database, a chat application, or a cloud service. It is a small, auditable memory layer that keeps project decisions in files you own.
$ engramkeep init Initialized Engramkeep at …/Engramkeep created INDEX.md, RECENT_ACTIVITY.md, audit.log, TROUBLESHOOTING.md, projects/, trash/ $ engramkeep remember api-gateway "Use SQLite for local storage" --tag database Remembered in api-gateway: Api Gateway $ engramkeep fix "Keystore signature mismatch on release build" \ --solution "Enable v2 signing in gradle signingConfigs" \ --project mobile-app Recorded fix for mobile-app: Keystore signature mismatch on release build $ engramkeep fixes mobil # Turkish query, English entry mobile-app (2026-11-09) workspace: General problem: Keystore signature mismatch on release build fix: Enable v2 signing in gradle signingConfigs $ engramkeep search "database" Api Gateway (api-gateway) tags: database ...Decisions - Use SQLite for local storage A complete synthetic store lives in examples/demo-brain/. It is generated from checked-in JSON sources by python scripts/build_demo_brain.py; no real project data is included.
pipx install engramkeep # or: pip install engramkeep engramkeep init engramkeep remember example-project "Use SQLite for local storage" --tag database engramkeep search sqlite engramkeep show example-project From a source checkout:
python -m venv .venv # Windows .venv\Scripts\activate # macOS / Linux source .venv/bin/activate pip install -e ".[dev]" engramkeep init Without installing the package:
# Windows set PYTHONPATH=src python -m engramkeep init # macOS / Linux PYTHONPATH=src python -m engramkeep init Try the demo store before touching your own memory:
engramkeep --home examples/demo-brain search "docker arm64" engramkeep --home examples/demo-brain fixes "database is locked" engramkeep --home examples/demo-brain dashboard Install the memory protocol into your agents The installer writes a small managed block into your agent instruction files. It is a dry run by default: nothing changes until you pass --apply.
engramkeep install --list # supported agents engramkeep install --agent opencode # show the plan (dry run) engramkeep install --agent opencode --apply engramkeep install --agent opencode --apply --mcp engramkeep install --agent all --apply # every supported agent engramkeep install --agent opencode --uninstall What it does:
Supported agents: OpenCode, Claude Code, OpenAI Codex, Cursor, Windsurf, Gemini CLI, Antigravity, GitHub Copilot, Cline, and Roo Code. engramkeep install --list prints the exact target paths for the current platform.
Override it with the ENGRAMKEEP_HOME environment variable or the global --home flag:
/ ├── INDEX.md # generated project index ├── RECENT_ACTIVITY.md # human-readable activity log ├── TROUBLESHOOTING.md # resolved errors and verified fixes ├── audit.log # append-only JSONL audit trail ├── projects/ │ └── example-project.md └── trash/ # recoverable cards moved by `forget` A project card is Markdown with a small frontmatter block:
--- id: example-project title: Example Project created: 2026-01-01T00:00:00Z updated: 2026-01-02T12:00:00Z tags: demo, docs --- # Example Project ## Decisions - Use SQLite for local storage. The troubleshooting registry Every agent eventually hits the same build failure twice. Engramkeep keeps a local TROUBLESHOOTING.md so a solved error is recorded once and recalled forever:
# Record a resolved problem engramkeep fix "Keystore signature mismatch on release build" \ --solution "Enable v2 signing in gradle signingConfigs" \ --project mobile-app # Recall fixes engramkeep fixes keystore engramkeep fixes mobil # bilingual: TR query, EN entry engramkeep fixes # newest first engramkeep fixes --json Entries are redacted before write, the file is rewritten atomically, and agents are instructed to treat entries as untrusted data — never as instructions to execute.
The repository includes a reproducible benchmark over a synthetic corpus of 15 error/fix pairs and 45 independently written queries (English and Turkish):
Scoring is lexical with a small bilingual concept bonus: no embeddings, no network calls, nothing to download. Two of the three no-match controls return nothing; the third is reported honestly in docs/BENCHMARK.md rather than hidden.
python scripts/benchmark_fix_registry.py --output docs/BENCHMARK.md Commands Command Purpose engramkeep init Create the memory directory and starter files engramkeep remember " " [--tag TAG] Record a durable decision engramkeep search " " [--tag TAG] [--json] Search titles, tags, and card bodies (bilingual) engramkeep show Print a project card engramkeep list List known projects engramkeep recent Print recent activity engramkeep forget --yes Move a card to trash/ engramkeep fix " " --solution " " [--project NAME] [--workspace PATH] Record a resolved problem engramkeep fixes [query] [--limit N] [--json] Search the troubleshooting registry engramkeep export [--output FILE] Export all cards and fixes as JSON engramkeep reindex Regenerate INDEX.md engramkeep doctor [--json] Check the local store, including the registry engramkeep path Print the active memory directory engramkeep install [--list] [--agent NAME] [--apply] [--uninstall] [--scope auto|global|project] [--project-dir PATH] [--mcp] Plan or apply agent integration engramkeep mcp [--status] [--allow-write] Run the MCP stdio server, or print its status engramkeep dashboard [--status] [--port PORT] [--allow-write] Run the local dashboard, or print its status Using Engramkeep with agents Engramkeep is designed around two portable files:
engramkeep install --agent --apply installs the managed instruction block (and optional MCP config with --mcp). Copy skills/engramkeep/SKILL.md or rule templates manually if you want the full skill file:
engramkeep mcp It uses newline-delimited JSON-RPC 2.0 over stdio and protocol version 2025-11-25. A typical client configuration looks like:
{ "mcpServers": { "engramkeep": { "command": "engramkeep", "args": ["mcp"] } } } The default tool set is read-only: engramkeep_search, engramkeep_show, engramkeep_list, engramkeep_recent, engramkeep_doctor, and engramkeep_fixes. To also expose the write tools engramkeep_remember and engramkeep_record_fix, start the server with --allow-write:
engramkeep dashboard It binds to 127.0.0.1 and prints a URL with a per-session token in the fragment. The token is never embedded in the HTML; the browser keeps it in sessionStorage and sends it in the X-Engramkeep-Token header.
The dashboard is read-only by default. To enable the remember form, start it with:
engramkeep dashboard --allow-write Writes are POST-only and require confirm: true. There is no forget button. Use --port 0 to pick a free port, and run engramkeep dashboard --status for machine-readable security details.
Different projects approach agent memory from different angles. Here is how Engramkeep compares to common patterns and alternatives:
Pick Engramkeep when you want small, auditable, portable memory that lives with your code — not a complex RAG pipeline or hosted cloud service.
Read docs/PRIVACY.md and docs/THREAT_MODEL.md before deploying Engramkeep in a sensitive environment.
engramkeep/ ├── AGENTS.md ├── README.md ├── README.tr.md ├── LICENSE ├── pyproject.toml ├── src/engramkeep/ │ ├── cli.py │ ├── config.py │ ├── concepts.py # bilingual EN/TR concept expansion │ ├── models.py │ ├── paths.py │ ├── redact.py │ ├── search.py │ ├── store.py │ ├── troubleshoot.py # troubleshooting registry (TROUBLESHOOTING.md) │ ├── mcp_server.py # MCP stdio server │ ├── dashboard.py # hardened local dashboard │ ├── installer.py # backed-up, managed-block agent installer │ └── adapters/ # future transcript adapters ├── assets/ # dashboard.png, demo.gif ├── examples/ │ ├── brain/ # minimal valid store │ ├── demo-brain/ # generated synthetic store │ ├── demo-cards.json │ └── fix-registry/ # benchmark corpus ├── scripts/ │ ├── build_demo_brain.py │ └── benchmark_fix_registry.py ├── skills/engramkeep/SKILL.md ├── templates/ ├── tests/ # 254 tests ├── docs/ └── .github/ Contributing Contributions are welcome. Start with CONTRIBUTING.md, follow the Code of Conduct, and report security issues through SECURITY.md. Good first tasks are listed in docs/GOOD_FIRST_ISSUES.md.
Engramkeep is not affiliated with Google, Anthropic, OpenAI, Anysphere, Cognition, or any other agent vendor. See TRADEMARKS.md.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
We recommend inspecting the repository and configuration before proceeding. View details.
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Nov 11, 2026 2 release files Change of provenance




