engramory: A Zero-Dependency Local Memory Protocol Plugin for DeepSeek Harness
tinqiao-oss/engramory
Engramory is a portable memory protocol for DeepSeek Harness, using zero-infrastructure Markdown files and an index for long-term memory, loaded as standing rules with a validator.
engramory is a memory protocol plugin for DeepSeek Harness that organizes AI agent long-term memory into a portable, zero-infrastructure local file system. It requires no database, embeddings, or server—just Markdown files plus an always-loaded index, making memory readable, editable, and diffable. Through a strict curation discipline and a validator, it ensures memory files follow the role/purpose ontology, dedup, and negative-scope rules, with an optional hard index cap. Ideal for developers who want plain-text, transparent, and controllable agent memory.
How to Install
dsh plugin --profile web add dsh-engramory- Category
- Memory & Context
- Platform
- DSH Plugin
- Author
- tinqiao-oss
- Distribution
- Plugin
engramory Key Features
engramory Repo Summary
What Does It Do?
Engramory is a DSH plugin for DeepSeek Harness that turns agent memory into a portable, zero-infrastructure protocol based on local files. It solves the problem of unreliable long-term memory by enforcing a strict curation discipline and a validator, making memory human-readable, editable, and diffable plain-text files. Core capabilities include a role/purpose ontology, procedural memory via feedback type, dedup and update rules, and an optional hard index cap hook.
Core Features
- Role/purpose ontology: makes procedural feedback the spine, requiring Why and How to apply lines, instead of auto-extracting into a vector store.
- Curation contract: concrete behaviors like dedup-before-write, update-don't-duplicate, delete-when-wrong, and a negative-scope rule (don't store what git/CLAUDE.md/code already records).
- Validator: provides engramory_doctor.py to check compliance of memory files.
- Hard index cap hook: enforces an index cap for direct-edit tools (Edit, Write, MultiEdit), but not a global write guard.
- Zero dependency: no database, no embeddings, no server—just Markdown files plus an always-loaded index.
How to Use This Plugin?
After enabling it in DSH, load the protocol as standing rules (e.g., in CLAUDE.md or AGENTS.md) and follow the procedure in AGENT-SETUP.md. Memory is stored as small, human-readable Markdown files plus an always-loaded index; the model curates it, and the validator can be run periodically to check compliance. To adjust behavior, modify the rules file or the index cap configuration.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: tinqiao-oss/engramory. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
