# shodh-memory

> Cognitive memory for AI agents — learns from use, forgets what's irrelevant, strengthens what matters. Single binary, fully offline.

- **URL**: https://www.freshcrate.ai/projects/shodh-memory
- **Author**: varun29ankuS
- **Category**: MCP Servers
- **Latest version**: `v0.2.0` (2026-04-09)
- **License**: Apache-2.0
- **Source**: https://github.com/varun29ankuS/shodh-memory
- **Homepage**: https://www.shodh-memory.com
- **Language**: Rust
- **GitHub**: 198 stars, 25 forks
- **Registry**: github
- **Tags**: `agentic-ai`, `ai-agents`, `ai-memory`, `boston-dynamics-spot`, `claude`, `cognitive-architecture`, `cognitive-memory`, `context-engineering`, `rust`, `vector-database`

## Description

Cognitive memory for AI agents — learns from use, forgets what's irrelevant, strengthens what matters. Single binary, fully offline.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v0.2.0` | 2026-04-09 | High | ## v0.2.0  ### Breaking Changes - **Serialization: bincode → postcard** — All write paths now use postcard. Read paths dual-decode (postcard-first, legacy fallback). Offline migration: `shodh-memory-server migrate --storage <path>`.  ### New Features - Entity salience reward loop — recall feedback propagates to graph (#217) - NER filter expansion — 6 new entity filtering rules (#215) - Curvature-weighted retrieval — graph-informed entity filtering (#214) - Causal lineage inference — automatic on |
| `v0.1.91` | 2026-03-19 | Medium | ## What's Changed * fix(security): remediate semgrep shell injection and command execution findings by @gourmetfire in https://github.com/varun29ankuS/shodh-memory/pull/111 * feat: unified shodh CLI (closes #12) by @varun29ankuS in https://github.com/varun29ankuS/shodh-memory/pull/113   **Full Changelog**: https://github.com/varun29ankuS/shodh-memory/compare/v0.1.90...v0.1.91 |
| `v0.1.90` | 2026-03-15 | Low | ## What's New  ### Remember Idempotency (SHA-256 Content Dedup) Identical memories are never stored twice. Every `remember()` call now computes a content hash — if the same content already exists, it returns the existing memory ID instead of creating a duplicate. This makes the entire ingestion pipeline safe for retry, batch processing, and multi-agent scenarios.  ### Security Hardening - API key validation with constant-time comparison - Request size limits and input sanitization across all end |
| `v0.1.80` | 2026-02-17 | Low | ## What's New in 0.1.80  ### OpenAI Agents SDK Integration - **ShodhTools**: 8 FunctionTool instances (remember, recall, forget, context_summary, proactive_context, add_todo, list_todos, complete_todo) for explicit memory operations - **ShodhSession**: Session protocol implementation with cognitive memory — semantic retrieval instead of sequential replay, Hebbian strengthening on access, automatic decay - Install: `pip install shodh-memory[openai-agents]`  ### Agent Orchestration - Hook-based or |
| `v0.1.75` | 2026-01-25 | Low | **Full Changelog**: https://github.com/varun29ankuS/shodh-memory/compare/v0.1.74...v0.1.75 |
| `v0.1.74` | 2026-01-24 | Low | **Full Changelog**: https://github.com/varun29ankuS/shodh-memory/compare/v0.1.73...v0.1.74 |
| `v0.1.73` | 2026-01-24 | Low | **Full Changelog**: https://github.com/varun29ankuS/shodh-memory/compare/v0.1.72...v0.1.73 |
| `v0.1.70` | 2026-01-23 | Low | ## What's Changed * feat(specs): Add unified Memory API specification (OpenAPI 3.1) by @doobidoo in https://github.com/varun29ankuS/shodh-memory/pull/3  ## New Contributors * @doobidoo made their first contribution in https://github.com/varun29ankuS/shodh-memory/pull/3  **Full Changelog**: https://github.com/varun29ankuS/shodh-memory/compare/v0.1.6...v0.1.70 |
| `v0.1.6` | 2025-12-19 | Low | **Full Changelog**: https://github.com/varun29ankuS/shodh-memory/compare/v0.1.51...v0.1.6 |
| `v0.1.51` | 2025-12-19 | Low | **Full Changelog**: https://github.com/varun29ankuS/shodh-memory/compare/v0.1.5...v0.1.51 |

## Citation

- HTML: https://www.freshcrate.ai/projects/shodh-memory
- Markdown: https://www.freshcrate.ai/projects/shodh-memory.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/shodh-memory/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
