Observed since 20 Oct, 23:27 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Plain-text memory for AI agents — small, filtered, compressed, self-pruning. No database, no embeddings, no dependencies.
Plain-text memory for AI agents.
Markdown files — no database, no embeddings, no dependencies.
from smriti import Memory
mem = Memory("./memory")
mem.write("Use Postgres, not Mongo, for the ledger", type="decision")
mem.context() # the index — inject into your prompt every turn
mem.recall("postgres ledger") # ranked matches, plus what they link to (one hop)
mem.get("use-postgres-for-the-ledger").body
mem.prune() # stale / duplicate / broken-link memories
Install · pip install agent-smriti · or copy smriti.py (stdlib, Python 3.10+)
The four rules · write what's durable · compress to a hook + seed · recall by hook · prune the rest
Limits · recall is lexical (the model does the semantics over context()) · the filter checks shape, not worth · built for agent scale
The format is the whole spec · Benchmarks — local-model A/B: smriti 100% vs no-memory 25% at ~⅓ the context · MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 27 Jun 2026 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 23:27 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:dcb597351e8175665385d5b26168f2a6e11174e5765f7b32c9aa68a23f86fa8b