mengram
by alibaizhanov·★ 167·Score 48
Mengram is a human-like memory system for AI agents with semantic, episodic & procedural memory that learns from failures.
Overview
Mengram provides a comprehensive memory solution for AI agents through three types of memory: semantic (facts, preferences), episodic (events, decisions), and procedural (evolving workflows). It offers free API access with Python and JavaScript SDKs, integrations with popular frameworks like LangChain, CrewAI, and MCP support. The system features unique capabilities such as automatic procedure evolution from failures, cognitive profile generation, and native multilingual support across 23 languages.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose Mengram for AI agents that need persistent, evolving memory systems capable of learning from failures, especially when working with multi-language contexts or procedural knowledge.
When NOT to choose this
Avoid Mengram if you need a fully self-hosted solution, as it requires cloud API access, or if you only need simple fact storage without procedural memory capabilities.
Tools this server exposes
11 tools extracted from the READMEsearchSearch across all memory types for relevant facts
search_allSearch across all 3 memory types (semantic, episodic, procedural)
episodesRetrieve episodic memories (events, decisions, outcomes)
proceduresRetrieve procedural memories (workflows that evolve from failures)
addAdd conversation data to automatically extract facts, events, and workflows
askGet a synthesized answer with citations from all memories
procedure_feedbackReport procedure failures to automatically evolve workflows
get_profileGenerate a system prompt from all memories
add_fileUpload files to automatically extract memories
job_statusCheck the status of an async file processing job
create_webhookCreate webhooks to be notified when memories change
Note: Tool names were extracted from the README documentation of the MCP server. The README mentions '29 tools for memory management' but only explicitly documents 10 core tools in the examples. These appear to be the most useful and well-documen
Comparable tools
Installation
Install Mengram MCP server using npm or pip:
npm install mengram-ai
# or
pip install mengram-aiConfigure Claude Desktop by adding this to your config.json:
{
"mcpServers": {
"mengram": {
"command": "mengram",
"args": ["server", "--cloud"],
"env": { "MENGRAM_API_KEY": "om-..." }
}
}
}Get your free API key at https://mengram.io/#signup
FAQ
- What makes Mengram different from other memory systems?
- Mengram uniquely combines three types of memory and automatically evolves procedures when they fail, plus it supports native multilingual capabilities and cognitive profile generation.
- How do I set up MCP integration?
- Install the package and configure your MCP client to run 'mengram server --cloud' with your API key. This provides 29 memory management tools through MCP.
On Hacker News
Recent discussion from the developer community.
- Story by mengram-ai · 2026-02-25
Compare mengram with
Last updated · Auto-generated from public README + GitHub signals.