# mengram

> Human-like memory for AI agents — semantic, episodic & procedural. Experience-driven procedures that learn from failures. Free API, Python & JS SDKs, LangChain, CrewAI & OpenClaw integrations.

- **URL**: https://www.freshcrate.ai/projects/mengram
- **Author**: alibaizhanov
- **Category**: MCP Servers
- **Latest version**: `v2.25.3` (2026-05-14)
- **License**: Apache-2.0
- **Source**: https://github.com/alibaizhanov/mengram
- **Homepage**: https://mengram.io
- **Language**: Python
- **GitHub**: 156 stars, 18 forks
- **Registry**: github
- **Tags**: `ai-agents`, `ai-memory`, `cognitive-profile`, `crewai`, `episodic-memory`, `langchain`, `llm`, `mcp-server`, `python`

## Description

Human-like memory for AI agents — semantic, episodic & procedural. Experience-driven procedures that learn from failures. Free API, Python & JS SDKs, LangChain, CrewAI & OpenClaw integrations.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v2.25.3` | 2026-05-14 | High | ## Highlights  ### Agent-native install paradigm Paste a single prompt into your coding agent (Claude Desktop, Cursor, Claude Code, Codex, Windsurf, Claude.ai web) — the agent fetches a plain-text install guide written for LLMs, installs Mengram, configures the MCP server in the host, and runs an end-to-end verification round-trip.  The full guide: https://mengram.io/agent-install.txt  ``` Install Mengram for me. Fetch the canonical install guide at https://mengram.io/agent-install.txt and follo |
| `v2.23.0` | 2026-04-07 | High | ## Self-Hosting Improvements  - **Signup without email verification** — set `DISABLE_EMAIL_VERIFICATION=true` in Docker Compose to get API keys immediately, no Resend dependency needed - **`BASE_URL` env var** — configures all OAuth redirects, email links, and dashboard URLs for your domain (default: `https://mengram.io`) - **`/health` endpoint alias** — works alongside `/v1/health` for standard health check conventions - **Clipboard fallback** — copy buttons now work on non-HTTPS contexts (Dock |
| `v2.22.0` | 2026-04-05 | Medium | ## What's New  ### Quota Usage Headers Every API response now includes `X-Quota-*` headers so SDKs can show usage proactively: ``` X-Quota-Add-Used: 47 X-Quota-Add-Limit: 1000 X-Quota-Search-Used: 312 X-Quota-Search-Limit: 10000 ``` Both Python and JS SDKs expose a `.quota` property: ```python m.search("test") print(m.quota)  # {"add": {"used": 5, "limit": 30}, "search": {"used": 12, "limit": 100}} ```  ### Intelligence Dashboard - Value Mirror — shows accumulated intelligence data on quota bann |
| `v2.21.2` | 2026-04-05 | Medium | ## What's Changed  - **LangChain integration updated to v0.3.0** — Pydantic v2 support, `BaseChatMessageHistory` compatibility - **Fix save hook activation** for new users (#15) - Sync version strings across all packages, fix OpenClaw episodic field |
| `v2.21.0` | 2026-04-05 | Medium | ## What's New  ### Agent Mode - `agent_mode` parameter for `/v1/add` — extract memories from all speakers (user + assistant). Auto-enabled when `agent_id` is present.  ### Provenance Tracking - `source` and `metadata` parameters on all memory types — track where memories came from (Slack, email, etc.).  ### CrewAI Integration - `MengramMemory` drop-in backend for CrewAI agents.  ### Recall Quality Overhaul - 8 search pipeline improvements: stricter relevance floor, dedup, auto-reclassify - Free- |
| `v2.20.0` | 2026-03-20 | Low | ## What's New  ### Features - **`add_file()` endpoint** — upload PDFs, images, text files. GPT vision extracts content automatically - **Graph-first dashboard** — redesigned with knowledge graph front and center, 4-group nav, Quick Add bar - **Interactive API playground** on landing page - **Onboarding checklist** — guided 3-step flow for new users in dashboard - **Claude Code `mengram setup`** — interactive CLI signup + auto-configure hooks - **Engagement drip emails** + direct checkout from 40 |

## Citation

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

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