smruti (स्मृति)
Biologically Inspired, Dual-Valence Cognitive Memory for Autonomous AI Agents
smruti equips autonomous coding and reasoning agents with an active, biological memory architecture:
- Tier 1 (Episodic Working Stream): Sub-millisecond, append-only SQLite WAL stream. Zero LLM latency while acting.
- Tier 2 (The "Sleep" Consolidation Engine): Periodic background distillation that strips 90% verbatim token noise into schemas and rules.
- Tier 3 (Dual-Valence Cortical Mesh):
- Positive Heuristics (Tier 3A): Verified solution paths with biological Ebbinghaus decay and Hebbian reinforcement.
- Inhibitory Anti-Memories (Tier 3B): Active preflight interception gate that prevents agents from repeating known fatal mistakes and compiler errors.
Quickstart
Installation
pip install -e .
CLI Inspection
smruti init # Initialize .smruti/ database in your project
smruti status # View positive rules, anti-memories, and decay health
smruti sleep # Run offline consolidation over recent episodes
smruti audit # Inspect chronological agent trajectories
MCP (Model Context Protocol) Server for Cursor / Claude Code / Antigravity
Add to your MCP configuration (mcpServers):
{
"smruti": {
"command": "smruti",
"args": ["mcp"]
}
}
Metadata
Release files for smruti 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smruti-0.1.0.tar.gz | 29.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smruti-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.2 kB
Release files / smruti-0.1.0.tar.gz
| Download URL | smruti-0.1.0.tar.gz |
|---|---|
| Size | 29.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74fdceb557b761de767984b1ac810e6a077361f851c1bfdeeca45655d19087b2
|
|
BLAKE2b-256 checksum How to use checksums |
1fea77c724c643d724882bf9a757015f0c9bbe645ff2d5149c68e8929ab3ddeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / smruti-0.1.0-py3-none-any.whl
| Download URL | smruti-0.1.0-py3-none-any.whl |
|---|---|
| Size | 32.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ff1abb99e7d81c11f6e2abfc2900a870d5bd0b8f37836ab315f9541eaea5ba0
|
|
BLAKE2b-256 checksum How to use checksums |
2e59af1f7d3f5983fedacf5d5b63062627ec8f875822105d3e552d704d2ebeea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|